Commit Graph
217 Commits
Author SHA1 Message Date
David E. O'Brien 0d7cc31dbe MFC: rev. 1.32 ("login_prompt" and "passwd_prompt" fields to /etc/login.conf)
rev. 1.33 (sort)
2001-05-18 05:38:21 +00:00
Ruslan Ermilov 68b300bfe6 MFC: MAN[1-9] -> MAN. 2001-04-25 10:04:44 +00:00
Ruslan Ermilov 0d8324cd36 MFC: recent mdoc(7) fixes. 2001-03-06 16:46:24 +00:00
Kris Kennaway 8784f3f788 MFC: r1.21: typo fixes 2001-03-05 06:30:23 +00:00
Kris Kennaway 28243295c8 MFC: r1.4: $Id$ -> $FreeBSD$ 2001-03-05 06:29:52 +00:00
Kris Kennaway 6e3ae16402 MFC: Fix up prototypes and includes
Covers the following revisions:

libc/rpc/rpc.3          1.13
libc/stdlib/tsearch.3   1.5
libc/xdr/xdr.3          1.10
libdisk/libdisk.3       1.20
libftpio/ftpio.3        1.27
libposix1e/posix1e.3    1.11
libusb/usb.3            1.5
libutil/logout.3        1.8
2001-03-05 04:15:27 +00:00
Brian Somers 0e103afd12 MFC: Make realhostname*() trimdomain() properly. 2001-02-12 13:12:53 +00:00
Ruslan Ermilov fdf2756069 MFC: Prepare for mdoc(7)NG. 2001-01-16 10:42:38 +00:00
Guy Helmer 8257deac86 MFC login_ok.c rev 1.8: Pass the number of bytes needed, not simply the
number of login time structures.  Forward the name of the deny capability
rather than hard-coding it in login_hostok.
2001-01-10 21:01:30 +00:00
Ruslan Ermilov f796e00479 MFC: Prepare for mdoc(7)NG. 2000-12-29 14:45:07 +00:00
Ruslan Ermilov e1928dc27e MFC: (fix part of rev 1.22) Eliminate the .Fx warning. 2000-12-12 10:13:45 +00:00
Ruslan Ermilov 20456d91bc MFC: recent mdoc(7) fixes. 2000-12-08 13:53:03 +00:00
Murray Stokely f412cc8773 MFC: Fix ambiguous handling of empty strings, clarify manpage. 2000-11-22 03:49:49 +00:00
Brian Feldman 3b8dbab540 MFC: fix accidental inlining 2000-10-27 01:50:31 +00:00
cvs2svn 0c9d7cf2b7 This commit was manufactured by cvs2svn to create branch 'RELENG_4'. 2000-10-27 01:19:03 +00:00
Brian Somers d07eaa59d9 MFC: Actually make uu_lock_xfer() work. 2000-10-09 20:20:52 +00:00
Brian Feldman f3748c64ee MFC: passwd_format documentation 2000-09-30 00:44:47 +00:00
Brian Feldman 0a25ad1031 MFC: login.conf password format switching 2000-09-20 11:19:55 +00:00
Jordan K. Hubbard 391532fbcd MFC: remove gratuitous register reference 2000-09-20 09:54:16 +00:00
Jordan K. Hubbard 888fea22a5 MFC: fix prototypes, add xref in man page 2000-09-20 09:53:24 +00:00
Brian Somers b31e3e417a MFC: Move setproctitle() from libutil to libc
and bump __FreeBSD_version to 410002 to mark the occasion.
2000-09-16 22:47:18 +00:00
cvs2svn 4cd12ae4ad This commit was manufactured by cvs2svn to create branch 'RELENG_4'. 2000-08-23 11:54:11 +00:00
Paul Saab 24b524333f MFC: If the format string passed to setproctitle begins with a '-'
character, skip the program name when setting the process title.
2000-08-01 07:50:26 +00:00
Hajimu UMEMOTO 95d2558bd4 MFC: (rev 1.8 -> 1.9) Sshd writes connected host into utmp directly.
If the connection is via IPv6, the hostname is trimed due to the
length of IPv6 address.  This change saves it as possible.
I have a grudge against the shortage of UT_HOSTSIZE.
2000-07-18 10:25:37 +00:00
Sheldon Hearn ee6a4f5f57 MFC: make sbsize a size instead of a number. 2000-07-18 09:45:40 +00:00
Tim Vanderhoek e4d60cc53a MFC: fix memory leak on login_close() 2000-06-04 01:29:23 +00:00
Hajimu UMEMOTO 7b381be68f MFC: We should see the ai_canonname menber of the first addrinfo
structure in the linked list.  RFC2553 mentions only first.
2000-06-03 16:58:26 +00:00
Alfred Perlstein 3ca5f13a43 MFC: document sbsize. 2000-06-02 20:53:55 +00:00
Sheldon Hearn 53ef40deb9 MFC: Fix miscellaneous mdoc macro argument limit infringements. 2000-05-09 14:12:53 +00:00
Mike Pritchard 7357841153 MFC: Fix some spelling errors. 2000-04-23 17:00:38 +00:00
Alexey Zelkin a7f6a73356 MFC: introduce .Lb macro to libraries manpages, some mdoc cleanup 2000-04-22 16:36:09 +00:00
Hajimu UMEMOTO 8d635de429 MFC, Return IPv4 native address for IPv4 mapped IPv6 address, even if
A RR is not found.
2000-04-10 20:08:43 +00:00
cvs2svn 842f308487 This commit was manufactured by cvs2svn to create branch 'RELENG_4'. 2000-03-13 04:59:44 +00:00
Hajimu UMEMOTO 88f853e037 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
Sheldon Hearn c6ff3a1bf7 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
Yoshinobu Inoue 3a6be83f49 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 Clayton dc23d0609b Document mixpasswordcase here as well as in passwd.1 2000-02-11 13:55:41 +00:00
Josef Karthauser 18c0eeddf7 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
Yoshinobu Inoue 01d81a0351 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 <[email protected]>
2000-01-27 17:24:53 +00:00
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 <[email protected]> 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