Todd C. Miller
351fcc1386
No long need to emulate set*[ug]id() via setres[ug]id() or setre[ug]id().
...
The new set_perms stuff only uses things it knows are there.
2002-11-22 19:05:02 +00:00
Todd C. Miller
d1bb1bc099
HP-UX 9.x has RLIMIT_* but no RLIM_INFINITY. If there is no
...
RLIM_INFINITY, just pretend it is -1. This works because we only
check for RLIM_INFINITY and do not set anything to that value.
2002-01-25 18:38:22 +00:00
Todd C. Miller
a82e7a8efe
(c) 2002
2002-01-08 15:00:18 +00:00
Todd C. Miller
a3e429aed9
Move in some stuff that was previously in config.h.
2002-01-02 22:37:19 +00:00
Todd C. Miller
66d801055c
Use new HAVE_SIGACTION_T define
2001-12-14 23:38:31 +00:00
Todd C. Miller
47dff37185
o Update copyright year
2001-12-14 19:54:56 +00:00
Todd C. Miller
fb66a33153
Add scaffolding for POSIX signal emulation
2001-12-08 19:39:28 +00:00
Todd C. Miller
5481e22892
Add check + emulation for setegid (like seteuid).
2000-12-30 21:55:21 +00:00
Todd C. Miller
998631b73a
New Defaults options:
...
o stay_setuid - sudo will remain setuid if system has saved uids or setreuid(2)
o env_reset - reset the environment to a sane default
o env_keep - preserve environment variables that would otherwise be cleared
No longer use getenv/putenv/setenv functions--do environment munging by hand.
Potentially dangerous environment variables can be cleared only if they
contain '/' pr '%' characters to protect buggy programs.
Moved environment routines into env.c (new file)
2000-12-30 03:29:47 +00:00
Todd C. Miller
4fdb825a09
Add check for _innetgr(3) since NCR systems have that instead of
...
innetgr(3).
2000-11-01 15:17:25 +00:00
Todd C. Miller
2c4fefde5a
o Add requiretty option
...
o Move O_NOCTTY to compat.h
1999-10-08 01:12:50 +00:00
Todd C. Miller
76148d5316
o Move lock_file() and touch() into fileops.c so visudo can use them
...
o Visudo now locks the sudoers temp file instead of bailing when
the temp file already exists. This fixes the problem of stale
temp files but it does *require* that you not try to put the
temp file in a world-writable directory. This shoud not be
an issue as the temp file should live in the same dir as sudoers.
o Visudo now only installs the temp file as sudoers if it changed.
1999-08-07 09:59:43 +00:00
Todd C. Miller
fdb5da47ae
kill crufty AIX stuff
1999-08-05 14:25:35 +00:00
Todd C. Miller
ca8eb6f2aa
add 4th term to license similar to term 5 in the apache license
1999-07-31 16:19:45 +00:00
Todd C. Miller
e4ea15963d
BSD-style copyright; Add S_IFLNK and MIN/MAX id they are missing.
1999-07-22 12:42:02 +00:00
Todd C. Miller
80287c981c
Move interface-related defines to interfaces.h so we don't have to include
...
<netinet/in.h> everywhere.
1999-05-17 01:36:30 +00:00
Todd C. Miller
850a52aa6f
o Replace _PASSWD_LEN braindeath with our own SUDO_MAX_PASS.
...
It turns out the old DES crypt does the right thing with passwords
longert than 8 characters.
o Fix common typo (necesary -> necessary)
o Update TODO list
1999-05-14 16:30:14 +00:00
Todd C. Miller
e6deacb6c4
Crank version to 1.6 and combine copyright statements
1999-04-05 20:57:25 +00:00
Todd C. Miller
79c46d1c81
++version
1999-03-29 04:05:15 +00:00
Todd C. Miller
52916f16ac
add explicate copyright
1999-02-03 04:32:19 +00:00
Todd C. Miller
826fe213f2
add sudo tags
1999-01-17 23:16:20 +00:00
Todd C. Miller
d3aaf52283
crank version and regen files
1999-01-17 22:40:55 +00:00
Todd C. Miller
7ffee3b997
getprpwuid is broken in HP-UX 10.20 at least (it sleeps for 2 minutes if the
...
shadow files don't exist).
1998-10-21 23:50:10 +00:00
Todd C. Miller
1c66c857e4
new shadow password scheme. Always include shadow support if the
...
platform supports it and the user did not disable it via configure
1998-09-21 04:00:56 +00:00
Todd C. Miller
0ef9f25d7e
updated version
1998-09-17 16:27:15 +00:00
Todd C. Miller
6465c5eb47
add howmany macro
1998-09-09 00:45:17 +00:00
Todd C. Miller
f56bd77546
fix version
1998-09-07 02:57:35 +00:00
Todd C. Miller
3b1be424aa
updated version
1998-04-06 03:17:56 +00:00
Todd C. Miller
e37e1e56b6
updated version
1998-03-31 05:05:49 +00:00
Todd C. Miller
c866646cdf
updated version
1998-02-18 21:39:31 +00:00
Todd C. Miller
2fc787d5f6
updated version
1998-02-17 02:43:17 +00:00
Todd C. Miller
bc7803cd08
updated version
1998-02-06 20:49:24 +00:00
Todd C. Miller
ca5babc430
updated version
1998-01-21 06:29:42 +00:00
Todd C. Miller
bb6a33e080
updated version
1998-01-21 05:50:58 +00:00
Todd C. Miller
166789a1dd
++version
1998-01-13 04:48:42 +00:00
Todd C. Miller
8b28002ef3
fix an occurence of setresuid -> setreuid (typo)
1997-05-21 15:57:26 +00:00
Todd C. Miller
5e723efe75
++version
1996-11-14 02:37:56 +00:00
Todd C. Miller
873346d184
better seteuid() emulatino
1996-10-09 17:37:18 +00:00
Todd C. Miller
9376a8cd80
sequent -> _SEQUENT_
1996-10-08 23:21:12 +00:00
Todd C. Miller
885cbad121
added seteuid() macro for DYNIX
1996-10-08 23:11:45 +00:00
Todd C. Miller
e712f1152c
++version
1996-10-07 05:05:33 +00:00
Todd C. Miller
932ec901bf
added HAVE_OPIE
1996-10-05 03:59:42 +00:00
Todd C. Miller
6a230806a8
courtesan
1996-09-08 00:21:42 +00:00
Todd C. Miller
d189849b44
++version
1996-08-30 00:37:04 +00:00
Todd C. Miller
daa856faa9
++version
1996-08-17 23:21:24 +00:00
Todd C. Miller
f9d2f89231
use SHADOW_TYPE instead of HAVE_C2_SECURITY
1996-07-26 03:44:48 +00:00
Todd C. Miller
88cfad174e
now uses AUTH_MAX_PASSWD_LENGTH if SPW_SECUREWARE
1996-07-14 01:04:26 +00:00
Todd C. Miller
e518e10e02
AFS allows long passwords
1996-07-08 19:33:29 +00:00
Todd C. Miller
7c0d81ee37
added more _PASSWD_LEN stuff -- now uses PASS_MAX too
1996-02-22 21:27:28 +00:00
Todd C. Miller
813ac511d2
++version
1996-01-14 20:19:56 +00:00