Document effect of login class capabilities.

This commit is contained in:
davidn 1997-01-13 06:52:24 +00:00
parent 5c46efa201
commit e680ebc3bd

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)su.1 8.2 (Berkeley) 4/18/94
.\" $Id$
.\" $Id: su.1,v 1.3 1996/08/29 18:06:13 wosch Exp $
.\"
.\" this is for hilit19's braindeadness: "
.Dd April 18, 1994
@ -77,6 +77,10 @@ in which case it is unmodified.
The invoked shell is the target login's.
This is the traditional behavior of
.Nm su .
Resource limits and session priority applicable to the original user's
login class (See
.Xr login.conf 5 )
are also normally retained unless the target login as a user ID of 0.
.Pp
The options are as follows:
.Bl -tag -width Ds
@ -108,9 +112,13 @@ is set to
.Dq Pa /bin:/usr/bin .
.Ev TERM
is imported from your current environment.
Envronment variables may be set or overridden from the login class
capabilities database according to the class of the target login.
The invoked shell is the target login's, and
.Nm su
will change directory to the target login's home directory.
Resource limits and session priority are modified to that for the
target account's login class.
.It Fl m
Leave the environment unmodified.
The invoked shell is your login shell, and no directory changes are made.
@ -159,6 +167,7 @@ to remind one of its awesome power.
.Xr kinit 1 ,
.Xr kerberos 1 ,
.Xr passwd 5 ,
.Xr login.conf 5 ,
.Xr group 5 ,
.Xr environ 7
.Sh ENVIRONMENT