History log of /freebsd-10.1-release/usr.sbin/nologin/
Revision Date Author Comments
272461 03-Oct-2014 gjb

Copy stable/10@r272459 to releng/10.1 as part of
the 10.1-RELEASE process.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


169439 10-May-2007 yar

Update nologin(5) to match the modern reality of login.conf(5) and PAM.


139685 04-Jan-2005 delphij

Use __unused macro instead of a bare void for main().

Suggested by: nectar


139656 04-Jan-2005 delphij

nologin(8) does not seem to require any command line parameters,
so remove argc and argv from main() argument.

At the same time, user and tt is not likely to be changed during
execution so mark them const.

This commit should guarantee nologin to pass WARNS=6.

Tested on: i386
MFC After: 1 month


139112 21-Dec-2004 ru

NOSHARED -> NO_SHARED


133249 07-Aug-2004 imp

Per letter dated July 22, 1999 remove 3rd clause of Berkeley derived software
(with permission of addtional copyright holders where appropriate)


130420 13-Jun-2004 ru

Assorted markup, grammar, and spelling fixes.


126904 13-Mar-2004 cperciva

Add standard copyright notice; fix style bugs. (Reported by bde)
Remove NO_NOLOGIN_LOG option now that we're off the root partition.


126903 13-Mar-2004 cperciva

When nologin(8) is installed in /usr/sbin/, create a symlink from
/sbin/nologin for compatibility purposes. Also, remove the NO_NOLOGIN_LOG
option; we don't need to worry about conserving space as much on the /usr
partition.

Note that usr.sbin/nologin is not yet hooked up to the build.


126117 22-Feb-2004 cperciva

Report login attempts to syslog. Due to the statically-linked nature of
nologin(8), this causes a considerable (100K) increase in the binary size,
so I've added a NO_LOGIN_LOG option which disables this.

While I'm here, s/sizeof(MESSAGE)/sizeof(MESSAGE) - 1/, in order to
avoid writing the string-terminating zero byte.

No complaints from: -current
Approved by: rwatson (mentor)


122843 17-Nov-2003 das

Remove the BUGS section introduced in rev 1.11 now that the problem
has been addressed.


122842 17-Nov-2003 das

Reimplement nologin(8) as a C program. This allows us to statically
link it at low cost and avoid environment poisoning attacks associated
with LD_LIBRARY_PATH.

Suggested by: rwatson


122822 17-Nov-2003 das

Document nologin(8) as being insecure in conjunction with a dynamic
root and suggest alternatives.


99501 06-Jul-2002 charnier

The .Nm utility


79754 15-Jul-2001 dd

Remove whitespace at EOL.


79530 10-Jul-2001 ru

mdoc(7) police: removed HISTORY info from the .Os call.


75286 07-Apr-2001 ru

beforeinstall -> SCRIPTS.


74815 26-Mar-2001 ru

- Backout botched attempt to introduce MANSECT feature.
- MAN[1-9] -> MAN.


70015 14-Dec-2000 ru

mdoc(7) police: removed history info from the .Os FreeBSD call.


68960 20-Nov-2000 ru

mdoc(7) police: use the new features of the Nm macro.


68754 15-Nov-2000 ben

more removal of trailing periods from SEE ALSO.


68640 12-Nov-2000 nik

Be a little clearer about the relationship between these two.

PR: docs/20067
Submitted by: Takayuki Hagihara


50476 28-Aug-1999 peter

$Id$ -> $FreeBSD$


43510 01-Feb-1999 wosch

Added xref to nologin(5).


43509 01-Feb-1999 wosch

Added xref to nologin(8).


42587 12-Jan-1999 asami

Oops, I missed a few more /etc/nologin references yesterday. It appears
my check of the tree was incomplete. Sorry guys.

Reported by: Ben Smithurst <ben@scientia.demon.co.uk>


37668 15-Jul-1998 charnier

Add Id. .Nm nologin -> .Nm.


23314 03-Mar-1997 mpp

An odd merge from 2.2 to -current. Somehow that 2.2 nologin.5
man page was in better shape than the 3.0-current version,
so I'm committing the 2.2 version to 3.0. Whatever happened,
it was my fault :-).


22739 15-Feb-1997 joerg

Plug a security hole involving $ENV forwarding over telnet. Sigh, i
thought i've long since done this.


22317 06-Feb-1997 wosch

/sbin -> ${BINDIR}


17071 10-Jul-1996 nate

Now that we have a manpage, don't have the 'clean' target be a NO-OP.


13720 29-Jan-1996 mpp

Fix a bunch of spelling errors.


13679 28-Jan-1996 wosch

A manpage. May be the file nologin.5 should located in
src/share/man/man5.


9701 25-Jul-1995 bde

Change `install' to `${INSTALL}' so that default install flags can be
specified in the top level Makefiles.


1855 05-Aug-1994 wollman

Convert to our man installation style. Also fixed long-standing bug
in `fastboot'/`fasthalt' in which the interpreter would hang around
after `reboot' or `halt' is run, causing an irritating ``Killed'' message.


1558 26-May-1994 rgrimes

BSD 4.4 Lite sbin Sources

Note: XNSrouted and routed NOT imported here, they shall be imported with
usr.sbin.