Commit Graph

2300 Commits

Author SHA1 Message Date
mycroft 83ef48db0a Undo part of the previous; don't allow logins if we've passed pw_change.
The semantics of this are not well documented.  *sigh*
1997-10-12 15:21:24 +00:00
mycroft 97734d5e35 Refuse login only when we've past pw_expire, not pw_change. Check pw_expire
first.
1997-10-12 15:11:24 +00:00
mycroft 879c3292d6 Several things:
* Change the semantics of the `-s' option somewhat.  If specified, allow
either Kerberos or S/Key login, but not a plain password.
* Eliminate the special `s/key' password; just type it at the prompt.
* Remove the root instance special case.  This is a serious security hole
waiting to happen, and no other system works this way.
* Don't force a password change if Kerberos was used.  Also, don't call
/bin/passwd at all if the password change isn't required.
1997-10-12 15:05:24 +00:00
mycroft 2b4b3f1ded SRCS must be defined *before* bsd.prog.mk is included... 1997-10-12 14:07:38 +00:00
mycroft fc2c065578 Get rid of special cases for `s/key' password. 1997-10-12 14:07:06 +00:00
mycroft d91c72fbd3 Minor changes. 1997-10-12 13:10:16 +00:00
mycroft 37d3b7eb77 Eliminate redundant library inclusion. 1997-10-12 12:56:51 +00:00
mycroft e6751fc584 Minor changes. 1997-10-12 12:54:55 +00:00
mycroft 4163fb775c Make this compile without SKEY. 1997-10-12 12:54:20 +00:00
mycroft 1434f98d69 If we compile without SKEY, abort if a -s option is used, rather than silently
failing to enforce it.
1997-10-12 12:42:38 +00:00
mycroft 40471d4e79 Pull in bsd.own.mk for SKEY, KERBEROS, KERBEROS5. 1997-10-12 12:39:17 +00:00
mycroft 5171059387 Fix uninitialized variable. 1997-10-12 12:31:40 +00:00
mikel d9c915fd1a add missing .Nm argument 1997-10-12 05:51:47 +00:00
mycroft db43b6b7a0 And a little more... 1997-10-11 22:19:12 +00:00
mycroft bfa2e15a32 Fix the format of the output slightly. 1997-10-11 22:16:45 +00:00
christos 935794817d - Rename "inline" variable to "doinline" so that we don't need -ansi
- Fix gcc warnings and add netbsd rcsid's
- add WARNS to the Makefile
- Add errx() to unhandled cases where appropriate.
1997-10-11 21:01:26 +00:00
christos 470e6b8604 CFLAGS->CPPFLAGS; Conditionalize SKEY 1997-10-11 19:19:11 +00:00
christos 5f3d5ce5cf Conditionalize SKEY support. CFLAGS->CPPFLAGS 1997-10-11 19:16:28 +00:00
christos 06a0ab2d5f CFLAGS->CPPFLAGS, and general cleanup; add WARNS 1997-10-11 19:13:39 +00:00
augustss 64e2e4badb Print properties differently.
Change indentation.
1997-10-11 13:40:26 +00:00
mycroft 088478fe61 If the ETA is too large to fit on the display (i.e. 100 hours or more), don't
try to display it.
Also, eliminate many extra calls to strlen().
1997-10-11 12:05:15 +00:00
mycroft fe47ecc300 Also need -I. to get menu_defs.h in an obj dir. 1997-10-11 11:49:36 +00:00
mycroft ffc08ff2c0 Clean this up, and make it work with obj directories. 1997-10-11 11:46:49 +00:00
mycroft 5ec8e0144d Clean up this garbage. 1997-10-11 11:37:21 +00:00
mycroft af65e81265 Make these executables world-readable. 1997-10-11 11:05:28 +00:00
mycroft e96e918e60 Use bsd.subdir.mk as appropriate. 1997-10-11 09:34:07 +00:00
enami b34354ff76 Add h option to usage. 1997-10-11 03:12:17 +00:00
mycroft 1999e9c4b7 Fix more white space lossage. 1997-10-09 17:58:15 +00:00
mycroft 7b80581cc5 More KNF. 1997-10-09 16:54:38 +00:00
mycroft 97d989af48 Output the declaration for the loop index variable in the same block as the
rest of the vector inline code.
1997-10-09 16:31:12 +00:00
mycroft daa885fdce Fix another white space glitch. 1997-10-09 15:19:48 +00:00
mycroft eefe653830 Clean up some minor white space nonsense in the output. 1997-10-09 15:13:19 +00:00
mycroft a377886de6 Make the output more KNF-like, and only output the inlining variables when
needed.
1997-10-09 15:12:24 +00:00
jtc 3ee7ba138d Fix tipo inherited from old version of TNF copyright template. 1997-10-08 22:31:53 +00:00
jtc 3bc5599f8b Fix tipo inherited from old version of TNF copyright template. 1997-10-08 22:19:18 +00:00
christos 2cb3df576d Pr/4180: Erik Bertelsen: rdist does not produce intelligible error messages
and core dumps when the remote host is down:
	- avoid core dumps by checking lfp before using it.
	- use rcmd's err descriptor to grab and print the message.
1997-10-08 19:16:24 +00:00
christos b1179df85c Don't need -I${.CURDIR} 1997-10-08 19:13:39 +00:00
augustss b217726cdc Get rid of warnings. 1997-10-07 13:55:03 +00:00
mrg 11eb9f8e06 WARNS?=1 1997-10-07 09:19:40 +00:00
hubertf a06fe60f95 /etc/magic entries for the clisp common lisp system added.
Closes PR bin/4186 by Jim Wise <jimw@fornost.turner.com>
1997-10-07 04:39:35 +00:00
enami 7c1dbc2781 Document new flag -h. 1997-10-06 13:52:35 +00:00
enami d104b0b843 Introduce new flag, -h, to manupilate access/modification time of
symbolic link.
1997-10-06 13:46:52 +00:00
thorpej 75b410b331 If printing a u_long, use the %lu format. 1997-10-03 17:58:00 +00:00
enami 5e13aa5a50 - Include <string.h> to import the proto type of strlen().
- Add an empty line before inclusion of local header.
1997-10-03 16:37:25 +00:00
enami 5a3584034e Make this compile on NetBSD/alpha; use %ld and cast to u_long to print
a variable of type size_t.
1997-10-03 16:06:26 +00:00
hubertf 171499408a Fix a few minor formatting problems by inserting spaces. 1997-10-03 01:23:30 +00:00
hubertf 0be33fb678 -msU -> -ms
closes PR misc/4203 by Jim Wise <jimw@fornost.turner.com>
1997-10-03 01:22:13 +00:00
is 5379dca61e /etc/magic -> /usr/share/misc/magic 1997-09-30 17:00:30 +00:00
lukem 2ba9e97765 wrap #include <sys/cdefs.h>, __RCSID(...) stuff in #ifndef MAKE_BOOTSTRAP 1997-09-28 03:30:58 +00:00
phil 7fadacf3cf Add msgc and menuc to subdirs. 1997-09-26 21:22:33 +00:00