Annotated edit history of
newusers(8) version 1, including all changes.
View license author blame.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
NEWUSERS |
|
|
2 |
!!!NEWUSERS |
|
|
3 |
NAME |
|
|
4 |
SYNOPSIS |
|
|
5 |
DESCRIPTION |
|
|
6 |
CAVEATS |
|
|
7 |
SEE ALSO |
|
|
8 |
AUTHOR |
|
|
9 |
---- |
|
|
10 |
!!NAME |
|
|
11 |
|
|
|
12 |
|
|
|
13 |
__newusers__ - update and create new users in batch |
|
|
14 |
!!SYNOPSIS |
|
|
15 |
|
|
|
16 |
|
|
|
17 |
__newusers__ [[ ''new_users'' ] |
|
|
18 |
!!DESCRIPTION |
|
|
19 |
|
|
|
20 |
|
|
|
21 |
__newusers__ reads a file of user name and cleartext |
|
|
22 |
password pairs and uses this information to update a group |
|
|
23 |
of existing users or to create new users. Each line is in |
|
|
24 |
the same format as the standard password file (see |
|
|
25 |
passwd(5)) with the following |
|
|
26 |
exceptions. |
|
|
27 |
|
|
|
28 |
|
|
|
29 |
''pw_passwd'' |
|
|
30 |
|
|
|
31 |
|
|
|
32 |
This field will be encrypted and used as the new value of |
|
|
33 |
the encrpted password. |
|
|
34 |
|
|
|
35 |
|
|
|
36 |
''pw_age'' |
|
|
37 |
|
|
|
38 |
|
|
|
39 |
This field will be ignored for shadow passwords if the user |
|
|
40 |
already exists. |
|
|
41 |
|
|
|
42 |
|
|
|
43 |
''pw_gid'' |
|
|
44 |
|
|
|
45 |
|
|
|
46 |
This field may be the name of an existing group, in which |
|
|
47 |
case the named user will be added as a member. If a |
|
|
48 |
non-existent numerical group is given, a new group will be |
|
|
49 |
created having this number. |
|
|
50 |
|
|
|
51 |
|
|
|
52 |
''pw_dir'' |
|
|
53 |
|
|
|
54 |
|
|
|
55 |
This field will be checked for existence as a directory and |
|
|
56 |
a new directory with the same name will be created if it |
|
|
57 |
does not already exist. The ownership of the directory will |
|
|
58 |
be set to be that of the user being created or |
|
|
59 |
updated. |
|
|
60 |
|
|
|
61 |
|
|
|
62 |
This command is intended to be used in a large system |
|
|
63 |
environment where many accounts are updated at a single |
|
|
64 |
time. |
|
|
65 |
!!CAVEATS |
|
|
66 |
|
|
|
67 |
|
|
|
68 |
The input file must be protected since it contains |
|
|
69 |
unencrypted passwords. |
|
|
70 |
!!SEE ALSO |
|
|
71 |
|
|
|
72 |
|
|
|
73 |
passwd(1), useradd(8) |
|
|
74 |
!!AUTHOR |
|
|
75 |
|
|
|
76 |
|
|
|
77 |
Julianne Frances Haugh (jfh@austin.ibm.com) |
|
|
78 |
---- |
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.