Home > Security Tips > Tech Tips > Part 9: Install OpenSSH, disable NFS and reboot
Security Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

TECH TIPS

Part 9: Install OpenSSH, disable NFS and reboot


Gary Smith
10.20.2002
Rating: --- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


Install OpenSSH as a Telnet Replacement
Telnet is a notoriously insecure protocol. Data, including passwords, are passed in cleartext. Replace telnet with OpenSSH. OpenSSH is an open source version of the SSH protocol. OpenSSH encrypts all traffic, including passwords, to effectively eliminate eavesdropping connection hijacking, and other network level attacks.

Disable cron and at Jobs Except for root
Make sure the entry CRONLOG=YES in /etc/default/cron.

Remove all files except root's from /var/spool/cron/crontabs.
Create at.deny and cron.deny in /etc/cron.d. Make the two files owned by root with permissions rw-r--r--. The contents of the file should include the userids that are not permitted to submit batch or run cron jobs. As a starting point set the files up to look like this:

daemon
bin
smtp
nuucp
listen
nobody
noaccess

Disable NFS File Sharing Services
Remove the file /etc/dfs/dfstab to disable NFS exports.
Make sure the file /etc/rc3.d/S15nfs.server has been removed to prevent the host from acting as an NFS server.
Make sure the file /etc/rc2.d/S73nfs.client has been removed to prevent the host from acting as an NFS client.

Reboot the System
Now it's time to reboot the configuration of the system. Reboot the system and observe the boot up process in particular, what processes startup. After the system is up, log in and do ps -ef. Check for extraneous processes. Also, check /var/adm/messages.

Click here for the rest of this 12-part tip.


Rate this Tip
To rate tips, you must be a member of SearchSecurity.com.
Register now to start rating these tips. Log in if you are already a member.




BROWSE BY TAG
Tech Tips,   VIEW ALL TAGS

Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
Tech Tips
Video: The foundation of an email security strategy
The 5 A's of functional SAN security
Effective storage security policies
Smart options for safeguarding stored data
Outfox SOX: How to make regulations work for you
Roberta Bragg's 10 Windows hardening tips in 10 minutes
Using free network intrusion detection and prevention tools to stop hacks
Hacker techniques and exploits: Prevent system fingerprinting, probing
How to stop hacker theft: Employee awareness, risk assessment policies
Information Security Decisions Fall 2004: Speaker presentations

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Research Solutions for Network Security, Access Control and Security Threats
TechTarget Security Media
Information Security View this month\\'s issue and subscribe today.
Information Security Decisions Apply online for free conference admission.
SearchSecurity.com
HomeNewsMagazineMultimediaWhite PapersLearningAdviceTopicsEventsAbout Us

About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2003 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts