Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libutil - More fixes.
details: https://anonhg.NetBSD.org/src/rev/ebbf74d0c220
branches: trunk
changeset: 494664:ebbf74d0c220
user: ad <ad%NetBSD.org@localhost>
date: Mon Jul 10 11:21:32 2000 +0000
description:
- More fixes.
- Document the built-in defaults.
diffstat:
lib/libutil/pw_getconf.3 | 20 +++++++++++++++-----
1 files changed, 15 insertions(+), 5 deletions(-)
diffs (48 lines):
diff -r 7e8c6b11a271 -r ebbf74d0c220 lib/libutil/pw_getconf.3
--- a/lib/libutil/pw_getconf.3 Mon Jul 10 11:19:16 2000 +0000
+++ b/lib/libutil/pw_getconf.3 Mon Jul 10 11:21:32 2000 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: pw_getconf.3,v 1.2 2000/07/07 10:33:12 ad Exp $
+.\" $NetBSD: pw_getconf.3,v 1.3 2000/07/10 11:21:32 ad Exp $
.\"
.\" Copyright 1997 Niels Provos <provos%physnet.uni-hamburg.de@localhost>
.\" All rights reserved.
@@ -35,7 +35,7 @@
.Os
.Sh NAME
.Nm pw_getconf
-.Nd passwd configuration access function
+.Nd password encryption configuration access function
.Sh SYNOPSIS
.Fd #include <util.h>
.Ft void
@@ -57,9 +57,18 @@
.Pp
To retrieve default values the key
.Pa default
-can be used.
+can be used. In this case, if
+.Pa /etc/passwd.conf
+does not exist or does not contain a
+.Pa default
+section, the built-in defaults will be returned. They are as follows:
+.Bl -column localcipher data -offset indent
+.It Sy option data
+.It ypcipher old
+.It localcipher old
+.El
.Pp
-An empty string is also returned for other errors.
+An empty string is returned for all errors.
.Sh FILES
.Bl -tag -width /etc/passwd.conf -compact
.It Pa /etc/passwd.conf
@@ -68,6 +77,7 @@
.Xr passwd 5 ,
.Xr passwd.conf 5
.Sh HISTORY
+The
.Fn pw_getconf
-first appeared in
+function first appeared in
.Nx 1.6 .
Home |
Main Index |
Thread Index |
Old Index