History log of /freebsd-current/usr.bin/su/su.1
Revision Date Author Comments
# bdcbfde3 23-Nov-2023 Warner Losh <imp@FreeBSD.org>

usr.bin: Remove ancient SCCS tags.

Remove ancient SCCS tags from the tree, automated scripting, with two
minor fixup to keep things compiling. All the common forms in the tree
were removed with a perl script.

Sponsored by: Netflix


# b2c76c41 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line nroff pattern

Remove /^\.\\"\s*\$FreeBSD\$$\n/


# 68fbe6f0 26-Mar-2020 Mateusz Piotrowski <0mp@FreeBSD.org>

Do not use macros in -width

They do not expand.

MFC after: 1 day


# 4572fb3f 13-Sep-2017 Gordon Tetlow <gordon@FreeBSD.org>

Deorbit catman. The tradeoff of disk for performance has long since tipped
in favor of just rendering the manpage instead of relying on pre-formatted
catpages. Note, this does not impede the ability to use existing catpages,
it just removes the utility to generate them.

Reviewed by: imp, allanjude
Approved by: emaste (mentor)
Differential Revision: https://reviews.freebsd.org/D12317


# fbbd9655 28-Feb-2017 Warner Losh <imp@FreeBSD.org>

Renumber copyright clause 4

Renumber cluase 4 to 3, per what everybody else did when BSD granted
them permission to remove clause 3. My insistance on keeping the same
numbering for legal reasons is too pedantic, so give up on that point.

Submitted by: Jan Schaumann <jschauma@stevens.edu>
Pull Request: https://github.com/freebsd/freebsd/pull/96


# f8a2fe5e 11-Aug-2013 Edward Tomasz Napierala <trasz@FreeBSD.org>

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

MFC after: 1 month


# b6654957 06-Jun-2011 Glen Barber <gjb@FreeBSD.org>

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


# a53dafae 06-Jun-2011 Glen Barber <gjb@FreeBSD.org>

