Posted by socialtalker on June 20, 2012 at 7:38am
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
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