Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: motor_2000 on December 26, 2005, 06:58:49 AM

Title: How to enable ssh user access?
Post by: motor_2000 on December 26, 2005, 06:58:49 AM
I just installed e-smith and after accessing it remotely I relised that I can login to ssh only with root account.  Can anyone tell how I can login with regular user account?  Thanks.
Title: How to enable ssh user access?
Post by: RonM on December 26, 2005, 10:11:27 PM
Hi motor_2000 -

By default, no user accounts are configured to allow a login to the server. If you wish for a user account to be able to login to the server remotely,
you must first login as the root user and then change the user account shell to be /bin/bash using the chsh command. Without this change, the user
account will not be able to login to the server using ssh.

Note that doing this is not recommended, for security reasons.

RonM
Title: How to enable ssh user access?
Post by: motor_2000 on December 27, 2005, 06:50:10 AM
Thanks RonM.

I always thought that allowing remote root access is not secure and one should use standard user account to connect to ssh, once connected use su for root privileges.