adduser(1M) adduser(1M)
NAME
adduser - add a new user login to the system
SYNOPSIS
/sbin/adduser login fullname userid homedirectory [privileges]
DESCRIPTION
The adduser command adds a user to the system, by creating an entry
for the user in the /etc/passwd and /etc/shadow files, setting up the
user's home directory, creating a default .profile file (if applica-
ble), and setting up an initial password for the user.
The values of login, fullname, userid and homedirectory are all
entered into the /etc/passwd file. login is the user's login name
which must be unique to the system, contain a maximum of eight charac-
ters, and consist of numbers and lowercase letters. fullname is the
user's full name which can be a maximum of 25 characters long, and can
consist of letters, numbers and periods. userid is the user's unique
ID number which must be within the range of 100 to 50000.
homedirectory is the user's home directory. homedirectory must be
unique to the system, contain 14 characters or less, and consist of
letters, numbers, and periods. The adduser command also sets a default
group ID of 1 for the user in the /etc/passwd file. The password
information is entered in /etc/shadow.
If the value of the variable privileges is Yes, the user will be given
system administration privileges. If this option is not used, or any
value other than Yes is given, no privileges will be assigned.
NOTES
Recommend using useradd(1M) instead of adduser.
FILES
/etc/passwd
/etc/shadow
/etc/.useradm
/etc/stdprofile
SEE ALSO
deluser(1M), passmgmt(1M), useradd(1M).
Page 1 Reliant UNIX 5.44 Printed 11/98