Commit Graph

2201 Commits

Author SHA1 Message Date
Todd C. Miller
1515dfb497 for kerb5, check for -lkerb4, fall back on -lkrb
for kerb, check for -ldes
1998-11-14 00:20:19 +00:00
Todd C. Miller
a8fce0bce8 tty tickets are user:tty now 1998-11-13 19:19:39 +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
53969f978f add "ignoring foo found in ." for auth successful case 1998-11-10 00:15:04 +00:00
Todd C. Miller
b82d683a3b add missing printf param 1998-11-09 22:57:52 +00:00
Todd C. Miller
0900eabf3b go back to printing "command not found" unless --disable-path-info
specified.  Also, tell user when we ignore '.' in their path and
it would have been used but for --with-ignore-dot.
1998-11-08 20:56:52 +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
0aad2d5afd document setting $USER 1998-11-05 17:59:35 +00:00
Todd C. Miller
91af18b71a fix bugs with prompt expansion 1998-11-05 03:24:40 +00:00
Todd C. Miller
ef4b731616 set $USER for root too 1998-11-05 02:21:35 +00:00
Todd C. Miller
2fb6e41a5b typo 1998-11-04 22:13:59 +00:00
Todd C. Miller
4d1f46461d HP-UX's iscomsec is in -lsec, not libc 1998-11-04 22:07:12 +00:00
Todd C. Miller
4c017795d1 remove some entries in the OS case statement that did nothing 1998-11-04 03:24:55 +00:00
Todd C. Miller
6d5591ba2b add "cd" section and flush out syslog section 1998-11-04 03:19:37 +00:00
Todd C. Miller
80b47ae77c no more sudo-lex.yy.c 1998-11-04 01:51:53 +00:00
Todd C. Miller
16df5841a1 add custom prompt support 1998-11-04 01:50:14 +00:00
Todd C. Miller
d0c535cee3 kill perror("malloc") since we already have a good error messages
pw_ent -> pw for brevity
1998-11-04 01:41:09 +00:00
Todd C. Miller
22f741b38c kill perror("malloc") since we already have a good error messages
pw_ent -> pw for brevity
set $USER if -u specified
1998-11-04 01:40:45 +00:00
Todd C. Miller
c3f28be054 kill perror("malloc") since we already have a good error messages 1998-11-04 01:40:35 +00:00
Todd C. Miller
4f461199af kill perror("malloc") since we already have a good error messages
pw_ent -> pw for brevity
when checking if %group matches, look up user in password file so
that %groups works in a RunAs spec.
1998-11-04 01:39:40 +00:00
Todd C. Miller
5731e248b5 kill perror("malloc") since we already have a good error messages 1998-11-04 01:39:25 +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
b751a2b9c4 the prompt is expanded before tgetpass is called 1998-11-03 20:03:31 +00:00
Todd C. Miller
1548a20d9a tgetpass now has the same args as getpass again 1998-11-03 20:03:12 +00:00
Todd C. Miller
918306ecc8 add iscomsec, issecure support 1998-11-03 20:02:52 +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
8f6ba6258b add check for syslog(3) in -lsocket, -lnsl, -linet 1998-11-03 19:58:47 +00:00
Todd C. Miller
764ab37690 add HAVE_ISCOMSEC and HAVE_ISSECURE 1998-11-03 19:56:04 +00:00
Todd C. Miller
aff8524f0a add check for iscomsec in HP-UX 1998-11-03 19:55:39 +00:00
Todd C. Miller
a3d49aa081 check for issecure if we have getpwanam on SunOS
some options are incompatible with DUNIX SIA
check for dispcrypt on DUNIX
1998-11-03 19:51:36 +00:00
Todd C. Miller
a402de123f add HAVE_DISPCRYPT 1998-10-25 20:21:47 +00:00
Todd C. Miller
8e41aef0f3 add back support for non-dispcrypt based checking for older DUNIX 1998-10-25 20:21:19 +00:00
Todd C. Miller
3539bbf5b4 sia changes 1998-10-25 04:51:52 +00:00
Todd C. Miller
015c75c4d1 SIA becomes the default on Digital UNIX
now havbe --disable-sia to turn it off...
1998-10-25 04:48:50 +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
5bdc7d3080 fix while loop in sia_attempt_auth() that checks the password. Only
the first iteration was working.
1998-10-24 23:07:02 +00:00
Todd C. Miller
1f94c6b388 don't trust UID_MAX or MAXUID 1998-10-22 01:00:27 +00:00
Todd C. Miller
ce733cd8f7 fix two pastos 1998-10-22 00:35:32 +00:00
Todd C. Miller
23ede59eac fix typo 1998-10-22 00:30:26 +00:00
Todd C. Miller
a91e6bc124 init crypt_type to INT_MAX since it is legal to be negative in DUNX 5.0 1998-10-22 00:19:01 +00:00
Todd C. Miller
48e0ca4a0a for secureware on dunix, use -lsecurity -ldb -laud -lm
but check for -ldb since DUNX < 4.0 lacks it
1998-10-22 00:15:50 +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
929bff13f1 updated --with-editor blurb 1998-10-20 21:22:55 +00:00
Todd C. Miller
7e6b4c5a20 tell how to put sudoers in a different dir 1998-10-20 21:21:59 +00:00
Todd C. Miller
96286964eb add missing quotes around $with_editor 1998-10-20 20:22:09 +00:00
Todd C. Miller
4c28e57f8b typo in --with-editor bits 1998-10-20 18:00:17 +00:00
Todd C. Miller
272a9f4a15 I don't expect it to work on Solaris 1998-10-20 05:24:33 +00:00
Todd C. Miller
1c8dc54a3f add back security/pam_misc.h 1998-10-20 05:24:12 +00:00
Todd C. Miller
e6f3d98252 remove dunix note since configure checks for this now 1998-10-19 21:13:33 +00:00