Commit Graph

4293 Commits

Author SHA1 Message Date
Todd C. Miller
02a894a09c Use HAVE_SIA_SES_INIT instead of HAVE_SIA for Digital UNIX 2008-12-02 17:30:39 +00:00
Todd C. Miller
2464ba1f58 correctly enable SIA on Digital UNIX 2008-11-26 20:10:23 +00:00
Todd C. Miller
498e00374a checkpoint 2008-11-26 01:06:15 +00:00
Todd C. Miller
bc1466519a sync 2008-11-26 01:05:53 +00:00
Todd C. Miller
b18eede622 Even if neither stdin nor stdout are ttys we may still have /dev/tty
available to us.
2008-11-25 17:01:34 +00:00
Todd C. Miller
30296d0500 regen 2008-11-24 15:09:56 +00:00
Todd C. Miller
42771539e2 fix typos; Markus Lude 2008-11-24 15:08:16 +00:00
Todd C. Miller
de66ff1afa sync 2008-11-24 12:08:55 +00:00
Todd C. Miller
13968b685c regen 2008-11-24 00:42:20 +00:00
Todd C. Miller
1c79dd537a Fix matching of a line that only consists of a comment char 2008-11-24 00:41:36 +00:00
Todd C. Miller
c3d3db62f4 MacOS pam will retry conversation function if it fails so just treat
^C as an empty password.
2008-11-22 18:17:44 +00:00
Todd C. Miller
c1a62bf88c When checking for alias use, also check defaults bindings. 2008-11-22 15:12:26 +00:00
Todd C. Miller
8811643f9e unused var 2008-11-22 15:01:25 +00:00
Todd C. Miller
b5a12039ac Replace my rbdelete with Emin's version (which actually works ;-) 2008-11-22 14:42:42 +00:00
Todd C. Miller
1939859a2e malloc debugging 2008-11-19 17:01:20 +00:00
Todd C. Miller
4ed7837195 malloc options in devel mode for visudo too 2008-11-19 12:37:05 +00:00
Todd C. Miller
68baa6346c fix compilation on non-C99; from Theo 2008-11-18 15:57:09 +00:00
Todd C. Miller
d27ceff8ea fix check_aliases 2008-11-18 15:50:53 +00:00
Todd C. Miller
ea81e0446a when destroying an alias, free the correct data pointer 2008-11-18 13:29:58 +00:00
Todd C. Miller
875b888da6 add proto for aixauth_cleanup; from Dale King 2008-11-18 12:54:51 +00:00
Todd C. Miller
d1a43dbe38 regen 2008-11-15 18:34:26 +00:00
Todd C. Miller
59302128df standardize on the term 'option' for command line options (not flag) 2008-11-15 18:34:01 +00:00
Todd C. Miller
7af30b75e3 Add note on configuring HP-UX pam 2008-11-14 11:18:08 +00:00
Todd C. Miller
3cc3114d92 Move tty checks into check_user() so we only do them if we actually
need a password.
2008-11-11 18:28:08 +00:00
Todd C. Miller
8e480f4ae3 Don't error out if no tty or askpass unless we actually need to authenticate. 2008-11-11 17:34:27 +00:00
Todd C. Miller
8141061bf6 regen 2008-11-10 20:20:10 +00:00
Todd C. Miller
43c98580fc s/overriden/overridden/; from Tobias Stoeckmann 2008-11-10 13:07:38 +00:00
Todd C. Miller
235dc7ad0e check sudoers owner and mode in strict mode 2008-11-09 20:19:19 +00:00
Todd C. Miller
a33e988df6 regen 2008-11-09 14:15:36 +00:00
Todd C. Miller
5f934f10fe Update copyright years. 2008-11-09 14:14:14 +00:00
Todd C. Miller
840acbd3ac Update copyright years. 2008-11-09 14:13:13 +00:00
Todd C. Miller
4baa2f90ce add my copyright 2008-11-09 13:48:33 +00:00
Todd C. Miller
b0c1c7979f The loop in fill_cmnd() was going one byte too far past the end, resulting
in a NUL being written immediately after the buffer end.
2008-11-08 15:40:33 +00:00
Todd C. Miller
b8742114ce add sections on tgetpass changes 2008-11-08 15:31:47 +00:00
Todd C. Miller
80ca3a9723 Treat EOF w/o newline as an error. 2008-11-08 15:30:42 +00:00
Todd C. Miller
54a07b5e8b Fix "sudo -v" when NOPASSWD is set. 2008-11-07 22:42:11 +00:00
Todd C. Miller
ff175f7f0a No longer treat an empty password at the prompt as special. To
quit out of sudo you now need to hit ^C at the password prompt.
2008-11-07 17:45:52 +00:00
Todd C. Miller
213eaef4c5 regen 2008-11-07 02:07:11 +00:00
Todd C. Miller
535ed3817c Sudo will now refuse to run if no tty is present unless the new
visiblepw sudoers flag is set.
2008-11-07 02:06:48 +00:00
Todd C. Miller
5c48403659 just use RLIM_INFINITY for RLIM_SAVED_MAX if RLIM_SAVED_MAX not defined 2008-11-06 00:42:37 +00:00
Todd C. Miller
c60c4c71c6 fix fallback value for RLIM_SAVED_MAX 2008-11-06 00:40:01 +00:00
Todd C. Miller
51fae2c9c3 Move clearing of AUTHSTATE into aixauth_cleanup. 2008-11-06 00:14:45 +00:00
Todd C. Miller
50d8974753 Unset AUTHSTATE after calling authenticate() as it may not be correct for
the user we are running the command as.
2008-11-06 00:08:24 +00:00
Todd C. Miller
8654dec3c0 Add isblank() function for systems without it. Needed for POSIX
character class matching in fnmatch.c and glob.c.
2008-11-06 00:05:24 +00:00
Todd C. Miller
b909652ad4 expound on sudo and cd 2008-11-05 16:02:44 +00:00
Todd C. Miller
e94d951ac7 regen 2008-11-04 20:52:50 +00:00
Todd C. Miller
fd4065a837 regen 2008-11-04 20:46:21 +00:00
Todd C. Miller
e2fb6dbb0f mention defauts parse order 2008-11-04 20:45:45 +00:00
Todd C. Miller
48329f0e43 Add isblank() function for systems without it. Needed for POSIX
character class matching in fnmatch.c and glob.c.
2008-11-03 18:19:14 +00:00
Todd C. Miller
49611b132a add emul/charclass.h to HDRS 2008-11-03 17:54:30 +00:00