Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/lib/libc/gen pullup 1.14->1.15 (lukem)
details: https://anonhg.NetBSD.org/src/rev/ae770d5aa3f4
branches: netbsd-1-4
changeset: 468510:ae770d5aa3f4
user: perry <perry%NetBSD.org@localhost>
date: Tue Apr 27 14:10:49 1999 +0000
description:
pullup 1.14->1.15 (lukem)
diffstat:
lib/libc/gen/getpwent.3 | 14 +++++++++-----
1 files changed, 9 insertions(+), 5 deletions(-)
diffs (56 lines):
diff -r 987acddf985a -r ae770d5aa3f4 lib/libc/gen/getpwent.3
--- a/lib/libc/gen/getpwent.3 Tue Apr 27 14:10:38 1999 +0000
+++ b/lib/libc/gen/getpwent.3 Tue Apr 27 14:10:49 1999 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: getpwent.3,v 1.14 1999/01/16 07:59:39 lukem Exp $
+.\" $NetBSD: getpwent.3,v 1.14.2.1 1999/04/27 14:10:49 perry Exp $
.\"
.\" Copyright (c) 1988, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -33,7 +33,7 @@
.\"
.\" @(#)getpwent.3 8.2 (Berkeley) 12/11/93
.\"
-.Dd January 16, 1999
+.Dd April 25, 1999
.Dt GETPWENT 3
.Os
.Sh NAME
@@ -110,7 +110,7 @@
Additionally, if
.Fa stayopen
is non-zero, file descriptors are left open, significantly speeding
-up subsequent accesses for all of the routines.
+up subsequent accesses for all of the functions.
(This latter functionality is unnecessary for
.Fn getpwent
as it doesn't close its file descriptors by default.)
@@ -131,7 +131,7 @@
function
closes any open files.
.Pp
-These routines have been written to ``shadow'' the password file, e.g.
+These functions have been written to ``shadow'' the password file, e.g.
allow only certain programs to have access to the encrypted password.
If the process which calls them has an effective uid of 0, the encrypted
password will be returned, otherwise, the password field of the returned
@@ -204,7 +204,7 @@
any of these functions
will modify the same object.
.Pp
-The routines
+The functions
.Fn getpwent ,
.Fn endpwent ,
.Fn setpassent ,
@@ -212,6 +212,10 @@
.Fn setpwent
are fairly useless in a networked environment and should be
avoided, if possible.
+.Fn getpwent
+makes no attempt to suppress duplicate information if multiple
+sources are specified in
+.Xr nsswitch.conf 5
.Sh COMPATIBILITY
The historic function
.Fn setpwfile
Home |
Main Index |
Thread Index |
Old Index