|
|
Line 43: |
Line 43: |
|
| |
|
| The specific procedures for each of the UNIX variants are described below. | | The specific procedures for each of the UNIX variants are described below. |
|
| |
| '''HP-UX'''
| |
| # Log in as the "root" user.
| |
| # Edit the system file <code>/etc/passwd</code> and remove all the users except "root" and the pseudo-users. Make sure the password fields for the pseudo-users are a star (*). This prevents login as the pseudo-users.
| |
| # Edit the system file <code>/etc/nsswitch.conf</code>. Make sure that <code>files</code> is the only option for <code>passwd</code> and <code>group</code>. This disables NIS and other name services for users and groups.
| |
| # Edit the system file <code>/etc/inetd.conf</code>. Remove or comment out the lines for remote login, remote command execution, and file transfer daemons such as <code>telnetd</code>, <code>rlogind</code>, <code>remshd</code>, <code>rexecd</code>, <code>ftpd</code>, and <code>tftpd</code>.
| |
| # Reboot the system for the changes to take effect.
| |
|
| |
|
| '''Red Hat Enterprise Linux''' | | '''Red Hat Enterprise Linux''' |