Managing Systems and Workgroups: A Guide for HP-UX System Administrators

Administering a System: Managing Disks and Files
Managing File Systems
Chapter 6 659
/usr/bin/ckconfig
For more information see the ckconfig (1) manpage.
Getting Information about FTP Users
To display the current number of users for each class and the limit for
each class of users as defined in the /etc/ftpd/ftpaccess file, enter:
/usr/bin/ftpcount
To display the current process information for each user logged into the
FTP server, enter:
/usr/bin/ftpwho
See the ftpcount (1) and ftpwho (1) manpages for more information
Creating an FTP Shutdown Message
The ftpshut command allows you to create a shutdown message file that
warns users before FTP shuts down. The FTP daemon checks this file at
intervals to determine the shutdown time. (You must be superuser to
execute ftpshut.)
After the shutdown has occurred, you must enter the ftprestart
command to remove all the shutdown message files from the real,
anonymous, and virtual user accounts. These message files are created
by the ftpshut utility.
For details on creating a FTP shutdown message, see the ftpshut (1) and
the ftprestart (1) manpages and also Chapter 2 of the Installing and
Administering Internet Services manual.
Logging FTP Session Information
You can specify FTP session logging using the log commands keyword in
the /etc/ftpd/ftpaccess file.
log commands Enables/disables logging of an FTP session to syslog,
including commands, logins, login failures, and
anonymous FTP activity. (This entry overrides the -L
option specified for the ftp entry in /etc/inetd.conf.)