Help with SSH after changing from root to admin user

I completed a clean install of SCALE, have added a new “admin” user, but now when I try to access “ssh” I cannot seem to get it to work properly. When I enter commands like “zpool” or “zfs” I get an error type message that says:

apwu% zsf list -r -t filesystem AWPU_Storage
zsh: command not found: zsf
apwu%

same with “zpool” commands

I can change to enable “root” passwords and the “root” works fine.

Where did I muss up?

You aren’t prefixing the commands with sudo.

Also zsf should be zfs.

2 Likes

Despite the miss spelling on command, if you are facing issue on SSH login too, be sure to have checked SSH password login enabled in the new admin user

Yes, the SSH password login enabled box is checked. The Username, passwords are in. UID “952”, Auxiliary Groups “wheel” “builtin_administrator”, Home Directory “/var/empty”, Shell “zsh”, Allow all sudo commands checked, Samba Authentication checked.

So, again, you need to prefix the commands with sudo: sudo zpool status, sudo zfs list, etc.

Or like any sane admin would do: :wink:

sudo -s

and then work from a root shell as intended.

2 Likes

Not sure what you are using the system for but I would like to recommend you consider using a different approach to connecting rather than passwords on the admin account, recommend a read of the security recommendations doc:

2 Likes

I missed this reply, but it works well now, thanks.

I did download the file and printed it for future reference if needed. Thanks.