diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2007-02-06 20:07:17 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2007-02-06 20:07:17 +0000 |
commit | 4c7864a3ea23ac1684d142bb51670fdc27abe8cc (patch) | |
tree | ec4c75ae39fa359764a98e419ac5587d32f69c4f /share/man/man5 | |
parent | 0044c236c2a42c54691edb8497bce0fa8ce0a49e (diff) |
fix some dodgy displays;
Diffstat (limited to 'share/man/man5')
-rw-r--r-- | share/man/man5/hosts.equiv.5 | 27 |
1 files changed, 11 insertions, 16 deletions
diff --git a/share/man/man5/hosts.equiv.5 b/share/man/man5/hosts.equiv.5 index 22bb79bbd0f..8c80eae5a5f 100644 --- a/share/man/man5/hosts.equiv.5 +++ b/share/man/man5/hosts.equiv.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: hosts.equiv.5,v 1.9 2005/10/09 16:07:32 jmc Exp $ +.\" $OpenBSD: hosts.equiv.5,v 1.10 2007/02/06 20:07:15 jmc Exp $ .\" .\" Copyright (c) 1997 Todd Vierling .\" Copyright (c) 1997 The NetBSD Foundation, Inc. @@ -88,14 +88,13 @@ If a .Ar username is not specified, any user may log in with the same user name. .Sh EXAMPLES -.Li somehost -.Bd -filled -offset indent -compact +.Bl -ohang -compact +.It Li somehost A common usage; users on .Ar somehost may log in to the local host as the same user name. -.Ed -.Li somehost username -.Bd -filled -offset indent -compact +.Pp +.It Li somehost username The user .Ar username on @@ -104,19 +103,15 @@ may log in to the local host. If specified in .Pa /etc/hosts.equiv , the user may log in with only the same user name. -.Ed -.Li +@anetgroup username -.Bd -filled -offset indent -compact +.Pp +.It Li +@anetgroup username The user .Ar username may log in to the local host from any machine listed in the netgroup .Ar anetgroup . -.Ed -.Bd -literal -compact -+ -+ + -.Ed -.Bd -filled -offset indent -compact +.Pp +.It + +.It + + Two severe security hazards. In the first case, allows a user on any machine to log in to the local host as the same user name. @@ -124,7 +119,7 @@ In the second case, allows any user on any machine to log in to the local host (as any user, if in .Pa /etc/hosts.equiv ) . -.Ed +.El .Sh WARNINGS The user name checks provided by this mechanism are .Em not |