summaryrefslogtreecommitdiffstats
path: root/lib/libutil/pw_getconf.3
diff options
context:
space:
mode:
authorprovos <provos@openbsd.org>1997-04-10 20:05:49 +0000
committerprovos <provos@openbsd.org>1997-04-10 20:05:49 +0000
commit2003f554a2028cdc50d2bf3e19e900d674143bcd (patch)
treef2897eb69c9b35159a20c7829f80d17ee7ac4c4e /lib/libutil/pw_getconf.3
parentmention .group entries in /etc/passwd.conf (diff)
downloadwireguard-openbsd-2003f554a2028cdc50d2bf3e19e900d674143bcd.tar.xz
wireguard-openbsd-2003f554a2028cdc50d2bf3e19e900d674143bcd.zip
give only default values when asked for.
Diffstat (limited to 'lib/libutil/pw_getconf.3')
-rw-r--r--lib/libutil/pw_getconf.311
1 files changed, 9 insertions, 2 deletions
diff --git a/lib/libutil/pw_getconf.3 b/lib/libutil/pw_getconf.3
index 671ad8e01d7..cffa555c7f2 100644
--- a/lib/libutil/pw_getconf.3
+++ b/lib/libutil/pw_getconf.3
@@ -49,11 +49,18 @@ from the section given be
If no suitable entry is found
for the
.Pa key
-a default value or an empty string will be returned in data.
+an empty string will be returned in data.
+.Pp
+For default values the key
+.Pa default
+can be used, this might be useful when no entry was found
+for a specific key or option.
+.Pp
An empty string is also returned for other errors.
.Sh FILES
.Bl -tag -width /etc/passwd.conf -compact
.It Pa /etc/passwd.conf
.El
.Sh SEE ALSO
-.Xr passwd 5
+.Xr passwd 5 ,
+.Xr passwd.conf 5