1NEWUSERS(8) System Management Commands NEWUSERS(8)
2
3
4
6 newusers - update and create new users in batch
7
9 newusers [new_users]
10
12 newusers reads a file of user name and clear-text password pairs and
13 uses this information to update a group of existing users or to create
14 new users. Each line is in the same format as the standard password
15 file (see passwd(5)) with the following exceptions:
16
17 pw_passwd
18 This field will be encrypted and used as the new value of the
19 encrypted password.
20
21 pw_age
22 This field will be ignored for shadow passwords if the user already
23 exists.
24
25 pw_gid
26 This field may be the name of an existing group, in which case the
27 named user will be added as a member. If a non-existent numerical
28 group is given, a new group will be created having this number.
29
30 pw_dir
31 This field will be checked for existence as a directory and a new
32 directory with the same name will be created if it does not already
33 exist. The ownership of the directory will be set to be that of the
34 user being created or updated.
35
36 This command is intended to be used in a large system environment where
37 many accounts are updated at a single time.
38
39 Default encryption algorithm is DES, but this setting can be changed in
40 /etc/login.defs. Red Hat uses MD5 to encrypt passwords by default.
41
43 The input file must be protected since it contains unencrypted
44 passwords.
45
47 /etc/login.defs
48 Shadow password suite configuration.
49
51 login.defs(5), passwd(1), useradd(8).
52
53
54
55System Management Commands 07/30/2006 NEWUSERS(8)