#
1.28 |
|
24-Jan-2022 |
andvar |
s/begining/beginning/ in comments and messages.
|
#
1.27 |
|
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.
|
Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406
|
#
1.26 |
|
08-Feb-2020 |
kamil |
Avoid use-after-free bug in PAM environment
Traditional BSD putenv(3) was creating an internal copy of the passed argument. Unfortunately this was causing memory leaks and was changed by POSIX to not allocate.
Adapt the putenv(3) usage to modern POSIX (and NetBSD) semantics.
|
Revision tags: netbsd-9-2-RELEASE netbsd-9-1-RELEASE netbsd-8-2-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
|
#
1.25 |
|
29-Oct-2015 |
shm |
branches: 1.25.16; - Added error checks for initgroups(3) and setgroups(2). - Reorder functions in privilege regain - setgroups(2) should be called after seteuid(2).
OK christos@
|
#
1.24 |
|
12-Nov-2014 |
aymeric |
Remove the syslogging of a dial out login warning based on the tty name, because the test is sloppy and doesn't correspond to the current naming anyway. OK gdt@ PR#377 can remain closed.
|
Revision tags: netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 tls-maxphys-base
|
#
1.23 |
|
18-Oct-2013 |
christos |
branches: 1.23.4; fix unused variable warnings
|
Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6 yamt-pagecache-base5
|
#
1.22 |
|
23-Apr-2012 |
martin |
branches: 1.22.2; trimusername (which does not exist) probably was meant to be called trimloginname (which does exist, at least)
|
#
1.21 |
|
22-Apr-2012 |
christos |
make krb5 compile again. XXX: one function left that is deprecated, what's the new equivalent?
|
Revision tags: yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231
|
#
1.20 |
|
29-Dec-2009 |
christos |
branches: 1.20.6; 1.20.8; PR/42540: Ed Ravin: /usr/bin/login does not log normal logins, and does not log ip addresses. - Factor out the common code in login.c and login_pam.c into common.c - Always log a login event - Check passed in sockaddr against the one from getpeername(2).
|
Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE jym-xensuspend-nbase netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 jym-xensuspend-base netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2
|
#
1.19 |
|
21-Jul-2008 |
lukem |
Remove the \n and tabs from the __COPYRIGHT() strings. Tweak to use a consistent format.
|
Revision tags: wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 wrstuden-revivesa-base yamt-pf42-base keiichi-mipv6-nbase keiichi-mipv6-base matt-armv6-nbase matt-armv6-prevmlocking cube-autoconf-base matt-armv6-base matt-mips64-base hpcarm-cleanup-base
|
#
1.18 |
|
09-May-2007 |
christos |
branches: 1.18.12; PR/36294: De Zeurkous: login(1) -- inconsistent exit behavior on EOF - Always EXIT_FAILURE when login fails. - Cleanup fork code in krb5 (old login).
|
Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase wrstuden-fixsa-base-1 netbsd-4-0-RELEASE netbsd-4-0-RC5 netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 wrstuden-fixsa-base abandoned-netbsd-4-base netbsd-4-base chap-midi-nbase chap-midi-base
|
#
1.17 |
|
17-Apr-2006 |
christos |
GC old signal handling and merge it in 4 places: 1. Immediately ignore all the signals we want to ignore and set the alarm. 2. Before we exit on error, restore all signals we modified 3. Before we exec a shell, restore all signals we modified and ignore TSTP. Job control aware shells know how to deal with this. 4. Temporarily handle SIGINT while we read motd.
|
#
1.16 |
|
22-Mar-2006 |
christos |
PR/33128: Martin Husemann: When login in on the console, SIGABRT is ignored Both SIGINT and SIGABRT should be restored before executing the shell.
|
#
1.15 |
|
19-Mar-2006 |
jnemeth |
Fix Coverity run 5, issue 1931 -- memory leak. This was noted as being a bug by cgilbert. Approved by christos@.
|
#
1.14 |
|
08-Mar-2006 |
jnemeth |
PR/23616: Christian Biere: login might not back-off as expected
|
#
1.13 |
|
06-Mar-2006 |
jnemeth |
PR/30923: Zafer Aydogan: pam too verbose
Don't display a different message for root logins on insecure terminals.
Approved by christos@.
|
#
1.12 |
|
20-Feb-2006 |
christos |
Propagate change from login.c where if getpeername succeeded, then we have the sockaddr from the remote peer.
|
#
1.11 |
|
19-Feb-2006 |
christos |
PR/32870: Johan Veenhuizen: login(1) does not obey .hushlogin
|
#
1.10 |
|
01-Nov-2005 |
christos |
Update documentation for pam, and don't accept flags that we don't support anymore.
|
#
1.9 |
|
21-Sep-2005 |
christos |
use getgrnam_r; from Jon Nemeth
|
#
1.8 |
|
25-Apr-2005 |
matt |
Terminate variable argument list with NULL, not 0.
|
#
1.7 |
|
19-Apr-2005 |
lukem |
Safety boots: don't depend upon getpwnam_r() to set pwd to NULL on all failures, especially as we're ignoring the return result.
|
#
1.6 |
|
03-Apr-2005 |
christos |
Don't report that we don't know the username. We don't want to give out more information that we need to.
|
#
1.5 |
|
30-Mar-2005 |
christos |
- use getpwnam_r - KNF
|
Revision tags: netbsd-3-base
|
#
1.4 |
|
03-Mar-2005 |
christos |
branches: 1.4.2; 1. Restore missing tty action. 2. Pass the nested user name to pam. 3. always try to fill in sockaddr.
|
#
1.3 |
|
28-Feb-2005 |
christos |
- deal with ptyfs pty names. - put back chown pty code. - use setproctitle(NULL) to kill our argument display. - don't wait for any pid, just the one we forked.
|
#
1.2 |
|
01-Feb-2005 |
christos |
Add setting of PAM_SOCKADDR.
|
#
1.1 |
|
23-Jan-2005 |
manu |
Add PAM support to login(8)
|
#
1.27 |
|
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.
|
Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406
|
#
1.26 |
|
08-Feb-2020 |
kamil |
Avoid use-after-free bug in PAM environment
Traditional BSD putenv(3) was creating an internal copy of the passed argument. Unfortunately this was causing memory leaks and was changed by POSIX to not allocate.
Adapt the putenv(3) usage to modern POSIX (and NetBSD) semantics.
|
Revision tags: netbsd-9-2-RELEASE netbsd-9-1-RELEASE netbsd-8-2-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
|
#
1.25 |
|
29-Oct-2015 |
shm |
branches: 1.25.16; - Added error checks for initgroups(3) and setgroups(2). - Reorder functions in privilege regain - setgroups(2) should be called after seteuid(2).
OK christos@
|
#
1.24 |
|
12-Nov-2014 |
aymeric |
Remove the syslogging of a dial out login warning based on the tty name, because the test is sloppy and doesn't correspond to the current naming anyway. OK gdt@ PR#377 can remain closed.
|
Revision tags: netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 tls-maxphys-base
|
#
1.23 |
|
18-Oct-2013 |
christos |
branches: 1.23.4; fix unused variable warnings
|
Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6 yamt-pagecache-base5
|
#
1.22 |
|
23-Apr-2012 |
martin |
branches: 1.22.2; trimusername (which does not exist) probably was meant to be called trimloginname (which does exist, at least)
|
#
1.21 |
|
22-Apr-2012 |
christos |
make krb5 compile again. XXX: one function left that is deprecated, what's the new equivalent?
|
Revision tags: yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231
|
#
1.20 |
|
29-Dec-2009 |
christos |
branches: 1.20.6; 1.20.8; PR/42540: Ed Ravin: /usr/bin/login does not log normal logins, and does not log ip addresses. - Factor out the common code in login.c and login_pam.c into common.c - Always log a login event - Check passed in sockaddr against the one from getpeername(2).
|
Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE jym-xensuspend-nbase netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 jym-xensuspend-base netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2
|
#
1.19 |
|
21-Jul-2008 |
lukem |
Remove the \n and tabs from the __COPYRIGHT() strings. Tweak to use a consistent format.
|
Revision tags: wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 wrstuden-revivesa-base yamt-pf42-base keiichi-mipv6-nbase keiichi-mipv6-base matt-armv6-nbase matt-armv6-prevmlocking cube-autoconf-base matt-armv6-base matt-mips64-base hpcarm-cleanup-base
|
#
1.18 |
|
09-May-2007 |
christos |
branches: 1.18.12; PR/36294: De Zeurkous: login(1) -- inconsistent exit behavior on EOF - Always EXIT_FAILURE when login fails. - Cleanup fork code in krb5 (old login).
|
Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase wrstuden-fixsa-base-1 netbsd-4-0-RELEASE netbsd-4-0-RC5 netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 wrstuden-fixsa-base abandoned-netbsd-4-base netbsd-4-base chap-midi-nbase chap-midi-base
|
#
1.17 |
|
17-Apr-2006 |
christos |
GC old signal handling and merge it in 4 places: 1. Immediately ignore all the signals we want to ignore and set the alarm. 2. Before we exit on error, restore all signals we modified 3. Before we exec a shell, restore all signals we modified and ignore TSTP. Job control aware shells know how to deal with this. 4. Temporarily handle SIGINT while we read motd.
|
#
1.16 |
|
22-Mar-2006 |
christos |
PR/33128: Martin Husemann: When login in on the console, SIGABRT is ignored Both SIGINT and SIGABRT should be restored before executing the shell.
|
#
1.15 |
|
19-Mar-2006 |
jnemeth |
Fix Coverity run 5, issue 1931 -- memory leak. This was noted as being a bug by cgilbert. Approved by christos@.
|
#
1.14 |
|
08-Mar-2006 |
jnemeth |
PR/23616: Christian Biere: login might not back-off as expected
|
#
1.13 |
|
06-Mar-2006 |
jnemeth |
PR/30923: Zafer Aydogan: pam too verbose
Don't display a different message for root logins on insecure terminals.
Approved by christos@.
|
#
1.12 |
|
20-Feb-2006 |
christos |
Propagate change from login.c where if getpeername succeeded, then we have the sockaddr from the remote peer.
|
#
1.11 |
|
19-Feb-2006 |
christos |
PR/32870: Johan Veenhuizen: login(1) does not obey .hushlogin
|
#
1.10 |
|
01-Nov-2005 |
christos |
Update documentation for pam, and don't accept flags that we don't support anymore.
|
#
1.9 |
|
21-Sep-2005 |
christos |
use getgrnam_r; from Jon Nemeth
|
#
1.8 |
|
25-Apr-2005 |
matt |
Terminate variable argument list with NULL, not 0.
|
#
1.7 |
|
19-Apr-2005 |
lukem |
Safety boots: don't depend upon getpwnam_r() to set pwd to NULL on all failures, especially as we're ignoring the return result.
|
#
1.6 |
|
03-Apr-2005 |
christos |
Don't report that we don't know the username. We don't want to give out more information that we need to.
|
#
1.5 |
|
30-Mar-2005 |
christos |
- use getpwnam_r - KNF
|
Revision tags: netbsd-3-base
|
#
1.4 |
|
03-Mar-2005 |
christos |
branches: 1.4.2; 1. Restore missing tty action. 2. Pass the nested user name to pam. 3. always try to fill in sockaddr.
|
#
1.3 |
|
28-Feb-2005 |
christos |
- deal with ptyfs pty names. - put back chown pty code. - use setproctitle(NULL) to kill our argument display. - don't wait for any pid, just the one we forked.
|
#
1.2 |
|
01-Feb-2005 |
christos |
Add setting of PAM_SOCKADDR.
|
#
1.1 |
|
23-Jan-2005 |
manu |
Add PAM support to login(8)
|
#
1.26 |
|
08-Feb-2020 |
kamil |
Avoid use-after-free bug in PAM environment
Traditional BSD putenv(3) was creating an internal copy of the passed argument. Unfortunately this was causing memory leaks and was changed by POSIX to not allocate.
Adapt the putenv(3) usage to modern POSIX (and NetBSD) semantics.
|
Revision tags: netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
|
#
1.25 |
|
29-Oct-2015 |
shm |
- Added error checks for initgroups(3) and setgroups(2). - Reorder functions in privilege regain - setgroups(2) should be called after seteuid(2).
OK christos@
|
#
1.24 |
|
12-Nov-2014 |
aymeric |
Remove the syslogging of a dial out login warning based on the tty name, because the test is sloppy and doesn't correspond to the current naming anyway. OK gdt@ PR#377 can remain closed.
|
Revision tags: netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 tls-maxphys-base
|
#
1.23 |
|
18-Oct-2013 |
christos |
branches: 1.23.4; fix unused variable warnings
|
Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6 yamt-pagecache-base5
|
#
1.22 |
|
23-Apr-2012 |
martin |
branches: 1.22.2; trimusername (which does not exist) probably was meant to be called trimloginname (which does exist, at least)
|
#
1.21 |
|
22-Apr-2012 |
christos |
make krb5 compile again. XXX: one function left that is deprecated, what's the new equivalent?
|
Revision tags: yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231
|
#
1.20 |
|
29-Dec-2009 |
christos |
branches: 1.20.6; 1.20.8; PR/42540: Ed Ravin: /usr/bin/login does not log normal logins, and does not log ip addresses. - Factor out the common code in login.c and login_pam.c into common.c - Always log a login event - Check passed in sockaddr against the one from getpeername(2).
|
Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE jym-xensuspend-nbase netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 jym-xensuspend-base netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2
|
#
1.19 |
|
21-Jul-2008 |
lukem |
Remove the \n and tabs from the __COPYRIGHT() strings. Tweak to use a consistent format.
|
Revision tags: wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 wrstuden-revivesa-base yamt-pf42-base keiichi-mipv6-nbase keiichi-mipv6-base matt-armv6-nbase matt-armv6-prevmlocking cube-autoconf-base matt-armv6-base matt-mips64-base hpcarm-cleanup-base
|
#
1.18 |
|
09-May-2007 |
christos |
branches: 1.18.12; PR/36294: De Zeurkous: login(1) -- inconsistent exit behavior on EOF - Always EXIT_FAILURE when login fails. - Cleanup fork code in krb5 (old login).
|
Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase wrstuden-fixsa-base-1 netbsd-4-0-RELEASE netbsd-4-0-RC5 netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 wrstuden-fixsa-base abandoned-netbsd-4-base netbsd-4-base chap-midi-nbase chap-midi-base
|
#
1.17 |
|
17-Apr-2006 |
christos |
GC old signal handling and merge it in 4 places: 1. Immediately ignore all the signals we want to ignore and set the alarm. 2. Before we exit on error, restore all signals we modified 3. Before we exec a shell, restore all signals we modified and ignore TSTP. Job control aware shells know how to deal with this. 4. Temporarily handle SIGINT while we read motd.
|
#
1.16 |
|
22-Mar-2006 |
christos |
PR/33128: Martin Husemann: When login in on the console, SIGABRT is ignored Both SIGINT and SIGABRT should be restored before executing the shell.
|
#
1.15 |
|
19-Mar-2006 |
jnemeth |
Fix Coverity run 5, issue 1931 -- memory leak. This was noted as being a bug by cgilbert. Approved by christos@.
|
#
1.14 |
|
08-Mar-2006 |
jnemeth |
PR/23616: Christian Biere: login might not back-off as expected
|
#
1.13 |
|
06-Mar-2006 |
jnemeth |
PR/30923: Zafer Aydogan: pam too verbose
Don't display a different message for root logins on insecure terminals.
Approved by christos@.
|
#
1.12 |
|
20-Feb-2006 |
christos |
Propagate change from login.c where if getpeername succeeded, then we have the sockaddr from the remote peer.
|
#
1.11 |
|
19-Feb-2006 |
christos |
PR/32870: Johan Veenhuizen: login(1) does not obey .hushlogin
|
#
1.10 |
|
01-Nov-2005 |
christos |
Update documentation for pam, and don't accept flags that we don't support anymore.
|
#
1.9 |
|
21-Sep-2005 |
christos |
use getgrnam_r; from Jon Nemeth
|
#
1.8 |
|
25-Apr-2005 |
matt |
Terminate variable argument list with NULL, not 0.
|
#
1.7 |
|
19-Apr-2005 |
lukem |
Safety boots: don't depend upon getpwnam_r() to set pwd to NULL on all failures, especially as we're ignoring the return result.
|
#
1.6 |
|
03-Apr-2005 |
christos |
Don't report that we don't know the username. We don't want to give out more information that we need to.
|
#
1.5 |
|
30-Mar-2005 |
christos |
- use getpwnam_r - KNF
|
Revision tags: netbsd-3-base
|
#
1.4 |
|
03-Mar-2005 |
christos |
branches: 1.4.2; 1. Restore missing tty action. 2. Pass the nested user name to pam. 3. always try to fill in sockaddr.
|
#
1.3 |
|
28-Feb-2005 |
christos |
- deal with ptyfs pty names. - put back chown pty code. - use setproctitle(NULL) to kill our argument display. - don't wait for any pid, just the one we forked.
|
#
1.2 |
|
01-Feb-2005 |
christos |
Add setting of PAM_SOCKADDR.
|
#
1.1 |
|
23-Jan-2005 |
manu |
Add PAM support to login(8)
|
Revision tags: pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
|
#
1.25 |
|
29-Oct-2015 |
shm |
- Added error checks for initgroups(3) and setgroups(2). - Reorder functions in privilege regain - setgroups(2) should be called after seteuid(2).
OK christos@
|
#
1.24 |
|
12-Nov-2014 |
aymeric |
Remove the syslogging of a dial out login warning based on the tty name, because the test is sloppy and doesn't correspond to the current naming anyway. OK gdt@ PR#377 can remain closed.
|
Revision tags: netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 tls-maxphys-base
|
#
1.23 |
|
18-Oct-2013 |
christos |
branches: 1.23.4; fix unused variable warnings
|
Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6 yamt-pagecache-base5
|
#
1.22 |
|
23-Apr-2012 |
martin |
branches: 1.22.2; trimusername (which does not exist) probably was meant to be called trimloginname (which does exist, at least)
|
#
1.21 |
|
22-Apr-2012 |
christos |
make krb5 compile again. XXX: one function left that is deprecated, what's the new equivalent?
|
Revision tags: yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231
|
#
1.20 |
|
29-Dec-2009 |
christos |
branches: 1.20.6; 1.20.8; PR/42540: Ed Ravin: /usr/bin/login does not log normal logins, and does not log ip addresses. - Factor out the common code in login.c and login_pam.c into common.c - Always log a login event - Check passed in sockaddr against the one from getpeername(2).
|
Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE jym-xensuspend-nbase netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 jym-xensuspend-base netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2
|
#
1.19 |
|
21-Jul-2008 |
lukem |
Remove the \n and tabs from the __COPYRIGHT() strings. Tweak to use a consistent format.
|
Revision tags: wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 wrstuden-revivesa-base yamt-pf42-base keiichi-mipv6-nbase keiichi-mipv6-base matt-armv6-nbase matt-armv6-prevmlocking cube-autoconf-base matt-armv6-base matt-mips64-base hpcarm-cleanup-base
|
#
1.18 |
|
09-May-2007 |
christos |
branches: 1.18.12; PR/36294: De Zeurkous: login(1) -- inconsistent exit behavior on EOF - Always EXIT_FAILURE when login fails. - Cleanup fork code in krb5 (old login).
|
Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase wrstuden-fixsa-base-1 netbsd-4-0-RELEASE netbsd-4-0-RC5 netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 wrstuden-fixsa-base abandoned-netbsd-4-base netbsd-4-base chap-midi-nbase chap-midi-base
|
#
1.17 |
|
17-Apr-2006 |
christos |
GC old signal handling and merge it in 4 places: 1. Immediately ignore all the signals we want to ignore and set the alarm. 2. Before we exit on error, restore all signals we modified 3. Before we exec a shell, restore all signals we modified and ignore TSTP. Job control aware shells know how to deal with this. 4. Temporarily handle SIGINT while we read motd.
|
#
1.16 |
|
22-Mar-2006 |
christos |
PR/33128: Martin Husemann: When login in on the console, SIGABRT is ignored Both SIGINT and SIGABRT should be restored before executing the shell.
|
#
1.15 |
|
19-Mar-2006 |
jnemeth |
Fix Coverity run 5, issue 1931 -- memory leak. This was noted as being a bug by cgilbert. Approved by christos@.
|
#
1.14 |
|
08-Mar-2006 |
jnemeth |
PR/23616: Christian Biere: login might not back-off as expected
|
#
1.13 |
|
06-Mar-2006 |
jnemeth |
PR/30923: Zafer Aydogan: pam too verbose
Don't display a different message for root logins on insecure terminals.
Approved by christos@.
|
#
1.12 |
|
20-Feb-2006 |
christos |
Propagate change from login.c where if getpeername succeeded, then we have the sockaddr from the remote peer.
|
#
1.11 |
|
19-Feb-2006 |
christos |
PR/32870: Johan Veenhuizen: login(1) does not obey .hushlogin
|
#
1.10 |
|
01-Nov-2005 |
christos |
Update documentation for pam, and don't accept flags that we don't support anymore.
|
#
1.9 |
|
21-Sep-2005 |
christos |
use getgrnam_r; from Jon Nemeth
|
#
1.8 |
|
25-Apr-2005 |
matt |
Terminate variable argument list with NULL, not 0.
|
#
1.7 |
|
19-Apr-2005 |
lukem |
Safety boots: don't depend upon getpwnam_r() to set pwd to NULL on all failures, especially as we're ignoring the return result.
|
#
1.6 |
|
03-Apr-2005 |
christos |
Don't report that we don't know the username. We don't want to give out more information that we need to.
|
#
1.5 |
|
30-Mar-2005 |
christos |
- use getpwnam_r - KNF
|
Revision tags: netbsd-3-base
|
#
1.4 |
|
03-Mar-2005 |
christos |
branches: 1.4.2; 1. Restore missing tty action. 2. Pass the nested user name to pam. 3. always try to fill in sockaddr.
|
#
1.3 |
|
28-Feb-2005 |
christos |
- deal with ptyfs pty names. - put back chown pty code. - use setproctitle(NULL) to kill our argument display. - don't wait for any pid, just the one we forked.
|
#
1.2 |
|
01-Feb-2005 |
christos |
Add setting of PAM_SOCKADDR.
|
#
1.1 |
|
23-Jan-2005 |
manu |
Add PAM support to login(8)
|