summaryrefslogtreecommitdiffstats
path: root/usr.bin/chpass/field.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Replace <sys/param.h> with <limits.h> and other less dirty headers wherederaadt2015-01-161-3/+2
| | | | | | | | | possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol)
* unsigned char casts for ctypederaadt2013-11-261-3/+3
| | | | ok krw
* rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2009-10-271-9/+1
| | | | | | | unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
* fix previous, admin may again set non-standard shell; ok millert@jacekm2009-04-301-3/+4
|
* Call endusershell() at the end of ok_shell(), making a copy of themillert2009-03-051-7/+6
| | | | (possibly) expanded shell as needed. OK deraadt@
* tiny bits of lintderaadt2006-03-311-5/+3
|
* cast to uid_t where needed; ok deraadt@robert2006-03-301-4/+4
|
* Use strtonum() instead of assigning the value of strtoul() to a uid_t/gid_t.millert2004-07-051-16/+17
| | | | Fixes a warning on 64bit platforms and is less error-prone. OK otto@
* - no need for pathnames.h, just use <paths.h> insteadavsm2003-07-011-3/+3
| | | | | - bump mktemp randomness slightly from 8 -> 10 millert@ ok
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-031-7/+3
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* cleanup; mpech & millert okderaadt2002-06-271-47/+16
|
* Remove shadow decl.downsj1998-05-291-3/+3
|
* rcsidderaadt1996-06-261-1/+2
|
* initial import of NetBSD treederaadt1995-10-181-0/+274