summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorphantom <phantom@FreeBSD.org>1999-10-30 15:12:25 +0000
committerphantom <phantom@FreeBSD.org>1999-10-30 15:12:25 +0000
commita17fafc521c9321396f4621e7a95409970d577e4 (patch)
tree4d72917afe8751c7a9e46178ec42c6071e9c9d87 /usr.bin
parent945a25b48913c2f1a8b8f0aadcb902c3189ed927 (diff)
downloadFreeBSD-src-a17fafc521c9321396f4621e7a95409970d577e4.zip
FreeBSD-src-a17fafc521c9321396f4621e7a95409970d577e4.tar.gz
mdoc(7)'fy
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/chpass/chpass.132
-rw-r--r--usr.bin/rpcgen/rpcgen.111
-rw-r--r--usr.bin/rsh/rsh.114
3 files changed, 31 insertions, 26 deletions
diff --git a/usr.bin/chpass/chpass.1 b/usr.bin/chpass/chpass.1
index e0978b6..763f6bd 100644
--- a/usr.bin/chpass/chpass.1
+++ b/usr.bin/chpass/chpass.1
@@ -63,7 +63,9 @@ The super-user is allowed to directly supply a user database
entry, in the format specified by
.Xr passwd 5 ,
as an argument.
-This argument must be a colon (``:'') separated list of all the
+This argument must be a colon
+.Pq Dq :
+separated list of all the
user database fields, although they may be empty.
.It Fl p
The super-user is allowed to directly supply an encrypted password field,
@@ -163,7 +165,9 @@ Both the
.Ar change
and
.Ar expire
-fields should be entered in the form ``month day year'' where
+fields should be entered in the form
+.Dq month day year
+where
.Ar month
is the month name (the first three characters are sufficient),
.Ar day
@@ -250,14 +254,15 @@ updates to the NIS maps, but editing the map source files by hand can
be cumbersome.
.Pp
Note: these exceptions only apply when the NIS master server is a
-FreeBSD system.)
+.Fx
+system).
.Pp
Consequently, except where noted, the following restrictions apply when
.Nm chpass
is used with NIS:
.Bl -enum -offset indent
.It
-.Pa Only the shell and GECOS information may be changed.
+.Em "Only the shell and GECOS information may be changed" .
All other
fields are restricted, even when
.Nm chpass
@@ -273,7 +278,7 @@ Exception: the super-user on the NIS master server is permitted to
change any field.
.Pp
.It
-.Pa Password authentication is required.
+.Em "Password authentication is required" .
.Nm Chpass
will prompt for the user's NIS password before effecting
any changes. If the password is invalid, all changes will be
@@ -285,8 +290,7 @@ choose to turn off this feature using the
.Fl o
flag, described below.)
.It
-.Pa Adding new records to the local
-.Pa password database is discouraged.
+.Em "Adding new records to the local password database is discouraged" .
.Nm Chpass
will allow the administrator to add new records to the
local password database while NIS is enabled, but this can lead to
@@ -309,13 +313,15 @@ NIS maps instead, invoke chpass with the
.Fl y
flag.
.It
-.Pa Password changes are not permitted.
+.Em "Password changes are not permitted".
Users should use
.Xr passwd 1
or
.Xr yppasswd 1
to change their NIS passwords. The super-user is allowed to specify
-a new password (even though the ``Password:'' field does not show
+a new password (even though the
+.Dq Password:
+field does not show
up in the editor template, the super-user may add it back by hand),
but even the super-user must supply the user's original password
otherwise
@@ -369,7 +375,9 @@ slave, in a given NIS domain will do.
.Pp
When using the
.Fl d
-option, the hostname defaults to ``localhost.'' The
+option, the hostname defaults to
+.Dq localhost .
+The
.Fl h
option can be used in conjunction with the
.Fl d
@@ -379,7 +387,7 @@ the default.
.It Fl o
Force the use of RPC-based updates when communicating with
.Xr rpc.yppasswdd 8
-(``old-mode'').
+.Pq Dq old-mode .
When invoked by the super-user on the NIS master server,
.Nm chpass
allows unrestricted changes to the NIS passwd maps using dedicated,
@@ -431,6 +439,6 @@ commands are really only links to
User information should (and eventually will) be stored elsewhere.
.Sh HISTORY
The
-.Nm
+.Nm chpass
command appeared in
.Bx 4.3 Reno .
diff --git a/usr.bin/rpcgen/rpcgen.1 b/usr.bin/rpcgen/rpcgen.1
index 7c9abed..ff2da0b 100644
--- a/usr.bin/rpcgen/rpcgen.1
+++ b/usr.bin/rpcgen/rpcgen.1
@@ -502,15 +502,12 @@ by
tcp,
use:
.Dl example% rpcgen -n tcp -o prot_svc.c prot.x
-.Sh "SEE ALSO"
+.Sh SEE ALSO
.Xr cc 1 ,
.Xr rpc 3 ,
.Xr syslog 3 ,
.Xr inetd 8
.\" .BR rpc_svc_calls (3)
-.Pp
-The
-.Nm
-chapter in the
-.Tn NETP
-manual.
+.Rs
+.%T The Nm rpcgen No chapter in the NETP manual
+.Re
diff --git a/usr.bin/rsh/rsh.1 b/usr.bin/rsh/rsh.1
index 836d830..be348c4 100644
--- a/usr.bin/rsh/rsh.1
+++ b/usr.bin/rsh/rsh.1
@@ -51,7 +51,7 @@
executes
.Ar command
on
-.Ar host .
+.Ar host .
.Pp
.Nm Rsh
copies its standard input to the remote command, the standard
@@ -67,7 +67,7 @@ The options are as follows:
Turn off all Kerberos authentication.
.It Fl d
Turn on socket debugging (using
-.Xr setsockopt 2 )
+.Xr setsockopt 2 )
on the
.Tn TCP
sockets used for communication with the remote host.
@@ -77,7 +77,7 @@ Cause
to obtain tickets for the remote host in
.Ar realm
instead of the remote host's realm as determined by
-.Xr krb_realmofhost 3 .
+.Xr krb_realmofhost 3 .
.It Fl l
By default, the remote username is the same as the local username.
The
@@ -85,7 +85,7 @@ The
option allows the remote name to be specified.
Kerberos authentication is used, and authorization is determined
as in
-.Xr rlogin 1 .
+.Xr rlogin 1 .
.It Fl n
Redirect input from the special device
.Pa /dev/null
@@ -105,7 +105,7 @@ data is sent or received in this time, rsh will exit.
If no
.Ar command
is specified, you will be logged in on the remote host using
-.Xr rlogin 1 .
+.Xr rlogin 1 .
.Pp
Shell metacharacters which are not quoted are interpreted on local machine,
while quoted metacharacters are interpreted on the remote machine.
@@ -168,9 +168,9 @@ option.
.Pp
You cannot run an interactive command
(like
-.Xr rogue 6
+.Xr rogue 6
or
-.Xr vi 1 )
+.Xr vi 1 )
using
.Nm rsh ;
use
OpenPOWER on IntegriCloud