Installation guide

equivalent to dxaccounts. Refer to the adduser(8) reference page for
more information. adduser enables you to script repetitive account
management tasks and to create a number of new accounts
simultaneously.
Using the dxaccounts graphical user interface. Refer to the online
help for information on using this interface.
While adduser and dxaccountsare the preferred tools for adding a
user account, you can also do it manually by editing system files. This
task is documented in the following section.
_______________________ Note _______________________
There are limits on length of command lines that may affect
commands such as useradd. The /usr/include/limits.h file
limits LINE_MAX to 2048 characters. You must split command
line entries into into multiple lines limited to 255 characters, or
incorrect data may be added to the /etc/passwd file.
9.2.1 Adding a User Account Manually
To add a user account manually:
1. Add an entry for the user to the passwd file by using the vipw
command.
2. Add an entry for the user account to the group file.
3. Supply the default shell scripts for the user’s working environment.
4. Assign a password to protect the user account.
5. Verify the accuracy of the group and passwd files.
The following sections describe these tasks in detail.
9.2.1.1 Adding a User Account to the passwd File
_______________________ Note _______________________
You cannot use the vipw utility to edit the protected password
database on systems running with enhanced security. For these
systems, you should use the adduser utility, the useradd
command, or the Account Manager graphical interface to edit
the passwd file.
Administering User Accounts and Groups 9–9