Commit Graph

121 Commits

Author SHA1 Message Date
Todd C. Miller
c253188f55 -Wall 1998-11-18 03:51:10 +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
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
3d92a1bb92 new dunix shadow code, use dispcrypt(3) 1998-10-19 18:32:39 +00:00
Todd C. Miller
bb8c2e2a74 if select return < -1 still prompt for pw 1998-10-15 04:10:44 +00:00
Todd C. Miller
a05c2b96b4 catch EINTR in select and restart 1998-10-15 03:28:21 +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
0c54ebc581 include sys/param.h to get howmany macro 1998-09-09 00:43:49 +00:00
Todd C. Miller
2b2b9eb8ef include stdlib.h for malloc proto 1998-06-24 16:22:26 +00:00
Todd C. Miller
12477fd6e6 updated version 1998-04-06 03:35:50 +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
9cc65287f3 remove bogus flush of stderr
spew prompt before turning off echo.  Seems to fix a weird problem where
if sudo complained about a bogus stamp file the user would sometimes
not have a chance to enter a password
1998-02-06 19:05:19 +00:00
Todd C. Miller
0e8cf35a7b fix select usage for high fd's (dynamically allocate readfds) 1998-01-23 03:53:52 +00:00
Todd C. Miller
0c362fb216 updated version 1998-01-21 06:33:06 +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
ea498e61d3 use fileno(input) + 1 instead of getdtablesize() as the nfds arg to select(2) 1997-11-23 18:24:31 +00:00
Todd C. Miller
5e723efe75 ++version 1996-11-14 02:37:56 +00:00
Todd C. Miller
67b0c86352 _AIX -> HAVE_SYS_SELECT_H 1996-10-08 22:54:49 +00:00
Todd C. Miller
b0248f15df ++version 1996-10-07 05:07:09 +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
23ccf12697 added %u and %h escapes 1996-08-29 21:57:52 +00:00
Todd C. Miller
35825133a7 ++version 1996-08-17 23:25:40 +00:00
Todd C. Miller
bd228048bf added extra paren's to make compilers happy 1996-08-17 22:41:36 +00:00
Todd C. Miller
bdfd25e871 now only turn off echo if it is already on. this fixes a race
when you use sudo in a pipelin
1996-07-30 17:41:59 +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
015c901511 now include stuff for SPW_SECUREWARE to get AUTH_MAX_PASSWD_LENGTH 1996-07-14 01:05:23 +00:00
Todd C. Miller
a27847e1ba now deals with timeout <= 0 1996-07-08 13:55:43 +00:00
Todd C. Miller
1e21b9212a back to using stdio instead of raw i/o since that caused some problems 1996-06-04 23:40:39 +00:00
Todd C. Miller
20a284166a fixed a typo wrt placement of an end paren 1996-04-02 21:42:59 +00:00
Todd C. Miller
61a3d472ef now define TCSASOFT in necesary 1996-03-19 01:57:27 +00:00
Todd C. Miller
e47ce61c4e now uses read/write instead of stdio string goop to avoid problems
with select(2)
1996-03-19 01:31:03 +00:00
Todd C. Miller
47574e1af2 now includes limits.h
moved _PASSWD_LEN -> compat.h
1996-02-22 21:27:02 +00:00
Todd C. Miller
813ac511d2 ++version 1996-01-14 20:19:56 +00:00
Todd C. Miller
d9a1d14258 fixed a typo 1996-01-11 18:04:43 +00:00
Todd C. Miller
a90d2d478e ++version 1996-01-09 17:52:49 +00:00
Todd C. Miller
38e76816a7 minor cleanup and now includes sys/bsdtypes for svr4'ish boxen 1996-01-09 17:46:38 +00:00
Todd C. Miller
6846377706 ++version 1995-12-18 03:09:49 +00:00
Todd C. Miller
3336366524 moved dce stuff into compat.h 1995-11-21 02:28:02 +00:00
Todd C. Miller
7dba81c21d DCE & KERB support 1995-11-20 03:30:46 +00:00
Todd C. Miller
9de4fd5450 updated version number 1995-11-19 23:37:15 +00:00
Todd C. Miller
96be725f35 options.h is now <> instead of "" so shadow build trees can
have a custom copy of options.h
1995-11-13 05:16:38 +00:00
Todd C. Miller
6a6099ebbc includes pwd.h to get _PASSWD_LEN definition 1995-11-13 03:24:37 +00:00
Todd C. Miller
993b7e5ecc fixed incorrect #ifdef
termio uses "unsigned short" not int for c_?flag
1995-09-03 18:09:40 +00:00
Todd C. Miller
38169ba0b4 added RCS id 1995-09-01 03:35:50 +00:00