Todd C. Miller
d72d7ec3fd
Fully qualified hosts w/ wildcards were not matching the FQHOST token type.
...
There's really no need for a separate token for fully-qualified vs.
unqualified anymore so FQHOST is now history and hostname_matches
now decides which hostname (short or long) to check based on whether
or not the pattern contains a '.'.
2000-03-23 04:38:20 +00:00
Todd C. Miller
9aeabf1b03
Fully qualified hosts w/ wildcards were not matching the FQHOST token type.
...
There's really no need for a separate token for fully-qualified vs.
unqualified anymore so FQHOST is now history and hostname_matches
now decides which hostname (short or long) to check based on whether
or not the pattern contains a '.'.
2000-03-23 04:38:20 +00:00
Todd C. Miller
5ce1fa96f2
Add support for wildcards in the hostname.
2000-03-23 04:09:53 +00:00
Todd C. Miller
c232acbfce
Add targets for *.man.in, using config.status to generate *.man from *.man.in
2000-03-23 03:50:54 +00:00
Todd C. Miller
4c8b4fad56
Document set_logname option and enbolden refs to sudo and visudo.
2000-03-23 03:20:57 +00:00
Todd C. Miller
d168a21cee
Add FreeBSD login.conf support (untested on BSD/OS) based on a patch from
...
Michael D. Marchionna.
configure now does substitution on the man pages, allowing us to
fix up the paths and set the section correctly. Based on an idea
from Michael D. Marchionna.
2000-03-23 00:35:59 +00:00
Todd C. Miller
4d4ed8c166
Better fix for handling HP-UX aging info.
2000-03-23 00:27:41 +00:00
Todd C. Miller
78b6514e58
Add support for set_logname run-time default
2000-03-23 00:20:56 +00:00
Todd C. Miller
7cd18cf366
configure does substitution on these to produce *.man
2000-03-23 00:17:30 +00:00
Todd C. Miller
2a154e4ff8
These files now get generated from *.man.in at configure time.
2000-03-23 00:16:46 +00:00
Todd C. Miller
f7ed0b0df3
Add set_logname option so users can turn off setting of LOGNAME/USER
...
environment variables.
2000-03-22 23:40:09 +00:00
Todd C. Miller
db2c555453
kill register
2000-03-22 15:53:09 +00:00
Todd C. Miller
cbd8898687
HP-UX adds extra info at the end for password aging so when comparing
...
the result of crypt to pw_passwd we only compare the first len(epass)
bytes *unless* the user entered an empty string for a password.
2000-03-13 20:52:25 +00:00
Todd C. Miller
a6ad7f071c
Get rid of grandchild hack, it was causing problems and there is really
...
no need for it. This fixes a bug where we spin eating up CPU when the
user runs a long-running process like a shell.
2000-03-13 16:05:05 +00:00
Todd C. Miller
5684831592
User can always specify a login class if he/she is already root.
2000-03-07 19:26:02 +00:00
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