summaryrefslogtreecommitdiffstats
path: root/chpass/field.c
Commit message (Collapse)AuthorAgeFilesLines
* Print some warnings if root invokes chpass and sets theMike Pritchard1996-04-111-0/+19
| | | | | | | | | | | | | | | | | shell to one of the following: - a non-existent file - a non-regular file - a file without any execute bits set The shell is still set to whatever they entered even if the above conditions exist (hey, it is the super user doing this after all :-), but this might give the admin. some warning that they are about to screw themselves and give them a chance to fix it before it is too late. Inspired by: some new FreeBSD user on USENET who set his root shell to a shell that doesn't exist and now can't gain access to root (don't worry, I sent him some mail on how to recover from this).
* Remove trailing whitespace.Rodney W. Grimes1995-05-301-2/+2
|
* BSD 4.4 Lite Usr.bin SourcesRodney W. Grimes1994-05-271-0/+268