| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2023-03-24 | PR misc/57287 from Nan Xiao | kre | |
| While it has always been assumed that everyone "just knew" that a simple "su' meant "su root" perhaps the man page really should make that explicit. Do that (using slightly different wording than suggested in the PR). | |||
| 2019-09-01 | Remove superfluous Ns. | wiz | |
| 2019-09-01 | su was in v1 | sevan | |
| https://www.bell-labs.com/usr/dmr/www/man13.pdf | |||
| 2017-05-18 | Correct the man page reference | abhinav | |
| 2014-09-19 | Sort sections. From Henning Petersen in PR 49222. | wiz | |
| 2012-11-21 | Note that 'su -l' does not update utmp and related databases. | pgoyette | |
| 2009-05-18 | Sort options. | wiz | |
| 2007-10-27 | bump date. | christos | |
| 2007-10-27 | uncomment the group handling documentation. | christos | |
| 2007-10-17 | From Anon Ymous: | christos | |
| - general cleanup [e-funcs, lint fixes, exit values, more error checking] - add the ability to change the primary group group as login:group, or :group *disabled*, until it is discussed. - remove krb4 code since there is no more krb4 code in the tree. - also make the old su behave like the pam su: su to the same user, does not ask for a password. - split out shared code into a separate file. | |||
| 2005-12-15 | Give a general description what this command does before going into | hubertf | |
| all the details. | |||
| 2005-07-05 | Set LOGNAME in the new environment (in addition to USER); | kleink | |
| fixes PR bin/30670 from Pavel Cahyna. | |||
| 2005-06-19 | Use groff macros instead of troff ones. | wiz | |
| 2005-06-19 | Drop trailing whitespace. | wiz | |
| 2005-04-05 | Update with pam descriptions. | christos | |
| XXX: needs more work. 1. code needs to be added in pam_group.so to handle indirect groups and documented. 2. the indirect group description outside before the customization section does not work with pam, but could be made to work once [1] is implemented. | |||
| 2005-02-28 | Fix unmatched .El warning. | christos | |
| 2005-02-01 | Add commented out notes on how we support the special compilation options | christos | |
| under pam. | |||
| 2004-04-27 | Remove a leftover line apparently from rev. 1.17; also from Juha Hyttinen | kleink | |
| in PR bin/25347. | |||
| 2004-04-27 | Fix typo (SU_INDIRECT_GROOP -> SU_INDIRECT_GROUP). PR#25347 from | cjep | |
| Juha Hyttinen. | |||
| 2003-09-17 | Hey, wiz! Doesn't this need a comma? | atatat | |
| 2003-08-23 | Comma and Pp police. Bump date for last. | wiz | |
| 2003-08-20 | Normalize the program's compilation options so they are all of the form SU_ | christos | |
| and document them. | |||
| 2003-08-07 | Move UCB-licensed code from 4-clause to 3-clause licence. | agc | |
| Patches provided by Joel Baker in PR 22365, verified by myself. | |||
| 2003-04-27 | Drop trailing space. | wiz | |
| 2003-04-27 | Implement the `-d' option, which behaves as `-l' but does not change the | jmmv | |
| current directory. Idea suggested by dsl@ in source-changes. | |||
| 2003-04-24 | Bump date for last. | wiz | |
| 2003-04-20 | PR/5803: Gregg A. Woods: su doesn't support it's "-f" option for sh and/or ksh | christos | |
| fixed by unsetenv("ENV") when -f is set and the shell is not csh. | |||
| 2003-02-25 | .Nm does not need a dummy argument ("") before punctuation or | wiz | |
| for correct formatting of the SYNOPSIS any longer. | |||
| 2003-02-21 | Add missing dot to the `-' option. Ok'ed by wiz. | jmmv | |
| 2003-01-19 | Add EXIT STATUS section. | jmmv | |
| 2002-10-13 | New sentence, new line; drop trailing whitespace. | wiz | |
| 2002-10-05 | Make example clearer, that the -c _after_ the login is passed to the shell. | hubertf | |
| Addresses PR 18538 by reed@reedmedia.net | |||
| 2001-12-08 | Sort sections, sort SEE ALSO, use .Pp instead of empty lines. | wiz | |
| 2001-04-04 | kerberos(1) -> (8). Sort SEE ALSO. | wiz | |
| 2001-03-08 | Correct the HISTORY section, per PR 11192 and Robert Elz. | fair | |
| 2001-01-10 | If SU_INDIRECT_GROUP is defined (it is by default), then su will | sjg | |
| consider that SUGROUP and ROOTAUTH group contain the names of users and groups. If user is not found in the list check_ingroup() recurses on each member until either user is found or end of chain is reached. The above allows su's use of the wheel group to be extended to a large number of users without necessarily putting them in group wheel, and in a way that will work over NIS that simply extending the line length limit in getgrent.c cannot. | |||
| 2000-05-10 | Add some examples of usage. Modelled after what is in Solaris manpage, | jdolecek | |
| though no text has been actually copied from there (for legal reasons). | |||
| 2000-02-11 | Set SU_FROM environment variable. This can be used to determine a 'su -' | abs | |
| shell from a real login shell (but only if you care). | |||
| 2000-01-14 | Implement login_cap capability lookup. | mjl | |
| 1999-09-27 | Mention "-" is the same as "-l". Closes PR/8499 by Matthew Aldous. | mjl | |
| 1999-05-02 | Bring $PATH information in sync with _PATH_DEFPATH. | kleink | |
| 1997-10-19 | WARNSify, fix .Nm usage, deprecate register, getopt returns -1 not EOF | lukem | |
| 1997-07-02 | As per discussion with mrg, back out parts of previous change. | lukem | |
| The appropriate entry in /etc/group as returned by getgrnam() is used to determine if 'su root' may be permitted, rather than checking if membership exists in the result of getgroups(). The following changes were made regarding the behaviour of the special group for 'su root' * allow for definition of SUGROUP (defaults to "wheel") to override group name. * use getgrnam(SUGROUP) instead of getgrgid(0). * only scan getgrnam(SUGROUP)->gr_mem when checking for group membership. * be more specific as to why 'su root' failed NOTE: If a user's primary group is SUGROUP, and they're not a member of SUGROUP in /etc/group, they will not be able to su. | |||
| 1997-06-27 | * Notify of impending password or account expiry (check against | lukem | |
| _PASSWORD_WARNDAYS from <pwd.h>). For non-root users, enforce expiry when it happens. From Simon Gerraty <sjg@zen.void.oz.au> in [bin/935]. * Check for group 0 in process's current group membership (as returned by getgroups(2)), instead of just looking at the entry for wheel in /etc/group. Based on code by Dan Caresone <dan@oink.geek.com.au> in [bin/792], and also solves [bin/2466]. * Clean up to pass -Wall | |||
| 1997-03-08 | alternate -> alternative, per PR 2643 | mouse | |
| 1997-01-31 | Document the recent change in group wheel semantics. Also, it wasn't | ghudson | |
| previously documented that anyone could su to root if group 0 didn't exist. | |||
| 1997-01-20 | Add list of bugs: relies only on /etc/group for group membership, | cjs | |
| sets policy in code. | |||
| 1997-01-09 | Sync to 4.4BSD-Lite2 | tls | |
| 1994-09-05 | Document usage of additional arguments after login name, as suggested by | mycroft | |
| Peter da Silva (slightly edited). | |||
| 1994-05-24 | add skey support | deraadt | |
