Bug#300268: /usr/share/man/man5/passwd.5.gz contains inaccurate information

2005-03-18 Thread Mike Brodbelt
Package: passwd
Version: 1:4.0.3-31sarge1
Severity: minor


man 5 passwd produces documentation that is not entirely accurate. The
second paragraph contains the following text:-

The encryped password consists of 13 characters
from  the  64  character  alphabet a thru z, A thru Z, 0 thru 9,
. and /.  Refer to crypt(3) for details on how this string is
interpreted.

This information is clearly incorrect when the system is set to use MD5
passwords, which is increasingly the case. There's also a typo in
encrypted.

Mike.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.11.4
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)

Versions of packages passwd depends on:
ii  libc6   2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  libpam-modules  0.76-22  Pluggable Authentication Modules f
ii  libpam0g0.76-22  Pluggable Authentication Modules l
ii  login   1:4.0.3-31sarge1 system login tools

-- debconf information excluded


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#300268: [Pkg-shadow-devel] Bug#300268: /usr/share/man/man5/passwd.5.gz contains inaccurate information

2005-03-18 Thread Tomasz Koczko
On Fri, 18 Mar 2005, Mike Brodbelt wrote:

 Package: passwd
 Version: 1:4.0.3-31sarge1
 Severity: minor
 
 
 man 5 passwd produces documentation that is not entirely accurate. The
 second paragraph contains the following text:-
 
 The encryped password consists of 13 characters
 from  the  64  character  alphabet a thru z, A thru Z, 0 thru 9,
 . and /.  Refer to crypt(3) for details on how this string is
 interpreted.
 
 This information is clearly incorrect when the system is set to use MD5
 passwords, which is increasingly the case. There's also a typo in
 encrypted.

Thanks for report.
English isn't my native language so it will be good if someone will verify
below patch before I'll commit this to shadow CVS tree.

Any volunteers on update non-english passwd(5) ? (pl is mine :o)

$ ls -1 */passwd.5
cs/passwd.5
fr/passwd.5
it/passwd.5
ja/passwd.5
ko/passwd.5
pl/passwd.5
ru/passwd.5

--- passwd.511 Dec 2004 20:05:01 -  1.13
+++ passwd.518 Mar 2005 20:25:48 -
@@ -48,9 +48,13 @@
 .PP
 The password field may not be filled if shadow passwords have been enabled.
 If shadow passwords are being used, the encrypted password will be found in
-\fI/etc/shadow\fR. The encrypted password consists of 13 characters from the
-64 character alphabet a thru z, A thru Z, 0 thru 9, \. and /. Refer to
-\fBcrypt\fR(3) for details on how this string is interpreted.
+\fI/etc/shadow\fR. The encrypted password consists of characters from the
+64 character alphabet a thru z, A thru Z, 0 thru 9, \. and /. Optionaly it
+can start with $ character. This mean encrypted password was generated
+using another (not DES) algorithm. For example if it start with $1$ it means
+MD5-based algorithm was used.
+.PP
+Refer to \fBcrypt\fR(3) for details on how this string is interpreted.
 .PP
 The comment field is used by various system utilities, such as
 \fBfinger\fR(1). Three additional values may be present in the comment (END)


kloczek
-- 
---
*Ludzie nie maj problemw, tylko sobie sami je stwarzaj*
---
Tomasz Koczko, sys adm @zie.pg.gda.pl|*e-mail: [EMAIL PROTECTED]