1lnewusers(1)                General Commands Manual               lnewusers(1)
2
3
4

NAME

6       lnewusers - Create new user accounts
7
8

SYNOPSIS

10       lnewusers [OPTION]...
11
12

DESCRIPTION

14       Creates new user accounts using data read from standard input.
15
16       The  input  data  consits  of  lines,  each  line has 7 colon-separated
17       fields:
18
19
20       User Name
21
22
23       Plaintext Password
24
25
26       User ID
27              lnewusers refuses to create users with user ID 0 (the root  user
28              ID).
29
30
31       Group  If  this field is a valid group ID, it is interpreted as a group
32              ID, otherwise as a group name.  If the field is empty,  a  group
33              name equal to user name is used.
34
35              If  the specified group does not exist, it is automatically cre‐
36              ated.  If the group is specified with a group  ID,  the  created
37              group has group name equal to the user name.
38
39
40       GECOS  The  GECOS field is traditionally used to store user's real name
41              and other information.
42
43
44       Home   If this field is empty, a default specified by libuser  configu‐
45              ration,  or  /home/username  if  libuser  configuration does not
46              specify a default, is used.
47
48
49       Login  If this field is empty, a default specified by libuser  configu‐
50              ration is used.
51
52
53       Errors  in user specifications are reported and processing continues on
54       the next line.
55
56

OPTIONS

58       -f, --file=file
59              Read account data from file instead of standard input.
60
61
62       -i, --interactive
63              Ask all questions when connecting to the user database, even  if
64              default answers are set up in libuser configuration.
65
66
67       -M, --nocreatehome
68              Don't create home directories.
69
70
71       -n, --nocreatemail
72              Don't create mail spool files.
73
74

EXIT STATUS

76       The  exit  status  is  0 on success, nonzero on fatal error.  Errors in
77       user specifications are not reflected in the exit status.
78
79
80
81libuser                           Jan 12 2005                     lnewusers(1)
Impressum