summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordavidn <davidn@FreeBSD.org>1997-01-13 06:52:24 +0000
committerdavidn <davidn@FreeBSD.org>1997-01-13 06:52:24 +0000
commit3f24215f47559fdbb9a3ec59a6696497b2d337ed (patch)
treefdaca19d44d9c07e0bdd651c328ad6a453ec2c3f
parent2f2f2bb699cf04ff55e8250d17cdf4e007c4d72a (diff)
downloadFreeBSD-src-3f24215f47559fdbb9a3ec59a6696497b2d337ed.zip
FreeBSD-src-3f24215f47559fdbb9a3ec59a6696497b2d337ed.tar.gz
Document effect of login class capabilities.
-rw-r--r--usr.bin/su/su.111
1 files changed, 10 insertions, 1 deletions
diff --git a/usr.bin/su/su.1 b/usr.bin/su/su.1
index 8f3bd33..5e4ec7b 100644
--- a/usr.bin/su/su.1
+++ b/usr.bin/su/su.1
@@ -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
OpenPOWER on IntegriCloud