Bruce Evans
cc8ffb11cd
Use a long line instead splitting a line with backslash-newline in synopsis.
...
My synopsis checker doesn't understand backslash-newline.
2000-01-27 03:04:11 +00:00
Peter Wemm
4dc2c0b8b3
Use a more conventional copyright message.
2000-01-26 07:17:00 +00:00
Yoshinobu Inoue
0cac72f42c
several tcp apps IPv6 update
...
-inetd
-rshd
-rlogind
-telnetd
-rsh
-rlogin
Reviewed by: freebsd-arch, cvs-committers
Obtained from: KAME project
2000-01-25 14:52:10 +00:00
Ruslan Ermilov
36807a7b25
Do not set the default terminal type to "su", leave it empty.
...
PR: bin/5084
Reviewed by: asmodai, davidn, sef
2000-01-19 10:54:44 +00:00
Chris Costello
da55e68c66
Repair internal consistency: Change "login_cap_t * lc" to a more correct
...
(and consistent) "login_cap_t *lc".
2000-01-18 03:02:29 +00:00
Bill Fumerola
4aee48edcc
Add the "use -lutil" line to all functions that require it so people like
...
Dan Papsian <bugg@bugg.strangled.net> don't anger wpaul and myself with
silly linking errors.
Reviewed by: chris
2000-01-18 01:27:47 +00:00
Yoshinobu Inoue
ad5e523b7f
Support v6 login.
2000-01-15 03:26:54 +00:00
Rodney W. Grimes
d05257b0f2
Replace beforeinstall target with new variables used by .mk system.
...
Reviewed by: marcel, and make world
2000-01-14 07:57:47 +00:00
Bruce Evans
2e22df0b11
Fixed missing include in synopsis.
...
Removed superfluous quoting of function name in .Fo macro. My synopsis
checker doesn't understand it.
2000-01-05 16:31:12 +00:00
Josef Karthauser
edc2844c9f
Moved flags_to_string and string_to_flags into libutil. It's used in
...
many places nowadays.
1999-12-30 13:15:15 +00:00
Peter Wemm
2705d66b49
Connect fparseln(3) for mailwrapper(8)
1999-12-29 17:50:34 +00:00
Ollivier Robert
aa50282cd1
Fix a bug where a pointer would be one character too far after putting
...
a '\0' at the end of a string.
Submitted by: Martin Birgmeier <Martin.Birgmeier@aon.at>
1999-12-21 10:17:36 +00:00
Ollivier Robert
27d5775d8c
Rewriting of flags_to_string() and string_to_flags() to use an array.
...
PR: bin/3648
Submitted by: Martin Birgmeier <mbirg@austria.ds.philips.com>
1999-12-19 15:31:24 +00:00
Peter Wemm
1fa45844c4
This commit was generated by cvs2svn to compensate for changes in r54820,
...
which included commits to RCS files with non-trunk default branches.
1999-12-19 14:14:37 +00:00
Peter Wemm
d6e91b3149
Import fparseln(3) from NetBSD. It's used for easily dealing with \
...
escaped lines etc. (used by mailwrapper)
1999-12-19 14:14:37 +00:00
Brian Somers
0675e24de0
Make setproctitle(NULL) restore all of the original arguments
...
(if it's able).
1999-11-17 21:12:17 +00:00
Poul-Henning Kamp
b9df5231ca
Introduce commandline caching in the kernel.
...
This fixes some nasty procfs problems for SMP, makes ps(1) run much faster,
and makes ps(1) even less dependent on /proc which will aid chroot and
jails alike.
To disable this facility and revert to previous behaviour:
sysctl -w kern.ps_arg_cache_limit=0
For full details see the current@FreeBSD.org mail-archives.
1999-11-16 20:31:58 +00:00
Joseph Koshy
07ee6e1899
Link manual page for login_getpwclass(3) to login_cap(3).
...
PR: docs/14673
Submitted by: Andrew <andrew@ugh.net.au>
1999-11-04 08:33:18 +00:00
Brian Feldman
6b3ced11a2
This implements the RLIMIT_SBSIZE ("sbsize") administrative limits for
...
userland. Currently, it can be enforced by login and csh. More
shells supporting sbsize are welcome.
1999-10-09 20:47:59 +00:00
Alexey Zelkin
3a049969b5
mdoc(7)'fy
...
Reviewed by: mpp
1999-09-21 19:39:27 +00:00
Alexey Zelkin
c6d6e7726f
Correct spelling : ascii -> ASCII
...
PR: docs/13702
Submitted by: Stephen J. Roznowski <sjr@home.com>
Reviewed by: mpp
1999-09-20 09:15:23 +00:00
Peter Wemm
97d92980a9
$Id$ -> $FreeBSD$
1999-08-28 01:35:59 +00:00
Peter Wemm
7f3dea244c
$Id$ -> $FreeBSD$
1999-08-28 00:22:10 +00:00
Peter Wemm
2a4562393f
$Id$ -> $FreeBSD$
1999-08-27 23:15:48 +00:00
Chris Costello
f437b38cf7
Fix a bunch of broken cross-references
1999-08-18 05:55:22 +00:00
Mike Pritchard
74804d58a0
Various man page cleanup:
...
- Sort xrefs
- FreeBSD.ORG -> FreeBSD.org
- Be consistent with section names as outlines in mdoc(7)
- Other misc mdoc cleanup.
PR: doc/13144
Submitted by: Alexy M. Zelkin <phantom@cris.net>
1999-08-15 09:51:25 +00:00
Chris Costello
27f42f4fd8
Bad reference of termios(3) changed to termios(4).
1999-08-14 07:52:29 +00:00
Chris Costello
84f347708b
Bad reference to lstat(3) changed to lstat(2)
1999-08-14 07:43:02 +00:00
Sheldon Hearn
7312edcec3
Axe LOGIN_CAP_AUTH.
...
PR: 10115
Reported by: Gene Skonicki <gene@cif.rochester.edu>
Requested by: jdp
1999-08-13 16:51:40 +00:00
Nik Clayton
206ccf0420
Correct some grammar and style problems with this page.
...
Submitted by: Kris Kennaway <root@rebel.net.au>
1999-07-20 20:46:26 +00:00
Nik Clayton
d7dcd048aa
Be a little clearer about login_getpwclass(3), and its penchant for
...
looking up a record called "root".
PR: docs/12377
Submitted by: Adrian Filipi-Martin <adrian@ubergeeks.com>
1999-07-14 22:36:10 +00:00
Sheldon Hearn
a9b00e4d5f
Fix commented out CFLAGS addition for LOGIN_CAP_AUTH, which was missing
...
a make -D option.
PR: 12591
Submitted by: Craig Leres <leres@ee.lbl.gov>
1999-07-12 14:27:58 +00:00
Pierre Beyssac
9d1163f7c3
Move call to umask(0) back into pw_util(), because the latter
...
function is also used by chpass(1) and passwd(1).
1999-06-29 01:04:10 +00:00
Pierre Beyssac
2ece3ed4c8
Force umask to 077 (instead of 000) during the edit phase, to get
...
secure permissions in case the user attempts to save something to
a file of his own.
Move umask stuff out of pw_init() into main() for better visibility
of overall umask tweaking logic.
PR: misc/11797
1999-06-26 12:15:39 +00:00
Sheldon Hearn
af2d5f9b31
Add -d option to vipw(8) to allow selection of an alternative directory
...
for the password files.
PR: 2703
Submitted by: jmg
1999-06-26 07:16:42 +00:00
John Birrell
5095f1917a
Remove the static declaration from the line[] variable to allow
...
openpty() to be called from a threaded application.
1999-05-24 01:15:28 +00:00
Jean-Marc Zucconi
e1e705c5b5
Chflags was clearing all flags supplied on the command line after a
...
clearing flag like dump or noschg, etc.
PR: bin/10071
Submitted by: Andreas Klussmann <andreas@infosys.heitec.net>
1999-05-21 17:04:13 +00:00
Andrey A. Chernov
121ba32d78
fix potential memory overwrite in escape parsing
...
PR: 11687
Submitted by: Don Lewis <Don.Lewis@tsc.tdk.com>
1999-05-13 16:16:46 +00:00
Tim Vanderhoek
61f74535f6
Change references from "passwordperiod" to "passwordtime", since
...
"passwordtime" is what passwd(1) has actually been using. I suspect
passwordperiod was the original intent. I can't figure-out which,
if either, BSDi uses. If anyone knows...
1999-04-30 18:19:46 +00:00
Andrey A. Chernov
8a2deaa1de
oops, add pwd!=NULL check to previous fix
1999-04-24 17:17:42 +00:00
Andrey A. Chernov
ae70257435
Switch to user UID/GID before checking/reading its ~/.login_conf
...
- some NFSes have root read access disabled
1999-04-24 17:01:58 +00:00
Andrey A. Chernov
ab39fdb694
add MLINKS for two functions used from login_auth.c
...
comment out unused functions from login_auth.3
1999-04-24 16:30:30 +00:00
Brian Somers
d746fb6643
If given host.domain:nn[.nn], trimdomain() now reduces it to
...
host:nn[.nn] (if the domain is the same as the local one).
1999-04-09 01:54:10 +00:00
Brian Somers
c1df83d996
bcopy -> memmove
...
Suggested by: archie
1999-04-08 08:00:06 +00:00
Brian Somers
0c059599f6
Tidy up trimdomain() and document it.
...
Don't truncate one byte short of the passed length.
1999-04-07 14:03:31 +00:00
Brian Somers
5b3f0a74e1
Handle hostnames up to MAXHOSTNAMELEN-1 in length.
...
Use bcopy() instead of strcpy() to handle potentially
overlapping regions.
Un-obscure/complicate some code.
1999-04-07 08:27:04 +00:00
Brian Somers
bc19c8517d
Put parenthesis around sizeof args.
...
Allow for host names up to MAXHOSTNAMELEN - 1 in length.
Prompted by: bde
1999-04-07 08:26:50 +00:00
Brian Somers
595f220e04
Add realhostname() - a function to correctly lookup
...
a name by address and ensure that the name resolves
back to the original address.
1999-04-06 23:02:35 +00:00
Brian Somers
3c42a9c08a
Get the pid right if a stale lock file exists.
...
PR: 10531
Submitted by: Lawrence D. Lopez <lopez@cisco.com>
1999-03-11 09:09:20 +00:00
Bruce Evans
19ee2ea58c
Fixed bitrot in synopsis (some const poisoning had not reached here).
1999-03-05 17:08:23 +00:00