LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   How to disable remore ssh login access of "root" user. (http://www.linuxquestions.org/questions/linux-general-1/how-to-disable-remore-ssh-login-access-of-root-user-674735/)

ashishshukla 10-07-2008 01:37 AM

How to disable remore ssh login access of "root" user.
 
Hi friends,
Kindly help me regarding how to disable remore ssh login access of "root" user. i.e. the user has to login by a normal account and then do a su.
Thanks

billymayday 10-07-2008 01:43 AM

PermitRootLogin no

in sshd_config.

vibes 10-07-2008 03:40 AM

There is also the option allowusers which i perfer to use
example
allowusers test

This will only allow the user test to login via ssh :)

ashishshukla 10-07-2008 09:55 AM

Thanks a lot..


All times are GMT -5. The time now is 08:58 AM.