mpp
1e975da41b
Fix some spelling errors.
2000-03-24 00:58:49 +00:00
ume
16bba59042
Return IPv4 native address for IPv4 mapped IPv6 address, even if
...
A RR is not found.
Reviewed by: shin
2000-03-23 17:25:00 +00:00
ume
fa78c92984
Since crypto/openssh/login.c was changed to use realhostname_sa(),
...
when connecting via IPv6, hostname was not recorded to utmp anymore.
Because, if hostname is longer than buffer size, getnameinfo() returns
with ENI_MEMORY.
Reviewed by: shin
Approved by: jkh
2000-03-07 07:52:01 +00:00
sheldonh
0bd4857cef
Remove single-space hard sentence breaks. These degrade the quality
...
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
2000-03-02 09:14:21 +00:00
shin
78e599e146
Update major version.
...
Now libutil depends on libc.so.4, so needs to update the major version.
Without this, old binaries which use libutil and build with libc.so.3
will coredump on recent 4.0.
Solicited comment for cvs-committers and there seems to be no objection.
Approved by: jkh
2000-02-14 03:55:27 +00:00
nik
bf3964306c
Document mixpasswordcase here as well as in passwd.1
2000-02-11 13:55:41 +00:00
joe
a3a381812b
Historically file flags (schg, uschg, etc) have been converted from
...
string to u_long and back using two functions, flags_to_string and
string_to_flags, which co-existed with 'ls'. As time has progressed
more and more other tools have used these private functions to
manipulate the file flags.
Recently I moved these functions from /usr/src/bin/ls to libutil,
but after some discussion with bde it's been decided that they
really ought to go in libc.
There are two already existing libc functions for manipulating file
modes: setmode and getmode. In keeping with these flags_to_string
has been renamed getflags and string_to_flags to setflags.
The manual page could probably be improved upon ;)
2000-01-27 21:17:01 +00:00
shin
dce9862d66
Avoid core dump when ai_canonname is NULL.
...
(Now this happens for numeric addrs, as getaddrinfo() 1.3 -> 1.4 change)
Reviewed by: Mark Huizer <xaa@timewasters.nl>
2000-01-27 17:24:53 +00:00
bde
05c6d03276
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
b7a459072e
Use a more conventional copyright message.
2000-01-26 07:17:00 +00:00
shin
7c069c8355
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
ru
cd83094d21
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
ab529a8df1
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
billf
58f500d0c9
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
shin
38c1f10e83
Support v6 login.
2000-01-15 03:26:54 +00:00
rgrimes
7e1486bf06
Replace beforeinstall target with new variables used by .mk system.
...
Reviewed by: marcel, and make world
2000-01-14 07:57:47 +00:00
bde
11831166a9
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
joe
e1558fa7cb
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
1bee6959f4
Connect fparseln(3) for mailwrapper(8)
1999-12-29 17:50:34 +00:00
roberto
5d593558fb
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
roberto
7e9f2214cc
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
e5156933a6
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
843b1e7378
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
74c8c41cdf
Make setproctitle(NULL) restore all of the original arguments
...
(if it's able).
1999-11-17 21:12:17 +00:00
phk
9e8e07135f
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
jkoshy
2c048b0d9a
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
green
4899b61a6b
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
phantom
0758474433
mdoc(7)'fy
...
Reviewed by: mpp
1999-09-21 19:39:27 +00:00
phantom
34985ba96d
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
b6784c4210
$Id$ -> $FreeBSD$
1999-08-28 01:35:59 +00:00
peter
e226894fa0
$Id$ -> $FreeBSD$
1999-08-28 00:22:10 +00:00
peter
3b7c52fb9a
$Id$ -> $FreeBSD$
1999-08-27 23:15:48 +00:00
chris
24ff4e8603
Fix a bunch of broken cross-references
1999-08-18 05:55:22 +00:00
mpp
eed3878b2e
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
0ef3085422
Bad reference of termios(3) changed to termios(4).
1999-08-14 07:52:29 +00:00
chris
54eac00e8d
Bad reference to lstat(3) changed to lstat(2)
1999-08-14 07:43:02 +00:00
sheldonh
3433d56199
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
12c6c332a7
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
d72e9660fb
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
sheldonh
c7bb102692
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
pb
76f1b19c23
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
pb
f79578648f
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
sheldonh
6a6011a9a8
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
jb
31bb8b56d3
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
jmz
163bdc4dd7
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
ache
c61d95a698
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
hoek
c58ef3f1c2
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
ache
f52d9e06ec
oops, add pwd!=NULL check to previous fix
1999-04-24 17:17:42 +00:00
ache
b0558c3afe
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
ache
c73dbb17e8
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