Commit Graph

174 Commits

Author SHA1 Message Date
Todd C. Miller
5e723efe75 ++version 1996-11-14 02:37:56 +00:00
Todd C. Miller
b317dc70ac Can now deal with SUDOERS_UID == 0 and SUDOERS_MODE == 0400 1996-11-11 01:32:33 +00:00
Todd C. Miller
f0379ffce9 added -H flag 1996-10-07 04:53:47 +00:00
Todd C. Miller
6a230806a8 courtesan 1996-09-08 00:21:42 +00:00
Todd C. Miller
ff9b449929 added $SUDO_PROMPT support 1996-09-06 04:12:58 +00:00
Todd C. Miller
d189849b44 ++version 1996-08-30 00:37:04 +00:00
Todd C. Miller
944fb1c5ff added SHELL_SETS_HOME 1996-08-27 15:36:48 +00:00
Todd C. Miller
56405a97e6 added runas_homedir 1996-08-25 17:27:36 +00:00
Todd C. Miller
10d3642497 sets $HOME to pw_dir of runas user 1996-08-18 00:37:00 +00:00
Todd C. Miller
35825133a7 ++version 1996-08-17 23:25:40 +00:00
Todd C. Miller
7c3b772076 *** empty log message *** 1996-08-17 22:34:04 +00:00
Todd C. Miller
6da9b067a1 remove $ENV and $BASH_ENV (dangerous in ksh, posix sh, and bash) 1996-08-17 17:22:13 +00:00
Todd C. Miller
085fbf8222 don't yell too loudly at non-sudoers if they do "sudo -l" 1996-08-15 19:47:01 +00:00
Todd C. Miller
236019c889 now uses list_matches() 1996-08-09 22:06:53 +00:00
Todd C. Miller
e7999949e4 use SHADOW_TYPE instead of HAVE_C2_SECURITY 1996-07-26 03:46:42 +00:00
Todd C. Miller
bd641284ae now sets cmnd_args global 1996-07-22 18:30:51 +00:00
Todd C. Miller
633b6d2c35 fixed backwards compatibility with sudo 1.4 sudoers mode
for root readable/writable filesystems
1996-07-08 02:30:25 +00:00
Todd C. Miller
0ac88016c4 now set uid to 1 instead of nobody for PERM_SUDOERS since nobody
is not always set to a valid uid.
1996-06-25 23:32:09 +00:00
Todd C. Miller
ea3da19711 Fixed NFS-mounted sudoers file under solaris both uid *and* gid
were being set to -2.  Now beat NFS to the punch and set uid
to "nobody" ourselves, preserving group 0 to read sudoers.
1996-06-25 22:02:42 +00:00
Todd C. Miller
2f7e9de285 fixed 2 compiler warnings 1996-06-20 04:20:13 +00:00
Todd C. Miller
399cddc8e6 SHELL_IF_NO_ARGS caused core dump since NewArg[cv] weren't being
initialized
1996-06-20 04:08:57 +00:00
Todd C. Miller
319a9ffe51 fixed usage() 1996-06-09 03:15:12 +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
afbddeebec rmeoved debugging statements 1996-05-28 04:01:49 +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
5a32554c06 fixed off by one error in allocation NewArgv 1996-05-28 00:02:30 +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
4874329850 runas_user defaults to "root" so no more need to PERM_RUNAS 1996-04-28 21:18:06 +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
1265fcc4f8 added NO_PASSWD 1996-03-22 00:55:29 +00:00
Todd C. Miller
058a58a501 now uses shost even if not FQDN 1996-03-11 19:05:55 +00:00
Todd C. Miller
773636c1c8 added support for shost if FQDN 1996-03-11 01:16:09 +00:00
Todd C. Miller
3da8d74b0a removed an XXX (fixed it in getspwuid.c) 1996-02-05 02:59:21 +00:00
Todd C. Miller
1714849acd changed an occurrence of Argv to NewArgv 1996-02-02 04:53:59 +00:00
Todd C. Miller
e06c19bbb9 now uses NewArgv amd NewArgc so cmnd_aegs is no longer needed
this also allows us to eliminate some kludges in parse_args()
and eliminate superfluous code.
1996-02-02 03:34:21 +00:00
Todd C. Miller
35622b80c1 fixed SECURE_PATH 1996-01-15 16:34:23 +00:00
Todd C. Miller
813ac511d2 ++version 1996-01-14 20:19:56 +00:00
Todd C. Miller
a90d2d478e ++version 1996-01-09 17:52:49 +00:00
Todd C. Miller
6846377706 ++version 1995-12-18 03:09:49 +00:00
Todd C. Miller
206899d1dd now copy command args directly from Argv 1995-12-11 22:09:10 +00:00
Todd C. Miller
0e9f9c7a40 replaced code to copy cmnd_args so that is does not use realloc since
most realloc()'s really stink
1995-12-11 20:55:15 +00:00
Todd C. Miller
1d04bad9ca added set of parens and a space 1995-12-06 00:02:13 +00:00
Todd C. Miller
d7716e975e added explict casts for strdup since many includes don't prototype
it.  gag me.
1995-11-25 18:53:22 +00:00
Todd C. Miller
9f8332a190 added prototype for sudo_getpwuid() 1995-11-25 18:23:40 +00:00
Todd C. Miller
3ff093bde6 now include pthread.h for DCE support 1995-11-24 05:39:28 +00:00
Todd C. Miller
d6a223e2a2 now uses user_pw_ent and simple macros to get at the contents 1995-11-24 02:27:27 +00:00
Todd C. Miller
9dcee68e50 now uses sudo_pw_ent 1995-11-21 03:01:28 +00:00
Todd C. Miller
9de4fd5450 updated version number 1995-11-19 23:37:15 +00:00