Thread
:
user password
View Single Post
Milhouse
2008-01-21 , 17:44
Posts: 3,401 | Thanked: 1,255 times | Joined on Nov 2005 @ London, UK
#
6
Originally Posted by
LinuxStation
I do not plan to add a password to the user account. Why prevent root login with a password?
There is no password on the user account, meaning it has no valid password. You would actually be decreasing security by adding a password for user.
As has been suggested, change the root password and optionally disable the root login entirely so that root is no longer available for remote login - in theory someone could enter the password using a brute force attack, although it's very unlikely.
Only use ssh public/private keys (ie. non-password authentication) to login to user and then sudo to root when required.
Quote & Reply
|
The Following User Says Thank You to Milhouse For This Useful Post:
Milhouse
View Public Profile
Send a private message to Milhouse
Find all posts by Milhouse