shadow-184.108.40.206 man pages
Juan A. Moreno
jamc60 at gmail.com
Mon Nov 3 12:01:28 PST 2008
On Monday 03 November 2008 20:08:12 Randy McMurchy wrote:
> Juan A. Moreno wrote these words on 11/03/08 12:52 CST:
> > What man pages are better?
> I would prefer to use the Shadow man pages. IMO, it's better to use
> man pages from the native package rather than the generic ones from
> the man-pages package.
> rmlscsi: [bogomips 1003.23] [GNU ld version 2.16.1] [gcc (GCC) 4.0.3]
> [GNU C Library stable release version 2.3.6] [Linux 220.127.116.11 i686]
> 13:07:00 up 17:42, 1 user, load average: 0.34, 0.36, 0.19
I have compared the content of both versions of man pages. In the case of
passwd.5 their contents are diferent but similar, but look at the contents in
the case of getspnam.3.
The version from shadow:
juan [ ~/shadow-18.104.22.168/man ]$ cat getspnam.3
The version from man-pages:
juan [ ~/man-pages-3.11/man3 ]$ cat getspnam.3
.\" Copyright (c) 2003 Andries Brouwer (aeb at cwi.nl) and
.\" Walter Harms (walter.harms at informatik.uni-oldenburg.de)
.\" Distributed under GPL
.TH GETSPNAM 3 2008-07-09 "GNU" "Linux Programmer's Manual"
getspnam, getspnam_r, getspent, getspent_r, setspent, endspent,
fgetspent, fgetspent_r, sgetspent, sgetspent_r, putspent,
lckpwdf, ulckpwdf \- get shadow password file entry
/* General shadow password file API */
.B #include <shadow.h>
.BI "struct spwd *getspnam(const char *" name );
.B struct spwd *getspent(void);
.B void setspent(void);
The shadow version doesn't seem like a man page at all.
More information about the lfs-support