Todd C. Miller
935a51e76a
FreeBSD login class (login.conf) support.
2000-03-07 04:29:46 +00:00
Todd C. Miller
4ea67119ea
HAVE_SECUREWARE -> HAVE_GETPRPWNAM; fixes secureware support
2000-03-06 19:42:21 +00:00
Todd C. Miller
8a7226ad7d
Truncate unencrypted password to 8 chars if encrypted password is exactly
...
13 characters (indicateing standard a DES password). Many versions
of crypt() do this for you, but not all (like HP-UX's).
2000-03-03 23:04:50 +00:00
Todd C. Miller
02cbda9995
Mention that gcc on dynix may have problems
2000-03-02 02:01:16 +00:00
Todd C. Miller
39e191bca8
Link visudo with NET_LIBS since we now call syslog via defaults.c
2000-02-29 22:46:32 +00:00
Todd C. Miller
f8b1e595a9
Use Argv[0] as the first arg to openlog() since visudo uses this too.
2000-02-29 22:41:40 +00:00
Todd C. Miller
24f8ee8807
Stash coredumpsize resource limit and retsore it before the exec()
...
Otherwise the child ends up with a coredumpsize of 0.
2000-02-28 23:58:17 +00:00
Todd C. Miller
f7fa520540
document -S flag
2000-02-27 03:56:41 +00:00
Todd C. Miller
f1c2ba6aa2
fix usage string
2000-02-27 03:54:20 +00:00
Todd C. Miller
54fbe08545
Added -S flag (read passwd from stdin) and tgetpass_flags global
...
that holds flags to be passed in to tgetpass(). Change echo_off
param to tgetpass() into a flags field. There are currently 2
possible flags for tgetpass(): TGP_ECHO and TGP_STDIN. In tgetpass(),
abstract the echo set/clear via macros and if (flags & TGP_ECHO)
but echo is not set on the terminal, but sure to set it.
2000-02-27 03:49:07 +00:00
Todd C. Miller
de44c711bb
Fixed a bug that caused an infinite loop when the password timeout was disabled.
2000-02-27 03:11:23 +00:00
Todd C. Miller
09b23e7b41
Add rootpw, runaspw, and targetpw options.
2000-02-18 17:56:28 +00:00
Todd C. Miller
44c5092fab
enveditor -> env_editor
2000-02-18 17:11:43 +00:00
Todd C. Miller
73946622ba
crank versino to 1.6.3
2000-02-16 00:07:28 +00:00
Todd C. Miller
020125336c
Add 'editor' and 'enveditor' sudoers defaults and make visudo honor them.
...
This means that visudo will now parse the sudoers file *before* it is
edited so a bogus sudoers file will cause a warning to go to stderr.
Also, visudo checks the variables once--it does not check them after
each editor run since that could be confusing.
2000-02-16 00:03:44 +00:00
Todd C. Miller
43050cc49c
1.6.2 -> 1.6.2p1
2000-02-15 23:49:48 +00:00
Todd C. Miller
fc08d7004c
Move user_is_exempt prototype into sudo.h
2000-02-15 23:36:04 +00:00
Todd C. Miller
82b60ddc2f
Fix thinko, some && should have been || in the last commit
2000-02-13 18:38:14 +00:00
Todd C. Miller
26b93e27fb
Don't initialized Makefile variables to be NULL since the user may
...
want to import variables from their environment.
2000-02-13 18:28:04 +00:00
Todd C. Miller
36a249399c
typo
2000-02-04 02:09:02 +00:00
Todd C. Miller
30c5e442ff
fix a yacc (skeleton.c) warning
2000-01-28 01:41:33 +00:00
Todd C. Miller
a4f529eaec
Make pam work on HP-UX 11.0;jaearick@colby.edu
2000-01-27 20:01:37 +00:00
Todd C. Miller
364a4bef7d
recent changes; prepare for 1.6.2p1
2000-01-27 20:01:35 +00:00
Todd C. Miller
bffb27280b
Don't apply SECURE_PATH if user is example; jmknoble@pobox.com
2000-01-27 04:31:58 +00:00
Todd C. Miller
9abb89750c
Regen with yacc that has a memory leak plugged.
2000-01-26 23:14:18 +00:00
Todd C. Miller
192d338322
Expanded docs on sudoers 'defaults' options based on INSTALL file info.
2000-01-26 21:21:28 +00:00
Todd C. Miller
1db208b999
Fix some while lies
2000-01-26 21:21:00 +00:00
Todd C. Miller
5d05fbe95b
When making a bindist, link FAQ to TROUBLESHOOTING instead of copying.
2000-01-24 15:48:46 +00:00
Todd C. Miller
592bae1d7c
Add netgroup caveat
2000-01-24 03:57:49 +00:00
Todd C. Miller
aa79e11f87
Last minute updates
2000-01-24 03:42:14 +00:00
Todd C. Miller
2386a3f619
PAM entry
2000-01-24 03:26:22 +00:00
Todd C. Miller
0ced99391e
correct a comment
2000-01-24 03:23:40 +00:00
Todd C. Miller
af9bee9051
update for 1.6.2
2000-01-24 03:03:04 +00:00
Todd C. Miller
15a1669d55
Better detection of PAM errors and fix custom prompts with PAM.
...
Based on patches from "Cloyce D. Spradling" <cloyce@headgear.org >
2000-01-24 02:59:12 +00:00
Todd C. Miller
6e5f1c729a
Cast ULONG_MAX to unsigned long long when comparing to an unsigned long long
...
value.
2000-01-20 16:15:41 +00:00
Todd C. Miller
d9790399b3
Fix sudoers locking in visudo. We now lock the sudoers file itself, not
...
the temp file (since locking the temp file can foul up editors). The
previous locking scheme didn't work because the fd was closed too early.
2000-01-19 19:07:24 +00:00
Todd C. Miller
90371b1c03
Don't need test for ftruncate() any more.
2000-01-19 18:37:51 +00:00
Todd C. Miller
f63b8d3211
Add a test for the -Aa flag w/ HP-UX's cc. Fixes compilation with the
...
unbundled HP-UX cc.
2000-01-19 02:23:48 +00:00
Todd C. Miller
e4f3853d70
"a a" -> "a"; Aaron Campbell <aaron@cs.dal.ca>
2000-01-18 22:00:40 +00:00
Todd C. Miller
9e0bae9fc6
update copyright year on changed files
2000-01-17 23:46:26 +00:00
Todd C. Miller
d26184f303
updates
2000-01-17 23:45:37 +00:00
Todd C. Miller
20e44882b7
aix fix
2000-01-17 23:45:28 +00:00
Todd C. Miller
0ab8ad3c64
Crank version to 1.6.2
2000-01-17 23:42:19 +00:00
Todd C. Miller
5d24e69ba4
Crank version to 1.6.2
2000-01-17 23:11:26 +00:00
Todd C. Miller
217cae528a
When using rlimit check for RLIM_INFINITY
...
When computing the value of maxfd, use min(getdtablesize(), RLIMIT_NOFILE)
2000-01-17 22:46:32 +00:00
Todd C. Miller
903bd6ecab
recent changes
2000-01-17 17:32:51 +00:00
Todd C. Miller
6d6c22b4b4
Crank version to 1.6.2
2000-01-17 17:28:41 +00:00
Todd C. Miller
ccb808da31
Add 'shell_noargs' runtime option back in. We have to defer checking
...
until after the sudoers file has been parsed but since there are now
other options that operate that way this one can too. Based on a patch
from bguillory@email.com .
2000-01-17 17:25:10 +00:00
Todd C. Miller
f68cc2f628
Add "listpw" and "verifypw" options.
2000-01-17 04:05:18 +00:00
Todd C. Miller
a597c4ad55
o Fix some typos/omissions
...
o Add section on verifypw and listpw
o Define how NOPASSWD interacts with the -v and -l flags
2000-01-17 03:57:26 +00:00