Todd C. Miller
406056d7e5
move authentication code to auth.c
1999-06-03 15:51:07 +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
06e586ee7b
Function names should be flush with the start of the line so they can be found trivially in an editor and with grep
1999-04-10 04:49:03 +00:00
Todd C. Miller
ecb8d08e2e
buf should be prompt; Michael Robokoff <mrobo@networkcs.com>
1999-04-06 17:20:39 +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
382ef75493
Use emalloc/erealloc/estrdup
1999-03-29 02:59:34 +00:00
Todd C. Miller
bd76c13333
Simplify PAM code and fix a PAM-related warning on Linux
1999-03-28 18:50:25 +00:00
Todd C. Miller
c38c66b2b2
new pam code that works on solaris, should work on linux too; aelberg@home.com
1999-03-26 18:09:09 +00:00
Todd C. Miller
a3029dedd8
If the user enters an empty password and really has no password, accept
...
the empty password they entered. Perviously, they could enter anything
*but* an empty password. Also, add GETPASS macro that calls either
tgetpass() or getpass() depending on how sudo was configured.
Problem noted by jdg@maths.qmw.ac.uk
1999-02-07 00:43:24 +00:00
Todd C. Miller
52916f16ac
add explicate copyright
1999-02-03 04:32:19 +00:00
Todd C. Miller
cefcc04d60
FWTK 'authsrv' support from Kevin Kadow <kadow@MSG.NET>
1999-01-19 02:04:41 +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
3983a7a651
kerb5 support from fcusack@iconnet.net
1999-01-17 22:08:55 +00:00
Todd C. Miller
9daf68bb7e
fix tty tickets in remove_timestamp (didn't use ':')
1998-12-11 17:16:26 +00:00
Todd C. Miller
62dba8f4d1
more -Wall
1998-11-18 04:16:13 +00:00
Todd C. Miller
c253188f55
-Wall
1998-11-18 03:51:10 +00:00
Todd C. Miller
b831104e1a
when using tty tickets make it user:tty not user.tty as a username
...
could have a '.' in it
1998-11-13 19:10:21 +00:00
Todd C. Miller
0b9e318b75
Only one space after a colon, not two, in printf's
1998-11-08 18:51:58 +00:00
Todd C. Miller
91af18b71a
fix bugs with prompt expansion
1998-11-05 03:24:40 +00:00
Todd C. Miller
de21acbb37
kill perror("malloc") since we already have a good error messages
...
pw_ent -> pw for brevity
1998-11-04 01:39:18 +00:00
Todd C. Miller
dad5b02579
we now expand any %h or %u in the prompt before passing to tgetpass
1998-11-03 20:02:04 +00:00
Todd C. Miller
7137565644
move local includes after system ones
1998-10-25 03:52:18 +00:00
Todd C. Miller
261cdb5d87
add pass_warn() which prints out INCORRECT_PASSWORD or an insult to stderr
1998-10-24 23:28:04 +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
1c8dc54a3f
add back security/pam_misc.h
1998-10-20 05:24:12 +00:00
Todd C. Miller
1dffdd17c3
add SIA support
1998-10-19 00:22:38 +00:00
Todd C. Miller
a20f23f791
moved SecureWare stuff into secureware.c
1998-10-17 22:08:29 +00:00
Todd C. Miller
5bfb481ca7
no more options.h
1998-10-15 05:41:26 +00:00
Todd C. Miller
f459719223
remove_timestamp() if timestamp is preposterous
1998-10-15 03:52:33 +00:00
Todd C. Miller
4c0e6f8828
time.h, not sys/time.h
1998-09-24 15:36:24 +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
8f69024ccc
fix version string
1998-09-20 23:14:47 +00:00
Todd C. Miller
80c1c8dcbc
move pam_conv to be static to auth function
...
remove pam_misc.h (solaris doesn't have one)
1998-09-20 23:12:21 +00:00
Todd C. Miller
8d906459da
pam stuff needs to run as root, not user, for shadow passwords
1998-09-18 05:29:26 +00:00
Todd C. Miller
0ef9f25d7e
updated version
1998-09-17 16:27:15 +00:00
Todd C. Miller
932624d6ad
user version.h for long message
1998-09-17 16:13:05 +00:00
Todd C. Miller
286aa8f83b
this is version 1.5.6
1998-09-17 15:53:33 +00:00
Todd C. Miller
218e76a059
pam support, from Gary Calvin <GCalvin@kenwoodusa.com>
1998-09-11 23:19:53 +00:00
Todd C. Miller
1d26f2699d
fix OTP_ONLY for opie
1998-07-28 16:44:23 +00:00
Todd C. Miller
ac5c39884f
ignore kerberos if we can't get the local realm
1998-04-07 02:35:44 +00:00
Todd C. Miller
12477fd6e6
updated version
1998-04-06 03:35:50 +00:00
Todd C. Miller
36ef6aa489
fix version
1998-04-06 03:34:36 +00:00
Todd C. Miller
3b1be424aa
updated version
1998-04-06 03:17:56 +00:00
Todd C. Miller
c27d678ff7
MAX* + 1 -> MAX*
1998-04-06 03:15:39 +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
73e984f397
added AIX 4.x authenticate() support
1998-02-17 06:15:30 +00:00