version 1 showing authors affecting page license.
.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
UPDATE-PASSWD |
|
|
2 |
!!!UPDATE-PASSWD |
|
|
3 |
NAME |
|
|
4 |
SYNOPSIS |
|
|
5 |
DESCRIPTION |
|
|
6 |
OPTIONS |
|
|
7 |
BUGS |
|
|
8 |
AUTHOR |
|
|
9 |
---- |
|
|
10 |
!!NAME |
|
|
11 |
|
|
|
12 |
|
|
|
13 |
update-passwd - safely update /etc/passwd, /etc/shadow and /etc/group |
|
|
14 |
!!SYNOPSIS |
|
|
15 |
|
|
|
16 |
|
|
|
17 |
__update-passwd__ ''[[options]'' |
|
|
18 |
!!DESCRIPTION |
|
|
19 |
|
|
|
20 |
|
|
|
21 |
__update-passwd__ handles updates of /etc/passwd, |
|
|
22 |
/etc/shadow and /etc/group on running Debian systems. It |
|
|
23 |
compares the current files to master copies, distributed in |
|
|
24 |
the base-passwd package, and updates all entries in the |
|
|
25 |
global system range (that is, 0-99). |
|
|
26 |
!!OPTIONS |
|
|
27 |
|
|
|
28 |
|
|
|
29 |
__update-passwd__ follows the usual GNU command line |
|
|
30 |
syntax, with long options starting with two dashes |
|
|
31 |
(`-'). |
|
|
32 |
|
|
|
33 |
|
|
|
34 |
__-p__, __--passwd-master=FILE__ |
|
|
35 |
|
|
|
36 |
|
|
|
37 |
Use FILE as the master copy of the passwd database. The |
|
|
38 |
default value is |
|
|
39 |
''/usr/share/base-passwd/passwd.master''. |
|
|
40 |
|
|
|
41 |
|
|
|
42 |
__-g__, __--group-master=FILE__ |
|
|
43 |
|
|
|
44 |
|
|
|
45 |
Use FILE as the master copy of the group database. The |
|
|
46 |
default value is |
|
|
47 |
''/usr/share/base-passwd/group.master''. |
|
|
48 |
|
|
|
49 |
|
|
|
50 |
__-P__, __--passwd=FILE__ |
|
|
51 |
|
|
|
52 |
|
|
|
53 |
Use FILE as the the system passwd database. The default |
|
|
54 |
value is ''/etc/passwd''. |
|
|
55 |
|
|
|
56 |
|
|
|
57 |
__-S__, __--shadow=FILE__ |
|
|
58 |
|
|
|
59 |
|
|
|
60 |
Use FILE as the the system passwd database. The default |
|
|
61 |
value is ''/etc/shadow''. |
|
|
62 |
|
|
|
63 |
|
|
|
64 |
__-G__, __--group=FILE__ |
|
|
65 |
|
|
|
66 |
|
|
|
67 |
Use FILE as the the system group database. The default value |
|
|
68 |
is ''/etc/group''. |
|
|
69 |
|
|
|
70 |
|
|
|
71 |
__-s__, __--sanity-check__ |
|
|
72 |
|
|
|
73 |
|
|
|
74 |
Only perform sanity-checks but don't do |
|
|
75 |
anything. |
|
|
76 |
|
|
|
77 |
|
|
|
78 |
__-v__, __--verbose__ |
|
|
79 |
|
|
|
80 |
|
|
|
81 |
Give detailed information about we are doing. |
|
|
82 |
|
|
|
83 |
|
|
|
84 |
__-n__, __--dry-run__ |
|
|
85 |
|
|
|
86 |
|
|
|
87 |
Don't do anything but only show what we would |
|
|
88 |
do |
|
|
89 |
|
|
|
90 |
|
|
|
91 |
__-L__, __--no-locking__ |
|
|
92 |
|
|
|
93 |
|
|
|
94 |
Don't attempt to lock the account database. This should only |
|
|
95 |
be used for debugging purposes. __I repeat: do not do this |
|
|
96 |
unless you are really sure you need this!__ |
|
|
97 |
|
|
|
98 |
|
|
|
99 |
__-h__, __--help__ |
|
|
100 |
|
|
|
101 |
|
|
|
102 |
Show a summary of how to use |
|
|
103 |
__update-passwd__. |
|
|
104 |
|
|
|
105 |
|
|
|
106 |
__-V__, __--version__ |
|
|
107 |
|
|
|
108 |
|
|
|
109 |
Show the version number |
|
|
110 |
!!BUGS |
|
|
111 |
|
|
|
112 |
|
|
|
113 |
At this moment __update-passwd__ does not verify the |
|
|
114 |
shadow-file. It should check if the entries in the passwd |
|
|
115 |
are also in shadow and vica versa, and that passwords are |
|
|
116 |
not present in both files. |
|
|
117 |
!!AUTHOR |
|
|
118 |
|
|
|
119 |
|
|
|
120 |
Wichert Akkerman |
|
|
121 |
|
|
|
122 |
|
|
|
123 |
This program was written for the Debian project, and is |
|
|
124 |
Copyright 1999-2002 Wichert Akkerman. It is distributed |
|
|
125 |
under version 2 of the GNU General Public |
|
|
126 |
License. |
|
|
127 |
---- |