| History log of /src/usr.bin/su/su_pam.c |
| Revision | | Date | Author | Comments |
| 1.25 |
| 07-Sep-2025 |
andvar | Fix various typos, mainly in comments.
|
| 1.24 |
| 24-Mar-2023 |
kre | After a ':' (as in login:group or just :group) insist that there actually be a group name (of some form, don't care what) present.
|
| 1.23 |
| 27-Nov-2021 |
rillig | usr.bin: remove unnecessary CONSTCOND, lint no longer needs it
Since 2021-01-31, lint no longer requires a CONSTCOND comment in a do-while-0 statement since this is a common code pattern, especially in statement-like macros.
|
| 1.22 |
| 10-Sep-2021 |
rillig | usr.bin: remove unnecessary lint comment CONSTCOND
Since 2021-01-31, lint no longer warns about 'do ... while (0)'.
No functional change.
|
| 1.21 |
| 26-Feb-2018 |
htodd | Fix typo in comment.
|
| 1.20 |
| 09-Aug-2015 |
shm | branches: 1.20.8; Do not use pamh after pam_end. It's cosmetic change since pam_strerror ignores that parameter.
|
| 1.19 |
| 29-Jun-2013 |
mlelstv | Change to home directory only after setting the full user context to avoid issues with NFS or other user-mapped mounts that don't give root the privilege to chdir there.
|
| 1.18 |
| 20-Jun-2013 |
christos | - don't re-use the va list twice, leads to coredumps. - introduce and use a "safe" version of pam_strerror(3) that does not return NULL
|
| 1.17 |
| 15-Mar-2012 |
joerg | branches: 1.17.2; Add __printflike attribution to use vprintf and friends with an argument as format string.
|
| 1.16 |
| 02-Oct-2010 |
tron | branches: 1.16.6; Don't free memory that was succesfully passed to putenv(3) which takes ownership of the memory.
|
| 1.15 |
| 21-Jul-2008 |
lukem | Remove the \n and tabs from the __COPYRIGHT() strings. Tweak to use a consistent format.
|
| 1.14 |
| 05-Apr-2008 |
christos | branches: 1.14.4; call setprogname(), from Anon Ymous
|
| 1.13 |
| 17-Oct-2007 |
christos | From Anon Ymous: - 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.
|
| 1.12 |
| 14-May-2006 |
mlelstv | branches: 1.12.12; restore elevated priority before launching command in user context. Fixes PR 33479.
|
| 1.11 |
| 15-Dec-2005 |
christos | PR/32307: Jason V. Miller: su fails to set umask correctly when using pam and simulating a full login (-, -d, -l)
|
| 1.10 |
| 05-Jul-2005 |
kleink | Set LOGNAME in the new environment (in addition to USER); fixes PR bin/30670 from Pavel Cahyna.
|
| 1.9 |
| 19-Apr-2005 |
christos | check for pwd != NULL
|
| 1.8 |
| 02-Apr-2005 |
he | Put declaration of pwbuf[] back before any code, so this compiles with older versions of gcc again.
|
| 1.7 |
| 30-Mar-2005 |
christos | - Use the getpw*_r methods. - KNF.
|
| 1.6 |
| 23-Mar-2005 |
christos | Deal with signals and process groups (from FreeBSD) Fixes issues with kill -STOP $$ in the su'd shell, and setting up signals for the child process properly.
|
| 1.5 |
| 25-Feb-2005 |
christos | branches: 1.5.2; Don't wait for any process, just our child. pam sessions can fork other processes (such as the ssh pam agent handler) and the wrong process ends up reaped, wreaking havoc.
|
| 1.4 |
| 18-Jan-2005 |
manu | Remove unneeded \ at the end of line, style
|
| 1.3 |
| 12-Jan-2005 |
christos | Always print pam error in messages
|
| 1.2 |
| 10-Jan-2005 |
christos | - make LOGIN_CAP mandatory - eliminate global pamh - use setusercontext() properly (ideas borrowed from FreeBSD) - remove stray debugging.
This now works.
|
| 1.1 |
| 10-Jan-2005 |
christos | Restore su.c to version 1.58, plus minor prototyping. Split pam into su_pam.c, and turn it off by default in the Makefile until it is tested and actually works. The current pam version does not set ruid properly anymore.
|
| 1.5.2.7 |
| 26-May-2006 |
ghen | Pull up following revision(s) (requested by mlelstv in ticket #1343): usr.bin/su/su_pam.c: revision 1.12 restore elevated priority before launching command in user context. Fixes PR 33479.
|
| 1.5.2.6 |
| 16-Dec-2005 |
tron | Pull up following revision(s) (requested by hubertf in ticket #1061): usr.bin/su/su_pam.c: revision 1.11 PR/32307: Jason V. Miller: su fails to set umask correctly when using pam and simulating a full login (-, -d, -l)
|
| 1.5.2.5 |
| 09-Jul-2005 |
tron | Pull up revision 1.10 (requested by kleink in ticket #551): Set LOGNAME in the new environment (in addition to USER); fixes PR bin/30670 from Pavel Cahyna.
|
| 1.5.2.4 |
| 06-Jul-2005 |
tron | Pull up revision 1.9 (requested by lukem in ticket #530): check for pwd != NULL
|
| 1.5.2.3 |
| 06-Jul-2005 |
tron | Pull up revision 1.8 (requested by lukem in ticket #530): Put declaration of pwbuf[] back before any code, so this compiles with older versions of gcc again.
|
| 1.5.2.2 |
| 06-Jul-2005 |
tron | Pull up revision 1.7 (requested by lukem in ticket #530): - Use the getpw*_r methods. - KNF.
|
| 1.5.2.1 |
| 27-Mar-2005 |
tron | Pull up revision 1.6 (requested by christos in ticket #65): Deal with signals and process groups (from FreeBSD) Fixes issues with kill -STOP $$ in the su'd shell, and setting up signals for the child process properly.
|
| 1.12.12.1 |
| 06-Nov-2007 |
matt | sync with HEAD
|
| 1.14.4.1 |
| 18-Sep-2008 |
wrstuden | Sync with wrstuden-revivesa-base-2.
|
| 1.16.6.2 |
| 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
| 1.16.6.1 |
| 17-Apr-2012 |
yamt | sync with head
|
| 1.17.2.2 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
| 1.17.2.1 |
| 23-Jun-2013 |
tls | resync from head
|
| 1.20.8.2 |
| 26-Feb-2018 |
htodd | Undo last commit - wrong tree.
|
| 1.20.8.1 |
| 25-Feb-2018 |
htodd | Fix typo in comment.
|