I used to think that my systems were fairly secure...but after reading some
of the threads in here about people getting hacked, I am beginning to get a
bit paranoid/worried.
I run an IPP, and my systems must be directly connected to the Internet.
There is no real concept of stuff that could be hidden behind a firewall, so
I am on the front lines.
I use Slackware Linux, with a recent kernel. Here are some of the steps I
have taken to secure things. I would appreciate more
pointers/tips/suggestions/etc.
1. Disabled all unnecessary services in inetd.conf, including finger,
netstat, etc, etc.
2. Shut down mountd, nfsd, and other unnecessary daemons and prevented them
from starting up on bootup.
3. Downloaded and installed the latest version of sendmail. Implemented
some of the anti-spam features in 8.9.1.
4. Removed serial and remote terminals from being considered secure
terminals in /etc/securetty. Thus, root can only login from the 'login:'
prompt at the console, which is behind locked doors.
5. Limited su's to root to group root (same concept as wheel). The only two
members of group root are myself and the second admin. Thus, only two
accounts can su to root.
6. Implemented strong passwords for root, and the two admin accounts and
change them on a regular basis.
7. Require CGI scripts to be run using CGIwrap, which runs the script as the
UID of the user, not 'nobody'.
8. Altered syslog.conf so that certain log messages go to non-world readable
log files (to prevent joeuser from reading 'messages' and seeing that some
dumbass tried to login with his password instead of his username, and it
I can't remember some other steps I have taken, but am I missing anything
significant?? One thing I wanted to do, but couldn't find much
documentation on, was implementing some security for BIND 8.1, to prevent
unauthorized zone transfers and things like that. Any pointers?
Also, how secure is it to post info on this newsgroup? If I was a hacker I
think I would read this group to find out who is secure and not secure....
Thanks
Jay Ribak