aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/su/su.1
Commit message (Collapse)AuthorAgeFilesLines
* Remove $FreeBSD$: one-line nroff patternWarner Losh2023-08-231-1/+0
| | | | | | | Remove /^\.\\"\s*\$FreeBSD\$$\n/ Similar commit in main: (cherry picked from commit b2c76c41be32)
* Do not use macros in -widthMateusz Piotrowski2020-03-261-2/+2
| | | | | | | | | They do not expand. MFC after: 1 day Notes: svn path=/head/; revision=359340
* Deorbit catman. The tradeoff of disk for performance has long since tippedGordon Tetlow2017-09-131-8/+8
| | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=323550
* Renumber copyright clause 4Warner Losh2017-02-281-1/+1
| | | | | | | | | | | | 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 Notes: svn path=/head/; revision=314436
* In su(1), fix option ordering and clarify that the login class specifiedEdward Tomasz Napierala2013-08-111-5/+7
| | | | | | | | | must be defined in login.conf. MFC after: 1 month Notes: svn path=/head/; revision=254215
* Attempt to clear up some confusion in the following example, by statingGlen Barber2011-06-061-0/+6
| | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=222770
* Bump date from previous commit. :(Glen Barber2011-06-061-1/+1
| | | | | | | MFC after: 5 days Notes: svn path=/head/; revision=222759
* Document that when running 'su -m <user> -c <command>', <command> is runGlen Barber2011-06-061-4/+4
| | | | | | | | | | | within a shell as <user>. PR: 157078 Submitted by: Warren Block <wblock@wonkity.com> MFC after: 5 days Notes: svn path=/head/; revision=222758
* Remove the advertising clause from UCB copyrighted files in usr.bin. ThisJoel Dahl2010-12-111-4/+0
| | | | | | | | | | | | 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 Notes: svn path=/head/; revision=216370
* - add the -m option to the example commands because they would fail w/o itDaniel Gerzo2008-07-011-4/+9
| | | | | | | | | | | as the ``man'' user does not have a valid shell by default. PR: docs/121713 Approved by: trhodes MFC after: 3 days Notes: svn path=/head/; revision=180155
* Stop mentioning /usr/X11R6.Xin LI2007-07-241-2/+2
| | | | | | | Approved by: re (hrs) Notes: svn path=/head/; revision=171562
* Markup fixes.Ruslan Ermilov2006-09-291-3/+3
| | | | Notes: svn path=/head/; revision=162792
* Remove references to the pam(8) manual page. It does not exist.Joel Dahl2006-09-131-2/+1
| | | | | | | | Requested by: novel Discussed with: brueffer, simon Notes: svn path=/head/; revision=162286
* - Mention that users need to be in the wheel group to `su - root' by ↵Brad Davis2006-01-281-3/+17
| | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=154945
* Sort sections.Ruslan Ermilov2005-01-181-14/+14
| | | | Notes: svn path=/head/; revision=140420
* Bump document date for last commit.Simon L. B. Nielsen2004-10-041-1/+1
| | | | | | | Noticed by: ru Notes: svn path=/head/; revision=136114
* PAM configuration is now in /etc/pam.d/su.Simon L. B. Nielsen2004-10-031-7/+4
| | | | | | | | | Submitted by: Jilles Tjoelker <jilles@stack.nl> (original version) PR: docs/70616 (part of) MFC after: 1 week Notes: svn path=/head/; revision=136102
* Deal with double whitespace.Ruslan Ermilov2004-07-031-1/+1
| | | | Notes: svn path=/head/; revision=131507
* Mechanically kill hard sentence breaks.Ruslan Ermilov2004-07-021-1/+2
| | | | Notes: svn path=/head/; revision=131491
* Bumped the document date.Ruslan Ermilov2004-05-191-2/+2
| | | | | | | Fixed the grammar nit. Notes: svn path=/head/; revision=129434
* - Clarification to how command line arguments are processed.Ken Smith2003-09-281-0/+5
| | | | | | | | | PR: docs/55613 Submitted by: gshapiro@freebsd.org Approved by: blackend (mentor) Notes: svn path=/head/; revision=120557
* typoPhilippe Charnier2003-06-081-1/+1
| | | | Notes: svn path=/head/; revision=116047
* mdoc(7) police: markup polishing.Ruslan Ermilov2002-11-261-1/+1
| | | | | | | Approved by: re Notes: svn path=/head/; revision=107276
* Add a new '-s' option to su(1): if the flag is present, attempt toRobert Watson2002-10-231-1/+9
| | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=105758
* Use `The .Nm utility'Philippe Charnier2002-04-201-2/+3
| | | | Notes: svn path=/head/; revision=95124
* Fix a few typos.Giorgos Keramidas2002-03-301-2/+2
| | | | | | | | | | | | 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 Notes: svn path=/head/; revision=93417
* mdoc(7) police: join split punctuation to macro calls.Ruslan Ermilov2001-08-101-2/+1
| | | | Notes: svn path=/head/; revision=81462
* Remove whitespace at EOL.Dima Dorfman2001-07-151-5/+5
| | | | Notes: svn path=/head/; revision=79755
* Deconvolute the authentication mess, and hand total responsiblityMark Murray2001-05-261-37/+7
| | | | | | | | | | | | | 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. Notes: svn path=/head/; revision=77220
* Dike out the Kerberos(IV) support on the grounds that better kerberosMark Murray2001-04-281-13/+14
| | | | | | | support can be already obtained via PAM. Notes: svn path=/head/; revision=76103
* Add full PAM support for account management and sessions.Mark Murray2001-03-271-0/+7
| | | | | | | | | | 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> Notes: svn path=/head/; revision=74874
* mdoc(7) police: use the new features of the Nm macro.Ruslan Ermilov2000-11-201-2/+2
| | | | Notes: svn path=/head/; revision=68963
* Document the ``-'' option and minor re-wording in EXAMPLESMark Ovens2000-08-051-2/+12
| | | | Notes: svn path=/head/; revision=64288
* Remove single-space hard sentence breaks. These degrade the qualitySheldon Hearn2000-03-011-1/+2
| | | | | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc. Notes: svn path=/head/; revision=57670
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50477
* Add JKH's auth.conf parser to turn on/off Kerberos in userlandMark Murray1998-10-091-1/+6
| | | | Notes: svn path=/head/; revision=40128
* Reword to remove confusion between su(1)'s "-c" option and that of the shellJoseph Koshy1998-06-081-9/+16
| | | | | | | | | being invoked. Add example that clarifies usage of "-c". PR: 6859 Notes: svn path=/head/; revision=36750
* Allow a user in group 0 to su(1) to root if their primarySteve Price1998-05-251-4/+7
| | | | | | | | | | | | 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> Notes: svn path=/head/; revision=36348
* Add -c option that allows root to specify a login_class.Guido van Rooij1997-10-271-14/+8
| | | | Notes: svn path=/head/; revision=30793
* PR: docs/4383Wolfram Schneider1997-09-131-5/+14
| | | | | | | | | su manpage ambiguous regarding command prompt Submitted by: sheldonh@iafrica.com Notes: svn path=/head/; revision=29333
* fix a few spelling changesJohn-Mark Gurney1997-08-301-2/+2
| | | | | | | | | | | Submitted by: Josh Gilliam Closes PR's: 4429, 4431-4438 PS: He has agreed to submit all contrib fixes back to the original author. Notes: svn path=/head/; revision=28935
* Add usage().Philippe Charnier1997-08-121-7/+7
| | | | Notes: svn path=/head/; revision=28099
* When group wheel is empty, allow everyone to su to root. This has normallyGuido van Rooij1997-02-241-3/+4
| | | | | | | | | | no conseqeunces as we ship with a non-empty wheel. Closes PR/1882 Submitted by: Arne Henrik Juul <arnej@frida.imf.unit.no> Notes: svn path=/head/; revision=23085
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-221-1/+1
| | | | Notes: svn path=/head/; revision=23012
* Sort cross references.Wolfram Schneider1997-01-151-4/+4
| | | | Notes: svn path=/head/; revision=21748
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-141-1/+1
| | | | | | | | | | | 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. Notes: svn path=/head/; revision=21673
* Document effect of login class capabilities.David Nugent1997-01-131-1/+10
| | | | Notes: svn path=/head/; revision=21647
* [HISTORY] command appeared in Version 1 AT&T UNIXWolfram Schneider1996-08-291-1/+2
| | | | | | | Obtained from: A Quarter Century of UNIX, Peter H. Salus, page 41 Notes: svn path=/head/; revision=17891
* Bring Barry Morris' changes from FreeBSD 1.1.5.1 back: pass argumentsJoerg Wunsch1995-09-061-1/+28
| | | | | | | | | | | | 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 Notes: svn path=/head/; revision=10586
* BSD 4.4 Lite Usr.bin SourcesRodney W. Grimes1994-05-271-0/+172
Notes: svn path=/cvs2svn/branches/CHRISTOS/; revision=1590