File: update-passwd.8

package info (click to toggle)
base-passwd 3.1.10
  • links: PTS
  • area: main
  • in suites: potato
  • size: 200 kB
  • ctags: 115
  • sloc: ansic: 1,149; sh: 232; makefile: 76
file content (63 lines) | stat: -rw-r--r-- 2,272 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
.TH UPDATE\-PASSWD 8 "September 6" "Debian Project" "Debian GNU/Linux manual"
.\" NAME should be all caps, SECTION should be 1-8, maybe w/ subsection
.\" other parms are allowed: see man(7), man(1)
.SH NAME
update-passwd \- safely update /etc/passwd and /etc/group databases
.SH SYNOPSIS
.B update-passwd
.I "[options] ..."
.SH "DESCRIPTION"
.B update\-passwd
handles updates of /etc/passwd and /etc/group on running Debian systems.
It compares the current /etc/passwd and group files to master copies,
usually distributed in updates of the base\-passwd package, and updates
all entries in the global system range (that is, 0\-99).
.SH OPTIONS
.B update\-passwd
follows the usual GNU command line syntax, with long
options starting with two dashes (`-').
.TP
.B \-g, \-\-group-master=FILE
Use FILE as the master group database, instead of the default.  Really
only useful for debugging purposes.
.TP
.B \-p, \-\-passwd-master=FILE
Use FILE as the master password database, instead of the default.  Also
for debugging.
.TP
.B \-q, \-\-quiet
Don't display any messages about changes being made.  Note that this will
not supress error messages, however.
.TP
.B \-s, \-\-sanity\-check
Perform a quick test on the system's group and paswd files before changing
anything.
.B update\-passwd
expects the global system entries to be at the beginning of each database,
in numerical order.  If this isn't the case, the sanity check will report
an error and no changes will be made.  \-\-sanity\-check should
.B always
be used when invoked in scripts on unfamiliar systems. 
.TP
.B \-\-help
Show summary of options.
.TP
.B \-\-version
Show version of program.
.SH FILES
Unless otherwise specified, the password and group master files are
/usr/share/base-passwd/passwd.master and /usr/share/base-passwd/group.master,
respectively.
.SH BUGS
.B update\-passwd
is not very smart yet.  It only updates the databases, it makes no attempt
to assure system consistency.  If a uid/gid you're using on your system is
eliminated or changed, it could cause trouble.  
.SH AUTHOR
Galen Hazelwood <galenh@micron.net>
.PP
This program was written
for the Debian Linux distribution, and is Copyright (C) 1997
Software in the Public Interest.  It is distributed under the GNU
General Public License.