Commit Graph

19 Commits

Author SHA1 Message Date
odd-dwm c34c90a1e7 i 2022-08-10 10:00:29 +05:30
Duncan Overbruck b96106b7e3
pam: always print pam_conv messages to stderr
Fixes #95
2022-02-21 22:01:30 +01:00
martijn e8e8713b26
s/authorization/authentication/g
OK kn@ tedu@
2021-01-28 20:40:51 +01:00
Duncan Overbruck a1ab056bcc
pam: use PAM_REINITIALIZE_CRED
Both work fine, PAM_REINITIALIZE_CRED is the more correct
choice and is required on Solaris, see sudo bug #642;

https://bugzilla.sudo.ws/show_bug.cgi?id=642
2020-11-14 16:44:02 +01:00
Duncan Overbruck 46db70a5a4
pam.c: free rsp in case of failure 2020-11-12 22:29:08 +01:00
Duncan Overbruck b38cfb8a3a
pam.c: remove dead assignment 2020-11-12 22:29:08 +01:00
Duncan Overbruck 0a42dd6437
remove includes.h and move the prototypes to doas.h 2020-11-12 22:29:08 +01:00
Duncan Overbruck 22b68970dd
libopenbsd: clean up readpassphrase compat and fix ifdefs 2020-11-12 22:27:57 +01:00
Duncan Overbruck a3264b9072
use config.h and link objects instead of libopenbsd.a 2020-11-12 17:23:46 +01:00
Duncan Overbruck 46a5abc4ac
move HOST_NAME_MAX to the top and add it to shadow.c 2020-11-12 14:11:05 +01:00
Sunil Nimmagadda b1ae418af4 Fallback definition for HOST_NAME_MAX.
On some platforms(NetBSD) where HOST_NAME_MAX is not defined,
provide a fallback definition to _POSIX_HOST_NAME_MAX.
2020-11-05 15:23:08 +01:00
Duncaen 8b2a776ddd pam: close timestamp fd in both both processes 2019-01-30 23:43:12 +01:00
Duncaen ed7fb0a2f4 pam: add timestamp support 2019-01-30 23:19:17 +01:00
Duncaen 3df794793e doas: remove unnecessary configure checks, move shadow to its own file 2019-01-30 23:19:17 +01:00
Duncaen 4b1b24b7ef pam: check watch child pid 2018-04-06 18:16:30 +02:00
Duncaen 03b7619e47 minor tweaks 2016-06-27 21:46:31 +02:00
Duncaen c05e559c4c fix pamcleanup 2016-06-27 18:20:03 +02:00
Duncaen f4a7d3640c some more cleanup and refactoring of pam code 2016-06-26 23:11:07 +02:00
Duncaen 0473a9be20 rename doas_pam.c to pam.c 2016-06-24 16:55:50 +02:00
Renamed from doas_pam.c (Browse further)