Subject: CVS commit: src/usr.sbin/user
To: None <>
From: Alistair G. Crooks <>
List: source-changes
Date: 01/14/2006 22:00:52
Module Name:	src
Committed By:	agc
Date:		Sat Jan 14 22:00:52 UTC 2006

Modified Files:
	src/usr.sbin/user: user.c

Log Message:
Use a CPP definition for "/sbin/nologin" - it's at the top of the

Modify the logic in the previous but one commit - /sbin/nologin should
be considered a valid user shell, since otherwise, with the addition
of the checks for a valid user shell, useradd with a shell of
/sbin/nologin will fail.

Modify some of the code here to conform to the standards in the rest
of this file.

To generate a diff of this commit:
cvs rdiff -r1.101 -r1.102 src/usr.sbin/user/user.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.