HP-UX Internet Services Administrator's Guide (May 2010)

must be owned and executable by root only. The file fingerd must be owned and
executed by bin only. No other user should have permission to write them, although
all users can read them.
Table 5-5 lists the entries that are required in the /etc/services file.
Table 5-5 Entries Required in /etc/services
/etc/services Entry
Service Requested
ftp 21/tcpftp
telnet 23/tcptelnet
smtp 25/tcpsendmail/SMTP
exec 512/tcprexec library
login 513/tcprlogin
shell 514/tcpremsh and rcp
who 513/tcprwho and ruptime
tftp 69/udptftp
bootps 67/udp and bootpc 68/udpbootpd
finger 79/tcpfingerd
If the file entries or permissions are not correct, continue with 1E.
1D1.
Issue the ps command to check for the Internet daemon. To see if the inetd
daemon is active on the server node, log on to the server node and execute the
following:
ps -ef grep inetd
1D2.
The ps command lists only the grep process for inetd? If the grep message
is the only response, inetd is not active. If this is true, continue with 1D3.
1D3.
Start the Internet daemon. To start inetd, execute the following as superuser:
/usr/sbin/inetd
Alternatively, if you want to start connection logging, run the following
command:
/usr/sbin/inetd -l
The /sbin/init.d/inetd shell script usually starts inetd at boot time.
1D4.
Go to 1B. After inetd is running, repeat this flowchart beginning with 1B.
1E. Correct the files. If there was an incorrect entry or no entry in the
/etc/inetd.conf or /etc/services files, enter the correct information
and continue with 1D1.
Troubleshooting Tips 83