aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/su/su.c
Commit message (Expand)AuthorAgeFilesLines
* The upper while loop has already recycled child process, so the ifDavid Xu2007-10-181-3/+1
* Significantly reduce the memory leak as noted in BUGS section forSean Farley2007-07-041-2/+6
* Back out all POSIXified *env() changes.Andrey A. Chernov2007-05-011-3/+2
* Prepare for upcoming POSIXed putenv() rewrite:Andrey A. Chernov2007-04-301-2/+3
* Backout previous change (SIGSYS related). The fix has been applied to theMaxim Sobolev2006-10-241-2/+0
* Ignore SIGSYS when BSM is compiled in. Otherwise, attempt to invoke su onMaxim Sobolev2006-10-241-0/+2
* Do not chdir(2) until after setuid(2), otherwise "su - username" would failLuoqi Chen2006-09-291-6/+4
* Integrate audit_submit(3) bits into su. This means that records forChristian S.J. Peron2006-09-011-6/+68
* Fix the other su bug reintroduced two commits ago, namelyBrian Somers2006-01-031-1/+14
* Handle the case (that I just broke) where the following hangs:Brian Somers2006-01-021-1/+3
* Remove broken code that mucks about with tcsetpgrp() -- even ifBrian Somers2006-01-021-7/+0
* If su(1) is run without an effective uid of 0, generate an error toRobert Watson2005-01-171-3/+33
* Oops. My last commit included a bug that would make "su -m" alwaysMark Murray2004-06-151-2/+0
* Paranoia, WARNS fixes and lint.Mark Murray2004-06-131-19/+19
* Add FBSDID. Do not dot terminate errx(3) string.Philippe Charnier2004-04-041-5/+6
* When root tries to su to a non-existent user, pam_authenticate() willDag-Erling Smørgrav2004-01-061-4/+4
* Be sure to restore foreground group to parent su before parent suDavid Xu2003-11-041-1/+2
* It seems when su executes in a shell scripts, there is a timing race,David Xu2003-11-031-0/+2
* Fix broken su -m behaviour :Olivier Houchard2003-10-191-4/+2
* PAM-related improvements:Dag-Erling Smørgrav2003-04-081-37/+59
* Put child process in a different process group, ensure that the broadcastDavid Xu2003-03-271-6/+22
* Fix style bugs in the previous commit (which weren't in bde's patch)Dag-Erling Smørgrav2003-03-111-2/+0
* Reset SIGTSTP handler to default both for parent and child process.David Xu2003-03-111-3/+4
* Fix long standing job control bug. SIGTSTP shouldn't be ignored.David Xu2003-03-111-1/+0
* Pass the correct, verified username to PAM instead of getlogin().Dag-Erling Smørgrav2003-02-061-1/+1
* Add a new '-s' option to su(1): if the flag is present, attempt toRobert Watson2002-10-231-4/+14
* When a user gets refused because the password is wrong, use theMark Murray2002-10-181-0/+4
* Style: use sa_handler instead of __sigaction_u.__sa_handler.Tim J. Robbins2002-10-171-1/+1
* Remove an unused variable.Poul-Henning Kamp2002-10-141-2/+0
* Fix typing error in prev. commitAndrey A. Chernov2002-08-121-1/+1
* Fix style bug in prev. commitAndrey A. Chernov2002-08-121-2/+1
* Fix su job control (recently introduced for PAM cleanup purposes) to notAndrey A. Chernov2002-08-121-3/+6
* Back out workaround of fixing "suspend/fg" by price of breaking "stop $$/fg".Andrey A. Chernov2002-08-071-1/+3
* Remove tcsetpgrp() stuff across suspend/continue because it cause upper levelAndrey A. Chernov2002-07-091-3/+1
* This is Alexander Kabaev's patch to solve the signal problem with suMatthew Dillon2002-06-261-0/+11
* Backout 1.51 on DES's request.Matthew Dillon2002-06-261-2/+0
* Make our child the leader of its own process group to avoid receivingDag-Erling Smørgrav2002-05-291-0/+2
* Drive-by whitespace cleanup & add NAI copyrightDag-Erling Smørgrav2002-05-281-2/+9
* Belatedly OpenPAMify. I forgot this patch in last night's megacommit.Dag-Erling Smørgrav2002-03-061-2/+2
* Don't set PAM_RHOST, this is a local login.Dag-Erling Smørgrav2002-01-241-5/+1
* Reinstate complete (and now correctly functioning) WARNS=2.Mark Murray2001-09-121-6/+10
* Back out (with prejudice) the last WARNS=2 fix. I cannot understandMark Murray2001-09-071-10/+6
* WARNS=2 fixes.Mark Murray2001-09-041-6/+10
* Very minor stylistic nit.Mark Murray2001-08-201-2/+1
* Substitute ARGSTR in-place.Ruslan Ermilov2001-08-151-4/+3
* Fixed the usage() string.Ruslan Ermilov2001-08-151-1/+3
* Set the RUSER for PAM so that (eg) kerberos can set up tickets properly.Mark Murray2001-08-111-0/+2
* WARNS=2 type cleanup.Mark Murray2001-08-111-5/+5
* Deconvolute the authentication mess, and hand total responsiblityMark Murray2001-05-261-303/+217
* Tell the user what group they must be in to su to root.David E. O'Brien2001-05-101-1/+4