Bump date from previous commit. :(

MFC after: 5 days


# 4af4a110 06-Jun-2011 Glen Barber <gjb@FreeBSD.org>

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


# da52b4ca 11-Dec-2010 Joel Dahl <joel@FreeBSD.org>

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


# a7d5f7eb 19-Oct-2010 Jamie Gritton <jamie@FreeBSD.org>

A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.


# fe0506d7 09-Mar-2010 Marcel Moolenaar <marcel@FreeBSD.org>

Create the altix project branch. The altix project will add support
for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting
is a two-module system, consisting of a base compute module and a
CPU expansion module. SGI's NUMAFlex architecture can be an excellent
platform to test CPU affinity and NUMA-aware features in FreeBSD.


# d7f03759 19-Oct-2008 Ulf Lilleengen <lulf@FreeBSD.org>

- Import the HEAD csup code which is the basis for the cvsmode work.


# 9ea29562 01-Jul-2008 Daniel Gerzo <danger@FreeBSD.org>

- 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


# 9a0e6be2 24-Jul-2007 Xin LI <delphij@FreeBSD.org>

Stop mentioning /usr/X11R6.

Approved by: re (hrs)


# cb29445a 29-Sep-2006 Ruslan Ermilov <ru@FreeBSD.org>

Markup fixes.


# 3e1f3315 13-Sep-2006 Joel Dahl <joel@FreeBSD.org>

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

Requested by: novel
Discussed with: brueffer, simon


# 52a3a192 27-Jan-2006 Brad Davis <brd@FreeBSD.org>

- 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


# 6c7216df 18-Jan-2005 Ruslan Ermilov <ru@FreeBSD.org>

Sort sections.


# a0b2be39 03-Oct-2004 Simon L. B. Nielsen <simon@FreeBSD.org>

Bump document date for last commit.

Noticed by: ru


# d4b85942 03-Oct-2004 Simon L. B. Nielsen <simon@FreeBSD.org>

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


# 557b7fa1 02-Jul-2004 Ruslan Ermilov <ru@FreeBSD.org>

Deal with double whitespace.


# 6a3e8b0a 02-Jul-2004 Ruslan Ermilov <ru@FreeBSD.org>

Mechanically kill hard sentence breaks.


# 47a49bc2 19-May-2004 Ruslan Ermilov <ru@FreeBSD.org>

Bumped the document date.
Fixed the grammar nit.


# bec72540 28-Sep-2003 Ken Smith <kensmith@FreeBSD.org>

- Clarification to how command line arguments are processed.

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


# 196604d7 08-Jun-2003 Philippe Charnier <charnier@FreeBSD.org>

typo


# 06e482e6 26-Nov-2002 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: markup polishing.

Approved by: re


# 1494905b 22-Oct-2002 Robert Watson <rwatson@FreeBSD.org>

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


# e8937ba0 19-Apr-2002 Philippe Charnier <charnier@FreeBSD.org>

Use `The .Nm utility'


# 997f6e03 30-Mar-2002 Giorgos Keramidas <keramida@FreeBSD.org>

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


# 94ba280c 10-Aug-2001 Ruslan Ermilov <ru@FreeBSD.org>

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


# f247324d 15-Jul-2001 Dima Dorfman <dd@FreeBSD.org>

Remove whitespace at EOL.


# 5b3771f1 26-May-2001 Mark Murray <markm@FreeBSD.org>

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.


# 1351464c 28-Apr-2001 Mark Murray <markm@FreeBSD.org>

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


# 5bc9d93d 27-Mar-2001 Mark Murray <markm@FreeBSD.org>

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>


# 8fe908ef 20-Nov-2000 Ruslan Ermilov <ru@FreeBSD.org>

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


# 54af9cb5 05-Aug-2000 Mark Ovens <marko@FreeBSD.org>

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


# 87faa07b 29-Feb-2000 Sheldon Hearn <sheldonh@FreeBSD.org>

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.


# c3aac50f 27-Aug-1999 Peter Wemm <peter@FreeBSD.org>

$Id$ -> $FreeBSD$


# 98eb1c31 09-Oct-1998 Mark Murray <markm@FreeBSD.org>

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


# 5a41edb4 07-Jun-1998 Joseph Koshy <jkoshy@FreeBSD.org>

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


# 37253803 24-May-1998 Steve Price <steve@FreeBSD.org>

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>


# 7a853dff 27-Oct-1997 Guido van Rooij <guido@FreeBSD.org>

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


# fab8812d 13-Sep-1997 Wolfram Schneider <wosch@FreeBSD.org>

PR: docs/4383
su manpage ambiguous regarding command prompt

Submitted by: sheldonh@iafrica.com


# 46657c7e 29-Aug-1997 John-Mark Gurney <jmg@FreeBSD.org>

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.


# 7be91299 12-Aug-1997 Philippe Charnier <charnier@FreeBSD.org>

Add usage().


# e8694bc2 24-Feb-1997 Guido van Rooij <guido@FreeBSD.org>

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>


# c115df18 22-Feb-1997 Peter Wemm <peter@FreeBSD.org>

Revert $FreeBSD$ to $Id$


# da1ff3cb 15-Jan-1997 Wolfram Schneider <wosch@FreeBSD.org>

Sort cross references.


# 1130b656 14-Jan-1997 Jordan K. Hubbard <jkh@FreeBSD.org>

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.


# e888e45a 12-Jan-1997 David Nugent <davidn@FreeBSD.org>

Document effect of login class capabilities.


# b8923d4c 29-Aug-1996 Wolfram Schneider <wosch@FreeBSD.org>

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


# 76ba1af2 05-Sep-1995 Joerg Wunsch <joerg@FreeBSD.org>

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


# 9b50d902 26-May-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

BSD 4.4 Lite Usr.bin Sources