From e888e45a996ebb95ff20d1a4bf3f699c42da6596 Mon Sep 17 00:00:00 2001 From: David Nugent Date: Mon, 13 Jan 1997 06:52:24 +0000 Subject: [PATCH] Document effect of login class capabilities. --- usr.bin/su/su.1 | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/usr.bin/su/su.1 b/usr.bin/su/su.1 index 8f3bd33011c5..5e4ec7b68824 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