root login

Events happening in the community are now at Drupal community events on www.drupal.org.
socialtalker's picture

me again. I fell into the bad habit of using root to login. Well, nothing bad happened directly, but I am constantly getting notices to root@server.mydomain.com in my email of people trying to break in. well, I learned my lesson to not log in as root. However I would like to know is there a way to get rid of this "root" address and disabling "root" for login without messing up BOA? I know one method, but dont know about using it here.

Comments

You will need to modify your

jamiet's picture

You will need to modify your sshd_config file located at /etc/ssh/sshd_config.

You need to add the setting:

PermitRootLogin no

You may also want to specifiy the users who are allowed to login as an extra precaution as well that setting looks like this:

AllowUsers user1 user2 user3

HTH,

JamieT

BOA

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: