Commit Graph

64 Commits

Author SHA1 Message Date
Todd C. Miller
525954e1b2 changed sudo-bugs.cs.colorado.edu -> sudo-bugs@cs.colorado.ed 1994-09-02 19:54:28 +00:00
Todd C. Miller
5d04e3eafb added set_auth_parameters for osf 1994-09-01 17:38:55 +00:00
Todd C. Miller
4c19411fc6 changed setenv() to sudo_setenv() 1994-09-01 17:15:07 +00:00
Todd C. Miller
6174554533 use sizeof instead of a constant in 1 place 1994-08-30 22:30:17 +00:00
Todd C. Miller
23c2416e0a added sys/time.h for AIX 1994-08-16 19:46:08 +00:00
Todd C. Miller
98ca6de0d0 now include sockio.h instead of ioctl.h if it exists
"sudo -" now gets a better error message
1994-08-15 01:21:02 +00:00
Todd C. Miller
51ebc0b2bf removed if_ether.h 1994-08-13 22:15:43 +00:00
Todd C. Miller
20f8b1911a no error if can't get interfaces or netmask since networking may not be in
the kernel.
1994-08-13 21:09:05 +00:00
Todd C. Miller
6e337ed509 now do two passes to skip bogus interfaces (lo0, etc) 1994-08-12 03:42:27 +00:00
Todd C. Miller
669ecb8a29 now ip addresses are gleaned fw/o dns 1994-08-12 01:56:22 +00:00
Todd C. Miller
49673e12cb added load_ip_addrs() to load the ip_addrs global var 1994-08-10 23:21:47 +00:00
Todd C. Miller
880ca64066 can't use getopt(3) since it munges args to the command to be run as root
don't do malloc decl if gnuc
1994-08-08 17:04:19 +00:00
Todd C. Miller
e54f35e718 ansi-fied !STDC_HEADER function prottypes 1994-08-08 04:41:20 +00:00
Todd C. Miller
38b6d5f1df added params to func decls when STDC_HEADERS is not defined 1994-08-08 04:06:48 +00:00
Todd C. Miller
7b0e8546fb now use sudo_setenvc 1994-08-06 23:19:12 +00:00
Todd C. Miller
ee50a4661e not set ret to MODE_RUN initially 1994-08-05 20:14:59 +00:00
Todd C. Miller
70333883c0 usage() now takes an int (exit value)
added parse_args() to parse command line arguments
moved call to find_path() from load_globals to new function load_cmnd()
removed validate_only global -- now use the concept of "modes"
added -h and -k options
1994-08-05 00:22:15 +00:00
Todd C. Miller
8161d52f34 now set SUDO_ envariables 1994-08-03 02:41:55 +00:00
Todd C. Miller
2624e7ee72 be_root/be_user is now down in sudo_realpath() 1994-07-25 22:32:30 +00:00
Todd C. Miller
e7bf4f9fe0 added tzset() to load_globals
added epasswd (encrypted password) global
made user dynamically allocated
1994-07-14 21:43:58 +00:00
Todd C. Miller
0148bcaf6b use __hpux not hpux 1994-07-07 00:08:14 +00:00
Todd C. Miller
a5c4f697d2 always use getcwd 1994-06-04 19:29:49 +00:00
Todd C. Miller
9e79c34b9b no need to strdup() a constant 1994-06-02 21:49:11 +00:00
Todd C. Miller
48b8a66dc6 added -v to usage 1994-06-02 19:42:08 +00:00
Todd C. Miller
71cba15592 added validate_only stuff 1994-06-02 19:41:33 +00:00
Todd C. Miller
a298a5dc48 now use the EXEC nmacro
now only do a gethostbyname() if FQDN is set
1994-05-29 22:36:44 +00:00
Todd C. Miller
ebae58f1ea added prototypes 1994-05-28 19:13:27 +00:00
Todd C. Miller
48f3cb6734 cast Argv to a const for exec
added -v flag
1994-05-25 03:08:10 +00:00
Todd C. Miller
0d0f470073 ok, the getcwd() is now *really* done as the user 1994-05-24 21:44:50 +00:00
Todd C. Miller
3e94c6f257 moved getcwd stuff into load_globals 1994-05-24 20:18:41 +00:00
Todd C. Miller
92c371d0fb support for HAVE_SYSCONF 1994-05-24 16:03:26 +00:00
Todd C. Miller
eba1660358 uid seinitialized to -2 1994-05-14 21:27:05 +00:00
Todd C. Miller
4624211f85 now removes LIBPATH for AIX 1994-04-28 16:36:16 +00:00
Todd C. Miller
6a83afd8e2 udpated version 1994-03-12 18:55:39 +00:00
Todd C. Miller
1ed1db9cf3 updated to work with configure + pathnames.h 1994-03-12 18:36:53 +00:00
Todd C. Miller
eea6d47b7f execve -> execv 1994-02-28 05:27:51 +00:00
Todd C. Miller
f96b43c292 added UMASK 1994-02-28 04:11:33 +00:00
Todd C. Miller
f767453fd8 added rmenv() to remove stuff from environ. can now uses execvp()
OR execve() becuase of this.
1994-02-16 18:35:52 +00:00
Todd C. Miller
de6ad83aeb added SECURE_PATH 1994-02-10 19:30:00 +00:00
Todd C. Miller
e52637f9a6 took out SAVED_UID garbage since it don't work 1994-02-08 18:21:33 +00:00
Todd C. Miller
4928e8b997 took out multimax cruft 1994-02-06 00:48:23 +00:00
Todd C. Miller
273de60031 fixed a typo + indentation 1994-02-06 00:19:45 +00:00
Todd C. Miller
4d7ae0eb28 put back AIX cruft 1994-02-05 20:16:36 +00:00
Todd C. Miller
9195775b94 aix changes 1994-02-03 05:44:46 +00:00
Todd C. Miller
6419115045 now is only root when abs necesary 1994-02-02 06:30:34 +00:00
Todd C. Miller
b4638d4550 now removed _RLD_* for alphas 1994-01-31 06:56:01 +00:00
Todd C. Miller
9fe5184668 took out setuid(0) and setreuid(udi) garbage. Its not needed since
we start out setuid with the correct perms.
1994-01-27 18:19:28 +00:00
Todd C. Miller
5b566c24c6 now use setreuid() 1994-01-27 00:52:18 +00:00
Todd C. Miller
3424e2f974 fixed warning (include strings.h) 1993-12-03 03:19:31 +00:00
Todd C. Miller
62ea70cb3a added patches from John_Rouillard
directory spec
	uses EDITOR
1993-12-03 02:35:16 +00:00