History log of /freebsd-10-stable/usr.bin/su/su.1
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 254215 11-Aug-2013 trasz

In su(1), fix option ordering and clarify that the login class specified
must be defined in login.conf.

MFC after: 1 month


# 222770 06-Jun-2011 gjb

Attempt to clear up some confusion in the following example, by stating
the '-c' argument is passed to the shell, not to su(1), which would
indicate the login class.

'su -m <user> -c <command>'

Submitted by: Warren Block <wblock@wonkity.com> (followup to 157078)
MFC after: 5 days


# 222759 06-Jun-2011 gjb

Bump date from previous commit. :(

MFC after: 5 days


# 222758 06-Jun-2011 gjb

Document that when running 'su -m <user> -c <command>', <command> is run
within a shell as <user>.

PR: 157078
Submitted by: Warren Block <wblock@wonkity.com>
MFC after: 5 days


# 216370 11-Dec-2010 joel

Remove the advertising clause from UCB copyrighted files in usr.bin. This
is in accordance with the information provided at
ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change

Also add $FreeBSD$ to a few files to keep svn happy.

Discussed with: imp, rwatson


# 180155 01-Jul-2008 danger

- add the -m option to the example commands because they would fail w/o it
as the ``man'' user does not have a valid shell by default.

PR: docs/121713
Approved by: trhodes
MFC after: 3 days


# 171562 24-Jul-2007 delphij

Stop mentioning /usr/X11R6.

Approved by: re (hrs)


# 162792 29-Sep-2006 ru

Markup fixes.


# 162286 13-Sep-2006 joel

Remove references to the pam(8) manual page. It does not exist.

Requested by: novel
Discussed with: brueffer, simon


# 154945 27-Jan-2006 brd

- Mention that users need to be in the wheel group to `su - root' by default, and how to change it.

PR: docs/70616
Submitted by: Jilles Tjoelker <jilles at stack dot nl>
Reviewed by: ru@
Approved by: ceri@
MFC after: 3 days


# 140420 18-Jan-2005 ru

Sort sections.


# 136114 04-Oct-2004 simon

Bump document date for last commit.

Noticed by: ru


# 136102 03-Oct-2004 simon

PAM configuration is now in /etc/pam.d/su.

Submitted by: Jilles Tjoelker <jilles@stack.nl> (original version)
PR: docs/70616 (part of)
MFC after: 1 week


# 131507 02-Jul-2004 ru

Deal with double whitespace.


# 131491 02-Jul-2004 ru

Mechanically kill hard sentence breaks.


# 129434 19-May-2004 ru

Bumped the document date.
Fixed the grammar nit.


# 120557 28-Sep-2003 kensmith

- Clarification to how command line arguments are processed.

PR: docs/55613
Submitted by: gshapiro@freebsd.org
Approved by: blackend (mentor)


# 116047 08-Jun-2003 charnier

typo


# 107276 26-Nov-2002 ru

mdoc(7) police: markup polishing.

Approved by: re


# 105758 23-Oct-2002 rwatson

Add a new '-s' option to su(1): if the flag is present, attempt to
also set the user's MAC label as part of the user credential setup
by setting setusercontext(3)'s SETMAC flag. By default, change only
traditional process properties.

Approved by: re
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories


# 95124 20-Apr-2002 charnier

Use `The .Nm utility'


# 93417 30-Mar-2002 keramida

Fix a few typos.
as a user ID -> has a user ID
command constitutes of -> command consists of

PR: misc/36523
Submitted by: Chris Pepper <pepper@mail.rockefeller.edu>
MFC after: 3 days


# 81462 10-Aug-2001 ru

mdoc(7) police: join split punctuation to macro calls.


# 79755 15-Jul-2001 dd

Remove whitespace at EOL.


# 77220 26-May-2001 markm

Deconvolute the authentication mess, and hand total responsiblity
for authentication to PAM. This meens that WHEELSU-type logic can
now be effected in the pam.conf "su" configuration stack. While here,
clean up the mess that the code had assumed over years of hacking by
folks using different styles. ANSIfy.

There is more policy in here that can be handed over to PAM. This will
be revisited.


# 76103 28-Apr-2001 markm

Dike out the Kerberos(IV) support on the grounds that better kerberos
support can be already obtained via PAM.


# 74874 27-Mar-2001 markm

Add full PAM support for account management and sessions.

The PAM_FAIL_CHECK and PAM_END macros in su.c came from the util-linux
package's PAM patches to the BSD login.c

Submitted by: "David J. MacKenzie" <djm@web.us.uu.net>


# 68963 20-Nov-2000 ru

mdoc(7) police: use the new features of the Nm macro.


# 64288 05-Aug-2000 marko

Document the ``-'' option and minor re-wording in EXAMPLES


# 57670 01-Mar-2000 sheldonh

Remove single-space hard sentence breaks. These degrade the quality
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.


# 50477 27-Aug-1999 peter

$Id$ -> $FreeBSD$


# 40128 09-Oct-1998 markm

Add JKH's auth.conf parser to turn on/off Kerberos in userland


# 36750 08-Jun-1998 jkoshy

Reword to remove confusion between su(1)'s "-c" option and that of the shell
being invoked. Add example that clarifies usage of "-c".

PR: 6859


# 36348 25-May-1998 steve

Allow a user in group 0 to su(1) to root if their primary
group is 0 in /etc/passwd even if they aren't listed
as a member in /etc/group. This is more inline with
what the group manpage says.

PR: 6696
Submitted by: Max Euston <meuston@jmrodgers.com>


# 30793 27-Oct-1997 guido

Add -c option that allows root to specify a login_class.


# 29333 13-Sep-1997 wosch

PR: docs/4383
su manpage ambiguous regarding command prompt

Submitted by: sheldonh@iafrica.com


# 28935 30-Aug-1997 jmg

fix a few spelling changes

Submitted by: Josh Gilliam

Closes PR's: 4429, 4431-4438

PS: He has agreed to submit all contrib fixes back to the original author.


# 28099 12-Aug-1997 charnier

Add usage().


# 23085 24-Feb-1997 guido

When group wheel is empty, allow everyone to su to root. This has normally
no conseqeunces as we ship with a non-empty wheel.

Closes PR/1882
Submitted by: Arne Henrik Juul <arnej@frida.imf.unit.no>


# 23012 22-Feb-1997 peter

Revert $FreeBSD$ to $Id$


# 21748 15-Jan-1997 wosch

Sort cross references.


# 21673 14-Jan-1997 jkh

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.


# 21647 13-Jan-1997 davidn

Document effect of login class capabilities.


# 17891 29-Aug-1996 wosch

[HISTORY] command appeared in Version 1 AT&T UNIX
Obtained from: A Quarter Century of UNIX, Peter H. Salus, page 41


# 10586 06-Sep-1995 joerg

Bring Barry Morris' changes from FreeBSD 1.1.5.1 back: pass arguments
to the target login's shell. This allows for "su -c".

Do it right this time and also explain this behaviour in the man
page. :)

Obtained from: bsm's work in FreeBSD 1.1.5.1


# 1591 27-May-1994 rgrimes

This commit was generated by cvs2svn to compensate for changes in r1590,
which included commits to RCS files with non-trunk default branches.


# 1590 27-May-1994 rgrimes

BSD 4.4 Lite Usr.bin Sources