11 July, 2011

Linux: Login with non-root user using ssh

Hi!
The other day, I was working with a Linux server in which I was unable to login, using ssh, as any non-root user.
I'm not sure that this is the more correct way to do it but, for temporary workaround, I have edited the /etc/ssh/sshd_config file and changed the following property:

    usePAM no

And after restarting the ssh service, using the command service sshd restart, I was able to login in the server as a non-root user.
If anyone have another solution for this problem, please share it!!!

Thanks.

Regards,

No comments: