Mark up paths with .Pa.

This commit is contained in:
wiz 2004-11-25 11:40:56 +00:00
parent 35a75baff6
commit eb1dcbb30e
1 changed files with 9 additions and 9 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: hosts.equiv.5,v 1.6 2004/11/25 03:11:17 ginsbach Exp $ .\" $NetBSD: hosts.equiv.5,v 1.7 2004/11/25 11:40:56 wiz Exp $
.\" .\"
.\" Copyright (c) 1997 The NetBSD Foundation, Inc. .\" Copyright (c) 1997 The NetBSD Foundation, Inc.
.\" All rights reserved. .\" All rights reserved.
@ -100,7 +100,7 @@ on
.Em somehost .Em somehost
may login to the local host. may login to the local host.
If specified in If specified in
.Em /etc/hosts.equiv , .Pa /etc/hosts.equiv ,
the user may login with only the same user name. the user may login with only the same user name.
.Ed .Ed
.Li +@anetgroup username .Li +@anetgroup username
@ -120,7 +120,7 @@ In the first case, allows a user on any
machine to login to the local host as the same user name. machine to login to the local host as the same user name.
In the second case, allows any user on any In the second case, allows any user on any
machine to login to the local host (as any user, if in machine to login to the local host (as any user, if in
.Em /etc/hosts.equiv ) . .Pa /etc/hosts.equiv ) .
.Ed .Ed
.Sh WARNINGS .Sh WARNINGS
The username checks provided by this mechanism are The username checks provided by this mechanism are
@ -135,26 +135,26 @@ considerations somewhat; the address is then used directly by
.Xr iruserok 3 . .Xr iruserok 3 .
.Pp .Pp
When a username (or netgroup, or +) is specified in When a username (or netgroup, or +) is specified in
.Em /etc/hosts.equiv , .Pa /etc/hosts.equiv ,
that user (or group of users, or all users, respectively) may login to that user (or group of users, or all users, respectively) may login to
the local host as the local host as
.Em any local user . .Em any local user .
Usernames in Usernames in
.Em /etc/hosts.equiv .Pa /etc/hosts.equiv
should therefore be used with extreme caution, or not at all. should therefore be used with extreme caution, or not at all.
.Pp .Pp
A A
.Em .rhosts .Pa .rhosts
file must be owned by the user whose home directory it resides in, and file must be owned by the user whose home directory it resides in, and
must be writable only by that user. must be writable only by that user.
.Pp .Pp
Logins as root only check root's Logins as root only check root's
.Em .rhosts .Pa .rhosts
file; the file; the
.Em /etc/hosts.equiv .Pa /etc/hosts.equiv
file is not checked for security. file is not checked for security.
Access permitted through root's Access permitted through root's
.Em .rhosts .Pa .rhosts
file is typically only for file is typically only for
.Xr rsh 1 , .Xr rsh 1 ,
as root must still login on the console for an interactive login such as as root must still login on the console for an interactive login such as