| New Users |
Department Contacts |
CLASnet Users |
About CLASnet |
CLASnet Home |
Solaris systems ship with a set of certain default choices that do not work well in UF's networking environment. This page attempts to document some of the more glaring problems, and how to secure them.
Note: This page does not cover all of the known security problems. Implementing the mentioned changes is not a replacement for hiring a competent systems security administrator/consultant.
Edit /etc/init.d/sendmail, remove the "-bd" flag,
and reboot. Other machines will no longer be able to send messages
to this machine. If this machine requires incoming email
support, you should upgrade
to a newer version of sendmail.
Add the following lines to /etc/system.
Then, reboot the system with the commandset noexec_user_stack=1set noexec_user_stack_log=1
reboot -- -r
NOTE: each space and hyphen matters
Comment the line out of /etc/inetd.conf and reboot.
If you must use the daemon, add
-S 2
switch to the admind line in
/etc/inetd.conf.
Remove the following packages, via pkgrm(1m) and reboot:
If the /var/sadm directory has been damaged, you
may be unable to remove these packages. Delete the
/etc/rc3.d/S76snmpdx startup file and reboot.
Comment out the following services from /etc/inetd.conf
and reboot.
As an alternative, install and use SSH to provide equivalent
functionality. In this case, you may wish to disable the
telnet service as well.
Apply the current security patch set
for Solaris, or disable it if you aren't using NFS. Look
at /etc/init.d/nfs.client for more information.
rpc.ttdbserverd allows "drag &
drop" operations under CDE. Unfortunately, many versions will
allow remote file creation and/or program execution.
Comment out the rpc.ttdbserverd from
/etc/inetd.conf and reboot. If you require its
functionality, make sure you stay current with the Solaris
security patches.
Add a /var/yp/securenets file to restrict what hosts
may contact your NIS daemons. Take a look at the securenets(4)
man page for more information.
Use the ro, rw, root flags to limit access to known
secure hosts. It is recommended to never use the
root or anon=0 options unless you are a
full-time Unix administrator who fully understands both NFS and
NIS.
Comment bootparamd out of /etc/inetd.conf unless you're
actively supporting a network of Sun net-booting workstations.
No fix is available from Sun. We recommend adding a port filter on your switch or router to protect your machines from remote networks. You will need to filter these ports:
Please remember that this is not a complete list. We welcome your submissions of problems and solutions.