Reply To: Logging in to zeroshell’s ssh as a user (not admin)

Home Page Forums Network Management ZeroShell Logging in to zeroshell’s ssh as a user (not admin) Reply To: Logging in to zeroshell’s ssh as a user (not admin)

#48048

bdsnyder
Member

@bender02 wrote:

– WARNING: these changes are not persistent, so after rebooting the zeroshell, you need to do them again (I haven’t looked into this, so I don’t know now how to make them persistent).

In my post boot script I added:

echo “backup:x:50003:100::/backup:” >> /etc/passwd
echo “AllowUsers admin backup” >> /etc/ssh/sshd_config
/etc/init.d/sshd stop
/etc/init.d/sshd start