Todd C. Miller
|
1a6b10fe83
|
make more like NetBSD one -- now compiles w/o warnings
|
1996-06-06 19:03:02 +00:00 |
|
Todd C. Miller
|
e04a2ef6c6
|
fixed decls of lsearch()
|
1996-06-06 19:02:51 +00:00 |
|
Todd C. Miller
|
10a84d536b
|
added SPW_HPUX10
|
1996-06-06 02:20:52 +00:00 |
|
Todd C. Miller
|
ac186f85f1
|
hpux 10 uses bigcrypt() if C2
|
1996-06-06 02:20:17 +00:00 |
|
Todd C. Miller
|
6737221aa5
|
now always uses fnmatch to match args
|
1996-06-04 23:57:30 +00:00 |
|
Todd C. Miller
|
1e21b9212a
|
back to using stdio instead of raw i/o since that caused some problems
|
1996-06-04 23:40:39 +00:00 |
|
Todd C. Miller
|
636e5f1df4
|
now give usage warning if use -l,-v,-k with args
|
1996-05-29 02:14:32 +00:00 |
|
Todd C. Miller
|
59f71cc274
|
NewArgc is now set to 1 for -l, -v, -k
|
1996-05-28 22:22:24 +00:00 |
|
Todd C. Miller
|
47f7ef9f3f
|
now sets sudoers to correct group if mode is 0400
|
1996-05-28 16:50:34 +00:00 |
|
Todd C. Miller
|
e577aafd13
|
updated to version used by inn and bind
|
1996-05-28 16:02:54 +00:00 |
|
Todd C. Miller
|
1af4421463
|
now uses -lgnumalloc if it exists
|
1996-05-28 04:08:14 +00:00 |
|
Todd C. Miller
|
4520d3c664
|
"make install" now sets uid/gid and mode on sudoers if it exists
|
1996-05-28 04:02:08 +00:00 |
|
Todd C. Miller
|
afbddeebec
|
rmeoved debugging statements
|
1996-05-28 04:01:49 +00:00 |
|
Todd C. Miller
|
2ed1645b9c
|
added a missing free()
|
1996-05-28 04:00:32 +00:00 |
|
Todd C. Miller
|
2c1b963a21
|
now uses user_gid instead of getegid (which was wrong anyway)
to set SUDO_GID
Now sets command line args in SUDO_COMMAND envariabled
(logging.c depends on args being in the environment)
|
1996-05-28 03:58:17 +00:00 |
|
Todd C. Miller
|
95fd02c9f6
|
now uses SUDO_COMMAND envariable to get command args
rather than building it up again.
|
1996-05-28 03:57:33 +00:00 |
|
Todd C. Miller
|
d1c239718c
|
now uses user_gid
|
1996-05-28 02:42:57 +00:00 |
|
Todd C. Miller
|
5a32554c06
|
fixed off by one error in allocation NewArgv
|
1996-05-28 00:02:30 +00:00 |
|
Todd C. Miller
|
9ec0715a31
|
in sudoers, 'command ""' now means command with no args
|
1996-05-28 00:01:53 +00:00 |
|
Todd C. Miller
|
275314dbdd
|
added check for fnmatch(3) and fnmatch.h
|
1996-05-28 00:01:30 +00:00 |
|
Todd C. Miller
|
b9f8e76bdc
|
added HAVE_FNMATCH
|
1996-05-28 00:01:17 +00:00 |
|
Todd C. Miller
|
49d0b999fd
|
replaced wildcat.* with fnmatch.*
|
1996-05-28 00:00:40 +00:00 |
|
Todd C. Miller
|
0713be74a6
|
now uses fnmatch()
|
1996-05-28 00:00:17 +00:00 |
|
Todd C. Miller
|
a062a35c7e
|
now uses fnmatch() instead of wildmat
a trailing star (*) by itself now matches multiple args
added support for wildcards in the pathname in sudoers
|
1996-05-27 23:38:46 +00:00 |
|
Todd C. Miller
|
63e1abb3dd
|
now includes compat.h and config.h
|
1996-05-25 23:23:32 +00:00 |
|
Todd C. Miller
|
4f7d758d5d
|
added HAVE_FNMATCH_H
|
1996-05-25 22:09:55 +00:00 |
|
Todd C. Miller
|
0dfc086d4b
|
now checks for alloca() (if needed by bison or dce) and links with
-lPW if it contains alloca() and libv and compiler do not.
|
1996-05-25 22:07:46 +00:00 |
|
Todd C. Miller
|
af01309582
|
Initial revision
|
1996-05-25 22:03:22 +00:00 |
|
Todd C. Miller
|
afe3f2749a
|
now fixes mode on sudoers if set to 0400 to aid in upgrade
|
1996-04-29 02:38:36 +00:00 |
|
Todd C. Miller
|
94687786ed
|
fixed pod2man usage
|
1996-04-28 21:44:04 +00:00 |
|
Todd C. Miller
|
cc766e7001
|
++version
|
1996-04-28 21:40:19 +00:00 |
|
Todd C. Miller
|
8263fc99d5
|
runas_user is now initialized to "root"
|
1996-04-28 21:20:29 +00:00 |
|
Todd C. Miller
|
5f7eaa954a
|
removed PERM_FULL_ROOT
|
1996-04-28 21:20:01 +00:00 |
|
Todd C. Miller
|
4874329850
|
runas_user defaults to "root" so no more need to PERM_RUNAS
|
1996-04-28 21:18:06 +00:00 |
|
Todd C. Miller
|
624218c54f
|
will now only running commands as root if there was no runas
list (or if root is in the runas list)
|
1996-04-28 21:16:30 +00:00 |
|
Todd C. Miller
|
36f1208492
|
now logs "USER=%s"
|
1996-04-28 21:15:03 +00:00 |
|
Todd C. Miller
|
7c95809719
|
runas_matches is now set to false if we get a negative match
|
1996-04-28 21:12:45 +00:00 |
|
Todd C. Miller
|
60f30dc2f0
|
make #uid work + some minor cleanup
|
1996-04-28 19:01:02 +00:00 |
|
Todd C. Miller
|
1d93314f9a
|
added support for NOPASSWD and "runas" from garp@opustel.com
/
|
1996-04-28 01:04:50 +00:00 |
|
Todd C. Miller
|
aa92ab8df5
|
added support for "runas" from garp@opustel.com
replaced SUDOERS_OWNER with SUDOERS_UID, SUDOERS_GID
added support for SUDOERS_MODE
|
1996-04-28 01:03:30 +00:00 |
|
Todd C. Miller
|
fdcd430472
|
added support for "runas" from garp@opustel.com
|
1996-04-28 01:03:06 +00:00 |
|
Todd C. Miller
|
6b725ac513
|
added support for NO_PASSWD and runas from garp@opustel.com
replaced SUDOERS_OWNER with SUDOERS_UID and SUDOERS_GID and added support fro SUDOERS_MODE
|
1996-04-28 01:02:31 +00:00 |
|
Todd C. Miller
|
da33d14c36
|
added support for NO_PASSWD and runas from garp@opustel.com
replaced SUDOERS_OWNER with SUDOERS_UID and SUDOERS_GID
and added support fro SUDOERS_MODE
|
1996-04-28 01:00:48 +00:00 |
|
Todd C. Miller
|
0acd826805
|
added support for NO_PASSWD and runas from
garp@opustel.com
|
1996-04-28 01:00:18 +00:00 |
|
Todd C. Miller
|
32002b7d97
|
added support for NO_PASSWD and runas from garp@opustel.com
|
1996-04-28 00:59:21 +00:00 |
|
Todd C. Miller
|
88c189315c
|
added support for SUDOERS_WRONG_MODE and "runas"
|
1996-04-28 00:56:52 +00:00 |
|
Todd C. Miller
|
d726595a10
|
added --with-CC
only link with -lshadow on linux (with shadow pw) if libc lacks
getspnam()
|
1996-04-28 00:40:31 +00:00 |
|
Todd C. Miller
|
3940833804
|
removed NO_PASSWD since it is not possible to do this in
the sudoers file itself. Replaced SUDOERS_OWNER with SUDOERS_UID
and SUDOERS_GID. Added SUDOERS_MODE.
|
1996-04-28 00:40:14 +00:00 |
|
Todd C. Miller
|
bab3ce55d2
|
now uses SUDOERS_UID and SUDOERS_GID
|
1996-04-28 00:26:05 +00:00 |
|
Todd C. Miller
|
26956e3464
|
added --with-CC
|
1996-04-27 15:20:22 +00:00 |
|