Web Hosting Talk







View Full Version : limiting access to root based on IP


hostgold
12-14-2001, 12:49 PM
Is it possible to only allow root access from certain ip addresses of my choice, I think might be the best way to avoid to hackers.

allan
12-14-2001, 01:54 PM
Yes, using PAM:

http://www.101com.com/solutions/security/article.asp?ArticleID=528

ebo
12-14-2001, 04:52 PM
Hope to god a piece of your equipment doesn't fail, and your IP gets changed. If your going to do that, Id recommend installe SUDO first. It allows SU commands that you specify from certain users.. Its nice, check it out.