1827857 Members
1503 Online
109969 Solutions
New Discussion

Root user

 
SOLVED
Go to solution
John Schultz_3
Advisor

Root user

How do I disable the ROOT account from a remote shell (SSH) login? in another words: I need to make it so no one can login as root but I need to be able to SU to root....

Thanx in advance for any advise :)....
3 REPLIES 3
Stuart Browne
Honored Contributor
Solution

Re: Root user

Modify /etc/ssh/sshd_config, and change 'PermitRootLogin' to be 'no'.
One long-haired git at your service...
John Schultz_3
Advisor

Re: Root user

dOOd,... You rock, Thank you for your assistance, you get a '10' :-)
Liran Cohen
New Member

Re: Root user

If you'r already there , I'd recommend , disabling protocol 1 (to many bugs) , and enabling public key authentication , disable X forwarding , and enable sftp (for secure file trnsfers - helps a lot).

:)

Cheers
TheOg
TheOg