lnewusers - Create new user accounts
Creates new user accounts using data read from standard input.
The input data consits of lines, each line has 7 colon-separated
lnewusers refuses to create users with user ID 0 (the root user
Group If this field is a valid group ID, it is interpreted as a group
ID, otherwise as a group name. If the field is empty, a group
name equal to user name is used.
If the specified group does not exist, it is automatically cre-
ated. If the group is specified with a group ID, the created
group has group name equal to the user name.
GECOS The GECOS field is traditionally used to store user’s real name
and other information.
Home If this field is empty, a default specified by libuser configu-
ration, or /home/username if libuser configuration does not
specify a default, is used.
Login If this field is empty, a default specified by libuser configu-
ration is used.
Errors in user specifications are reported and processing continues on
the next line.
Read account data from file instead of standard input.
Ask all questions when connecting to the user database, even if
default answers are set up in libuser configuration.
Don’t create home directories.
Don’t create mail spool files.
The exit status is 0 on success, nonzero on fatal error. Errors in
user specifications are not reflected in the exit status.
libuser Jan 12 2005 lnewusers(1)
Man(1) output converted with