Commit Graph

32646 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
oki fd9fae64cc Added prototype. 1997-10-12 14:44:12 +00:00
lukem 4877bdbb3b enable WARNS?=1 by default, & temporarily disable for the few unclean programs 1997-10-12 14:21:44 +00:00
lukem 31af6bf816 getopt returns -1 not EOF 1997-10-12 14:19:17 +00:00
lukem 9f3003730a deprecate auto 1997-10-12 14:17:27 +00:00
lukem 130a514f31 deprecate bzero, rindex, etc. use symbolic constants in open() 1997-10-12 14:16:26 +00:00
lukem 9007937fbb WARNSify 1997-10-12 14:09:55 +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 30c6e0cebf SRCS must be defined *before* bsd.prog.mk is included... 1997-10-12 14:06:21 +00:00
mycroft 307211b0f5 Add some krb5 hooks, though it probably doesn't work yet. 1997-10-12 14:04:36 +00:00
mycroft 76a39e6e7c Actually, do Kerberos first, since we want to get a TGT if possible.
Also, clean up some minor cruft.
1997-10-12 13:52:51 +00:00
bouyer 7a337eca27 Ops, forgot to 'cvs add' theses. Pointed out by enami tsugutomo. 1997-10-12 13:27:59 +00:00
mycroft 4bf23f1a50 Format police.
Also, try s/key before Kerberos.
1997-10-12 13:18:56 +00:00
mycroft d91c72fbd3 Minor changes. 1997-10-12 13:10:16 +00:00
mycroft 085fe346f1 Oops; fix typo. 1997-10-12 13:09:11 +00:00
mycroft 5566d4c1f1 Conditionalize s/key support. 1997-10-12 13:08:41 +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
oki 34c4ab5da2 Prune unused function. 1997-10-12 12:15:15 +00:00
oki 9418615252 Added prototypes. 1997-10-12 12:13:48 +00:00
mycroft ccacc504e5 Make this work again, and add ethers to the list of recursive targets. 1997-10-12 11:53:11 +00:00
lukem 2736b51163 WARNSify (not an insignificant task...) 1997-10-12 11:45:01 +00:00
briggs 93cacd961e Put spaces around / in comment so 'machine/*.h' does not generate '/* inside
comment' warning.
1997-10-12 11:04:18 +00:00
briggs f10f7ea13b Fix a couple of warnings. 1997-10-12 11:01:23 +00:00
briggs 03ea29eeb3 Put spaces around / in comment so 'machine/*.h' does not generate '/* inside
comment' warning.
1997-10-12 10:56:46 +00:00
cjs 8e29c9888e * Add hostname to temporary file to avoid collisions when locking on
an NFS volume and competing with the same pid on another machine.
* Make locking on an NFS-moutned file work properly by checking link
count.
* Make sure correct errno is returned.
1997-10-12 09:58:23 +00:00
oki 1db0621f0e Add prototype. 1997-10-12 06:41:45 +00:00
mikel d9c915fd1a add missing .Nm argument 1997-10-12 05:51:47 +00:00
lukem 8414aed80c WARNSify 1997-10-12 03:36:41 +00:00
lukem e9954a7422 WARNSify 1997-10-12 02:12:45 +00:00
lukem 43bcc6ff05 missed a couple of clock->ourclock and time->ourtime variable renames 1997-10-12 02:06:15 +00:00
lukem 161dd44953 minor WARNSify 1997-10-12 02:03:45 +00:00
lukem 2d3e71aa25 WARNSify, KNFify 1997-10-12 01:49:24 +00:00
mikel d76d14e5e5 add -Wpointer-arith to flags enabled by WARNS 1997-10-12 01:37:50 +00:00
lukem bc7a354dc9 WARNSify 1997-10-12 01:04:43 +00:00
lukem 0ea52cbe73 use err/warn instead of perror 1997-10-12 01:00:27 +00:00
lukem 9fe5400438 WARNSify 1997-10-12 00:53:45 +00:00
mycroft d9715c03c3 Remove bogus regress targets. 1997-10-11 22:57:29 +00:00
hubertf e10ebcabe2 pass the "-v"-switch on pkg_add to any pkg_add-calls
made for dependent packages
1997-10-11 22:25:16 +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 3a2d682898 Fix for WARNS?= 1 1997-10-11 21:48:50 +00:00
christos f8dba09cca Cleanup for WARNS = 1
- add prototypes
- comment out rfc931(); it conflicts with the one in -lwrap and is not needed
  anyway.
- remove unused variables
- add NetBSD rcsids.
1997-10-11 21:41:34 +00:00