This chapter contains procedures for managing users and groups. Also included in this chapter is information on setting up the environment for authenticating a user (see Setting Up the Disk Quota System). See Disk Quota System Overview section in the AIX 5L Version 5.1 System Management Concepts: Operating System and Devices for an overview on this topic.
Perform the following tasks to manage users and groups. You must
have root authority to perform many of these tasks.
Notes:
- The shell you specify must be defined in the usw stanza of the /etc/security/login.cfg file.
- You must remove information in other subsystems before removing a user, because the cron and at utilities both allow users to request programs to be run at a future date. Use the crontab command to remove a user's cron jobs. You can examine a user's at jobs with the atq command, then remove the jobs with the atrm command.
- In general, this procedure is not suggested for systems using NIS. This procedure does not work at all for NIS clients and it works on NIS master servers only for users logging into the master server.
- This procedure removes a group and all of its attributes from your network, but it does not remove all of the users in the group from the system. Also, if the group you want to remove is the primary group for any user, you must reassign that user to another primary group before removing the user's original primary group.