summaryrefslogtreecommitdiff
path: root/libexec/rpc.yppasswdd
diff options
context:
space:
mode:
authorIgor Sobrado <sobrado@cvs.openbsd.org>2008-05-17 23:31:53 +0000
committerIgor Sobrado <sobrado@cvs.openbsd.org>2008-05-17 23:31:53 +0000
commit774db206968ab30a7c62d2f168ebe539628e67f9 (patch)
tree50fec1de8900474569902315892975e2da942dc5 /libexec/rpc.yppasswdd
parent650f53e0ab086f348050477f8fe236e8f101b6e9 (diff)
documentation tweaks.
ok (some time ago) jmc@
Diffstat (limited to 'libexec/rpc.yppasswdd')
-rw-r--r--libexec/rpc.yppasswdd/rpc.yppasswdd.824
-rw-r--r--libexec/rpc.yppasswdd/rpc.yppasswdd.c8
2 files changed, 16 insertions, 16 deletions
diff --git a/libexec/rpc.yppasswdd/rpc.yppasswdd.8 b/libexec/rpc.yppasswdd/rpc.yppasswdd.8
index 94518b8a5ef..29359d4a77d 100644
--- a/libexec/rpc.yppasswdd/rpc.yppasswdd.8
+++ b/libexec/rpc.yppasswdd/rpc.yppasswdd.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: rpc.yppasswdd.8,v 1.20 2007/05/31 19:19:40 jmc Exp $
+.\" $OpenBSD: rpc.yppasswdd.8,v 1.21 2008/05/17 23:31:52 sobrado Exp $
.\"
.\" Copyright (c) 1994 Mats O Jansson <moj@stacken.kth.se>
.\" All rights reserved.
@@ -25,7 +25,7 @@
.\" SUCH DAMAGE.
.\"
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: May 17 2008 $
.Dt RPC.YPPASSWDD 8
.Os
.Sh NAME
@@ -34,11 +34,11 @@
.Sh SYNOPSIS
.Nm rpc.yppasswdd
.Bk -words
-.Op Fl d Ar directory
-.Op Fl noshell
.Op Fl nogecos
.Op Fl nopw
-.Op Fl m Ar arg1 arg2 ...
+.Op Fl noshell
+.Op Fl d Ar directory
+.Op Fl m Ar arg ...
.Ek
.Sh DESCRIPTION
.Nm rpc.yppasswdd
@@ -65,18 +65,18 @@ The options are as follows:
Use the specified directory to get at the password-related files instead
of
.Pa /etc .
-.It Fl noshell
-Don't allow changes of the shell field in the passwd file.
-.It Fl nogecos
-Don't allow changes of the gecos field in the passwd file.
-.It Fl nopw
-Don't allow changes of the password in the passwd file.
-.It Fl m Ar arg1 arg2 ...
+.It Fl m Ar arg ...
Pass the specified arguments to
.Xr make 1
when invoking it in
.Pa /var/yp
to rebuild the passwd maps.
+.It Fl nogecos
+Don't allow changes of the gecos field in the passwd file.
+.It Fl nopw
+Don't allow changes of the password in the passwd file.
+.It Fl noshell
+Don't allow changes of the shell field in the passwd file.
.El
.Sh FILES
.Bl -tag -width /etc/master.passwd -compact
diff --git a/libexec/rpc.yppasswdd/rpc.yppasswdd.c b/libexec/rpc.yppasswdd/rpc.yppasswdd.c
index f1aad579fda..934662295ff 100644
--- a/libexec/rpc.yppasswdd/rpc.yppasswdd.c
+++ b/libexec/rpc.yppasswdd/rpc.yppasswdd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rpc.yppasswdd.c,v 1.19 2006/04/02 01:29:29 deraadt Exp $ */
+/* $OpenBSD: rpc.yppasswdd.c,v 1.20 2008/05/17 23:31:52 sobrado Exp $ */
/*
* Copyright (c) 1994 Mats O Jansson <moj@stacken.kth.se>
@@ -27,7 +27,7 @@
*/
#ifndef lint
-static char rcsid[] = "$OpenBSD: rpc.yppasswdd.c,v 1.19 2006/04/02 01:29:29 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: rpc.yppasswdd.c,v 1.20 2008/05/17 23:31:52 sobrado Exp $";
#endif
#include <sys/types.h>
@@ -59,8 +59,8 @@ static void
usage(void)
{
fprintf(stderr,
- "usage: rpc.yppasswdd [-d dir] [-noshell] [-nogecos] [-nopw]\n"
- " [-m arg1 arg2 ... ]\n");
+ "usage: rpc.yppasswdd [-nogecos] [-nopw] [-noshell] [-d directory] "
+ "[-m arg ...]\n");
exit(1);
}