diff options
author | steve <steve@FreeBSD.org> | 1996-10-29 03:12:51 +0000 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1996-10-29 03:12:51 +0000 |
commit | ac82f35222ffb550ce85912f86498957f59ce50b (patch) | |
tree | 97cdea4e237b2b62bb4b43b1b77a859e45b517fc /bin/sh/sh.1 | |
parent | 6a0fb85f4754bfc12c9e49202548159489701554 (diff) | |
download | FreeBSD-src-ac82f35222ffb550ce85912f86498957f59ce50b.zip FreeBSD-src-ac82f35222ffb550ce85912f86498957f59ce50b.tar.gz |
Add the -p (privileged) commandline switch
found in bash, zsh, and friends.
Reviewed by: joerg
Diffstat (limited to 'bin/sh/sh.1')
-rw-r--r-- | bin/sh/sh.1 | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/bin/sh/sh.1 b/bin/sh/sh.1 index 7be1828..3a3843e 100644 --- a/bin/sh/sh.1 +++ b/bin/sh/sh.1 @@ -33,14 +33,14 @@ .\" SUCH DAMAGE. .\" .\" @(#)sh.1 8.6 (Berkeley) 5/4/95 -.\" $Id: sh.1,v 1.7 1996/09/01 10:21:39 peter Exp $ +.\" $Id: sh.1,v 1.8 1996/09/03 14:15:59 peter Exp $ .\" .na .TH SH 1 .SH NAME sh \- command interpreter (shell) .SH SYNOPSIS -sh [-/+aCefnuvxIimsVEb] [-/+o longname] [arg ...] +sh [-/+aCefnpuvxIimsVEb] [-/+o longname] [arg ...] .SH DESCRIPTION .LP Sh is the standard command interpreter for the system. @@ -159,6 +159,15 @@ If not interactive, read commands but do not execute them. This is useful for checking the syntax of shell scripts. .TP +-p privileged +Turn on privileged mode. This mode is enabled on startup +if either the effective user or group id is not equal to the +real user or group id. Turning this mode off sets the +effective user and group ids to the real user and group ids. +Also on interactive shells and when enabled, this mode sources +/etc/suid_profile (instead of ~/.profile) after /etc/profile +and ignores the contents of the \fBENV\fP variable. +.TP -u nounset Write a message to standard error when attempting to expand a variable that is not set, and if the |