History log of /freebsd/lib/libutil/login_cap.c (Results 26 – 50 of 89)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 0ebec5d3 14-Jun-2003 Mark Murray <markm@FreeBSD.org>

Tidy up. Sort headers.


Revision tags: release/5.1.0_cvs, release/5.1.0, release/4.8.0_cvs, release/4.8.0, release/5.0.0_cvs, release/5.0.0, release/4.7.0_cvs
# 7fed38d0 25-Aug-2002 Philippe Charnier <charnier@FreeBSD.org>

Replace various spelling with FALLTHROUGH which is lint()able


Revision tags: release/4.6.2_cvs, release/4.6.2, release/4.6.1, release/4.6.0_cvs
# b00ba4cc 08-Apr-2002 Ruslan Ermilov <ru@FreeBSD.org>

Const poisoning.


# 40e0f7de 06-Mar-2002 Dag-Erling Smørgrav <des@FreeBSD.org>

Remove a bogus cast.


Revision tags: release/4.5.0_cvs, release/4.4.0_cvs
# 8719c58f 01-Oct-2001 Matthew Dillon <dillon@FreeBSD.org>

Add __FBSDID()s to libutil


# e36b245c 25-Sep-2001 Andrey A. Chernov <ache@FreeBSD.org>

1) Back out ~/.login_conf disable
2) Pick only "me" class from ~/.login_conf as documented


# 35105a5f 16-Sep-2001 Robert Watson <rwatson@FreeBSD.org>

Disable per-user .login_conf support due to incorrect merging of local
and globaly settings. An alternative implementation will be developed.

Reported by: Przemyslaw Frasunek <venglin@freebsd.lubli

Disable per-user .login_conf support due to incorrect merging of local
and globaly settings. An alternative implementation will be developed.

Reported by: Przemyslaw Frasunek <venglin@freebsd.lublin.pl>

show more ...


# 8df8b73f 15-Sep-2001 Robert Watson <rwatson@FreeBSD.org>

o Add a comment noting that the early setting of privileges for the purpose
of NFS home directory and root directory processing fails to include
additional groups. This doesn't impact the final

o Add a comment noting that the early setting of privileges for the purpose
of NFS home directory and root directory processing fails to include
additional groups. This doesn't impact the final credential, but does
mean that users may be denied login even when additional groups might
allow it.

show more ...


Revision tags: release/4.3.0_cvs, release/4.3.0
# 9a01d32b 06-Feb-2001 Jeroen Ruigrok van der Werven <asmodai@FreeBSD.org>

Fix typo: seperate -> separate.

Seperate does not exist in the english language.

Submitted to look at by: kris


Revision tags: release/4.2.0, release/4.1.1_cvs
# c2534fa1 23-Aug-2000 Brian Feldman <green@FreeBSD.org>

Stick login_setcryptfmt() in its own file to make pulling in of
-lcrypt only happen if truly necessary.


# 04c9749f 22-Aug-2000 Brian Feldman <green@FreeBSD.org>

Add working and easy crypt(3)-switching. Yes, we need a whole new API
for crypt(3) by now. In any case:

Add crypt_set_format(3) + documentation to -lcrypt.
Add login_setcryptfmt(3) + documentation

Add working and easy crypt(3)-switching. Yes, we need a whole new API
for crypt(3) by now. In any case:

Add crypt_set_format(3) + documentation to -lcrypt.
Add login_setcryptfmt(3) + documentation to -lutil.
Support for switching crypt formats in passwd(8).
Support for switching crypt formats in pw(8).

The simple synopsis is:
edit login.conf; add a passwd_format field set to "des" or "md5"; go nuts :)

Reviewed by: peter

show more ...


Revision tags: release/4.1.0, release/3.5.0_cvs
# 3f81737f 21-May-2000 Tim Vanderhoek <hoek@FreeBSD.org>

Fix a memory leak with lc->lc_cap in login_close().

PR: bin/17084


Revision tags: release/4.0.0_cvs, release/3.4.0_cvs, release/3.3.0_cvs
# 7f3dea24 28-Aug-1999 Peter Wemm <peter@FreeBSD.org>

$Id$ -> $FreeBSD$


