Commit Graph

7868 Commits

Author SHA1 Message Date
wiz
3822da6877 Bump date for "rpc" support. 2005-01-21 10:32:33 +00:00
ginsbach
6c53b19fbf Implement "rpc" 2005-01-21 02:43:33 +00:00
xtraeme
691a36f2ea whitespace, remove main() prototype. 2005-01-20 15:44:59 +00:00
xtraeme
a35b6d287f Kill __P(), ANSIfy, remove main() prototype, whitespace; WARNS=2 2005-01-20 15:41:14 +00:00
ginsbach
cf8e68cb39 Add missing 'by' in license attribution -- Thanks, wiz! 2005-01-20 12:52:03 +00:00
wiz
704c845e60 Sync usage with man page. 2005-01-20 09:20:03 +00:00
wiz
c6bb1f479a Add RCS Id; sort option(s) without arguments before options with,
in SYNOPSIS; add prompts in examples; sort format letters as option letters would be sorted.
2005-01-20 09:18:11 +00:00
wiz
99cb01f31a Drop trailing whitespace. 2005-01-20 09:13:16 +00:00
ginsbach
55049570a7 add seq(1) 2005-01-20 04:26:00 +00:00
ginsbach
e8c2320896 seq(1) - print sequences of numbers 2005-01-20 04:13:42 +00:00
mycroft
debe1484b9 Set FD_CLOEXEC on the recovery mail file. 2005-01-19 01:20:24 +00:00
mycroft
c860ec870a Use FD_CLOEXEC (for -exec). 2005-01-19 01:03:16 +00:00
manu
0d884d9738 Remove unneeded \ at the end of line, style 2005-01-18 21:39:11 +00:00
lukem
44ad084298 preempt wizd; crank date 2005-01-15 21:28:16 +00:00
lukem
349815e5ed Expand description of http_proxy by suggesting the use of RFC 1738 '%xx'
encoding for "unsafe URL" characters in usernames and passwords.
2005-01-15 21:27:46 +00:00
jdolecek
04fa39a4be ectx_find() failed to lookup the emulation context unless it happened
to be the first entry, effectively resetting context of all processes to
default emulation on every EMUL trace record

rewrite ectx_find() to fix this, using <sys/queue.h> LIST for readability

this fix should once and for all remove need to ever use -e option,
and makes kdump work properly for traces with processes under different
emulations
2005-01-15 17:55:38 +00:00
ginsbach
efcf0fc8a1 Whitespace fix-ups. 2005-01-13 23:02:28 +00:00
jmc
2afa8931db Now that tools/compat provides a check, make sure st_birthtimensec exists
before using it
2005-01-13 00:53:14 +00:00
thorpej
c829edc516 Test USE_PAM, not MKPAM. 2005-01-13 00:13:33 +00:00
lukem
f851795088 Fix ftp url reget when globs are being used.
Provided by Mathieu Arnold <mat@FreeBSD.org>.
2005-01-12 22:37:41 +00:00
xtraeme
80a3a0790b * Kill __P()
* ANSIfy
* Remove main() prototype
2005-01-12 17:19:23 +00:00
xtraeme
ea13a7dd7d ANSIfy another function missed in previous. 2005-01-12 17:10:05 +00:00
xtraeme
5c1d419d06 * Kill __P()
* ANSIfy
* No parenthesis are needed around the return value
2005-01-12 17:04:35 +00:00
xtraeme
b363f90b86 WARNS=3 2005-01-12 16:42:45 +00:00
xtraeme
4ed1105b0d WARNS=3 2005-01-12 14:45:26 +00:00
xtraeme
2abf3ae985 WARNS=3 2005-01-12 14:41:29 +00:00
xtraeme
1ac55ee68a Kill __P(), ANSIfy, WARNS=3 2005-01-12 14:35:56 +00:00
christos
cef96160f5 more cleanups, WARNS=3 2005-01-12 05:45:23 +00:00
xtraeme
61ae8d8c7b Kill __P() and ANSIfy, ok christos. 2005-01-12 05:34:23 +00:00
christos
28e33dbb3b Use pw_gensalt() instead of using the cipher functions directly. Simplifies
the code a lot.
2005-01-12 03:35:34 +00:00
christos
5b5b914e5a adapt to pw_gensalt() changes. 2005-01-12 03:34:58 +00:00
christos
b2f0c10f07 undo accidental commit with MKPAM=yes 2005-01-12 01:46:03 +00:00
christos
f8b8ae274a Always print pam error in messages 2005-01-12 01:45:32 +00:00
christos
6c0f1bcc27 :x 2005-01-12 01:45:31 +00:00
christos
68e7a6e2e1 SRCS is not needed. 2005-01-12 01:21:14 +00:00
christos
59bf3abf20 gc unused file. 2005-01-12 00:38:17 +00:00
christos
911a82af6b - use the gensalt functions from libcrypt instead of rolling our own. 2005-01-11 22:56:19 +00:00
christos
19917e71c5 use pw_gensalt() and don't dig into libcrypt. 2005-01-11 22:42:30 +00:00
wiz
86eb0864bd We have 2005 now. 2005-01-11 09:46:17 +00:00
wiz
36cdbd4840 Bump date for recent changes. 2005-01-11 09:39:12 +00:00
christos
81b53d0cfa - make LOGIN_CAP mandatory
- eliminate global pamh
- use setusercontext() properly (ideas borrowed from FreeBSD)
- remove stray debugging.

This now works.
2005-01-10 23:33:53 +00:00
christos
6b47b9b52a LOGIN_CAP is mandatory for PAM. 2005-01-10 23:31:34 +00:00
christos
2ef14ae88a Restore su.c to version 1.58, plus minor prototyping. Split pam
into su_pam.c, and turn it off by default in the Makefile until it
is tested and actually works. The current pam version does not set ruid
properly anymore.
2005-01-10 03:11:50 +00:00
lukem
1e281ed227 Only #define HAVE_IPV6 if ${USE_INET6} != "no". 2005-01-10 03:11:17 +00:00
lukem
7157011597 Only compile in IPv6 support if ${USE_INET6} != "no"
MKINET6 is for providing IPv6 infrastructure.
USE_INET6 is for compiling IPv6 support into the programs (needs MKINET6).
2005-01-10 02:58:58 +00:00
manu
d37a5aac85 Rewrite PAMification of su.
- don't try to fallback to plain old authentication. It could lead to unix
  authentication to be used while the administrator wanted to forbid it.
  Moreover, a broken PAM setup can be fixed by just rebooting in single user.
- In order to make the code more readable, make two main(), with and aithout
  PAM.
- Outstanding issues that seem impossible to fix:
  The -K flag die with PAM.
  -c cause PAM credentials to be ignored.
2005-01-09 21:32:38 +00:00
christos
089038b4a1 Allow -c argument now. 2005-01-09 17:47:45 +00:00
christos
fcda42cd46 - remove left over debugging code.
- centralize pointer to the head of the list casts by introducing a new var.
2005-01-09 01:27:47 +00:00
manu
02a0830983 Don't fallback to plain old authentication on "normal" errors such as
authentication failure.
2005-01-08 22:16:23 +00:00
christos
e52488f22f if we are using pam and it succeeded, don't re-initialize kerberos needlessly. 2005-01-08 18:12:35 +00:00