summaryrefslogtreecommitdiffstats
path: root/usr.sbin/tokenadm/tokenadm.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* tokenadm(8) is already pledged, do the same for tokeninit(8).bluhm2016-03-221-6/+6
| | | | | | | | - bring comment in both programms in line - tokeninit(8) needs "tty" for readpassphrase(3) - call token_init() after pledge(2) - fix whitespace OK millert@
* pledge(2) tokenadm(8): it needs "rpath wpath cpath fattr flock" for operationsmestre2015-12-301-1/+4
| | | | | | | on the DB files and before that it also needs "getpw" due to calling getgrnam(3) to get the group (TOKEN_GROUP). This was OK bluhm@ and also with a slightly tweak sugested from him
* Replace <sys/param.h> with <limits.h> and other less dirty headers wherederaadt2015-01-161-2/+3
| | | | | | | | | 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)
* simplify synopsis/usage() and sort options;jmc2007-03-151-2/+2
| | | | from Igor Sobrado
* dont compare int with NULL, compare to 0 instead, otto@ okavsm2004-06-211-3/+3
|
* Remove those option letters from the getopt string which do not have a caseaaron2004-04-071-2/+2
| | | | handler below. millert@ ok
* no , at end of enumderaadt2002-09-061-3/+3
|
* minor KNFderaadt2002-06-021-2/+2
|
* minor KNFderaadt2002-05-301-4/+3
|
* getopt(3) returns -1 when out of args, not EOF.mpech2001-10-241-2/+2
| | | | millert@ ok
* set the or_mask to TOKEN_ENABLED; ok millert@markus2001-05-301-2/+2
|
* Commands for manipulating the token database (ActivCard, CRYPTOCard, or SNK-004)millert2000-12-201-0/+402
from BSDi. Will be enabled when BSD authentication is turned on (login_token).