Revision tags: release/3.2.0
# 8a2deaa1 24-Apr-1999 Andrey A. Chernov <ache@FreeBSD.org>

oops, add pwd!=NULL check to previous fix


# ae702574 24-Apr-1999 Andrey A. Chernov <ache@FreeBSD.org>

Switch to user UID/GID before checking/reading its ~/.login_conf
- some NFSes have root read access disabled


Revision tags: release/3.1.0, release/3.0.0, release/2.2.8, release/2.2.7, release/2.2.6, release/2.2.5_cvs
# c2043f40 14-Jun-1997 David Nugent <davidn@FreeBSD.org>

Add "break" inadvertently removed in previous update.
PR: 3820
Submitted by: Joseph Stein <joes@spiritone.com>


Revision tags: release/2.2.2_cvs
# 5f3a7367 11-May-1997 David Nugent <davidn@FreeBSD.org>

MF2.2: bugfix in arrayize().


# 56c04344 10-May-1997 David Nugent <davidn@FreeBSD.org>

Summary of login.conf support changes:

o Incorporated BSDI code and enhancements, better logging for error
checking (which has been shown to be a problem, and is therefore
justified, imho); also

Summary of login.conf support changes:

o Incorporated BSDI code and enhancements, better logging for error
checking (which has been shown to be a problem, and is therefore
justified, imho); also some minor things we were missing, including
better quad_t math, which checks for under/overflows.

o setusercontext() now allows user resource limit overrides, but
does this AFTER dropping root privs, to restrict the user to
droping hard limits and set soft limits within the kernel's
allowed user limits.

o umask() only set once, and only if requested.

o add _secure_path(), and use in login.conf to guard against
symlinks etc. and non-root owned or non-user owned files being
used. Derived from BSDI contributed code.

o revamped authentication code to BSDI's latest api, which
includes deleting authenticate() and adding auth_check()
and a few other functions. This is still marked as depecated
in BSDI, but is included for completeness. No other source
in the tree uses this anyway, so it is now bracketed with
#ifdef LOGIN_CAP_AUTH which is by default not defined. Only
auth_checknologin() and auth_cat() are actually used in
module login_auth.c.

o AUTH_NONE definition removed (collided with other includes
in the tree). [bde]

o BSDI's login_getclass() now accepts a char *classname
parameter rather than struct passwd *pwd. We now do likewise,
but added login_getpwclass() for (sort of) backwards
compatiblity, namely because we handle root as a special
case for the default class. This will require quite a few
changes elsewhere in the source tree.

o We no longer pretend to support rlim_t as a long type.

o Revised code formatting to be more bsd-ish style.

show more ...


Revision tags: release/2.2.1_cvs, release/2.2.0, release/2.1.7_cvs
# 65f50b7f 27-Feb-1997 Andrey A. Chernov <ache@FreeBSD.org>

"infinity" check was missed from login_getcapsize(), add it

One manifestation of this bug: all networking users have coredumpsize=0


# 7e546392 22-Feb-1997 Peter Wemm <peter@FreeBSD.org>

Revert $FreeBSD$ to $Id$


Revision tags: release/2.1.6_cvs, release/2.1.6.1
# 2955fda4 30-Jan-1997 David Nugent <davidn@FreeBSD.org>

Fix free()ing block twice, remove unused function.


# f01e3989 29-Jan-1997 David Nugent <davidn@FreeBSD.org>

Fix typo .->, for default separators in login_getcaplist().


# f9074e29 29-Jan-1997 David Nugent <davidn@FreeBSD.org>

Completed fixes with login_getcapsize().


# 51706563 29-Jan-1997 David Nugent <davidn@FreeBSD.org>

1) Fixed bug in free()ing internal string/array where
allocated size not reset to 0 causing NULL dereference
on call after login_close().
2) Modify login_capsize() behaviour to match manpage, allow

1) Fixed bug in free()ing internal string/array where
allocated size not reset to 0 causing NULL dereference
on call after login_close().
2) Modify login_capsize() behaviour to match manpage, allow
concatenated sizes; ie. 10m500k

show more ...


# 1130b656 14-Jan-1997 Jordan K. Hubbard <jkh@FreeBSD.org>

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.

show more ...


1234