[Pkg-shadow-devel] Bug#304757: passwd: [INTL:de] New German Manpage Translation

Nicolas François nicolas.francois@centraliens.net
Fri, 15 Apr 2005 14:48:33 +0200


--VS++wcV0S1rZb1Fb
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hello Tomasz,

I've made a diff between the debian's passwd.1 and yours.
After removing formatting differences (lines rewrapping, some hyphen to
minus conversions, ...), here is the diff (attached).

NOTE: The diff is not for being applied. It is just in order to check if
you can use this german translation as the translation of your man page.

The diff is quite small, so you can probably include it as the German
translation of your passwd.1 page.
The diff in the FILES and EXIT VALUES sections are not important IMO
(maybe we can also ask for a translation of these sections).

I'm not at ease with the first part of the diff.
I've not checked if it is due to one of the manpages being outdated,
of in there is really a difference in the code.


BTW, in your passwd.1, there is a small typo:
the '-' in \s-2UNIX\s+2 should not be replaced by '\-' (\s-2 means that
UNIX should be written in a smaller font; this does nothing on a terminal,
but can be useful for PS or HTML man pages).

-- 
Nekral

--VS++wcV0S1rZb1Fb
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=pass_diff

--- /tmp/pass_deb	2005-04-15 13:50:12.000000000 +0200
+++ /tmp/pass_up	2005-04-15 13:50:00.000000000 +0200
@@ -131,62 +127,56 @@
 back to its previous value.
 .PP
-The account status may be viewed with the \fB-S\fR option.
-The status information consists of 7 fields.
-The first field is the user's login name.
-The second field indicates if the user account is locked (L), has no
+The account status may be given with the \fB\-S\fR option.
+The status information consists of 6 parts.
+The first part indicates if the user account is locked (L), has no
 password (NP), or has a usable password (P).
-The third field gives the date of the last password change.
-The next four fields are the minimum age, maximum age, warning period,
+The second part gives the date of the last password change.
+The next four parts are the minimum age, maximum age, warning period,
 and inactivity period for the password.
-These ages are expressed in days.
-See
-.B Password expiry information
-above for a discussion
-of these fields.
 .SS Hints for user passwords
 The security of a password depends upon the strength of the
 encryption algorithm and the size of the key space.
@@ -193,15 +187,28 @@
 Users may not be able to change their password on a system if NIS
 is enabled and they are not logged into the NIS server.
 .SH FILES
-.TP
-.I /etc/passwd 
-User account information
-.TP
-.I /etc/shadow 
-Encrypted user passwords
+\fI/etc/passwd\fR	\- user account information
+.br
+\fI/etc/shadow\fR	\- secure user account information
+.SH EXIT VALUES
+.TP 2
+The \fBpasswd\fR command exits with the following values:
+\fB0\fR	\- success
+.br
+\fB1\fR	\- permission denied
+.br
+\fB2\fR	\- invalid combination of options
+.br
+\fB3\fR	\- unexpected failure, nothing done
+.br
+\fB4\fR	\- unexpected failure, passwd file missing
+.br
+\fB5\fR	\- passwd file busy, try again later
+.br
+\fB6\fR	\- invalid argument to option
 .SH "SEE ALSO"
 .BR group (5),
-.BR passwd (5)
+.BR passwd (5),
 .BR shadow (5)
 .SH AUTHOR
 Julianne Frances Haugh <jockgrrl@ix.netcom.com>

--VS++wcV0S1rZb1Fb--