History log of /openbsd-src/usr.sbin/tokenadm/tokenadm.c (Results 1 – 12 of 12)
Revision Date Author Comments
# fe266b8d 22-Mar-2016 bluhm <bluhm@openbsd.org>

tokenadm(8) is already pledged, do the same for tokeninit(8).
- bring comment in both programms in line
- tokeninit(8) needs "tty" for readpassphrase(3)
- call token_init() after pledge(2)
- fix whit

tokenadm(8) is already pledged, do the same for tokeninit(8).
- bring comment in both programms in line
- tokeninit(8) needs "tty" for readpassphrase(3)
- call token_init() after pledge(2)
- fix whitespace
OK millert@

show more ...


# 0ef08ec4 30-Dec-2015 mestre <mestre@openbsd.org>

pledge(2) tokenadm(8): it needs "rpath wpath cpath fattr flock" for operations
on the DB files and before that it also needs "getpw" due to calling getgrnam(3)
to get the group (TOKEN_GROUP).

This w

pledge(2) tokenadm(8): it needs "rpath wpath cpath fattr flock" for operations
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

show more ...


# b9fc9a72 16-Jan-2015 deraadt <deraadt@openbsd.org>

Replace <sys/param.h> with <limits.h> and other less dirty headers where
possible. Annotate <sys/param.h> lines with their current reasons. Switch
to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_N

Replace <sys/param.h> with <limits.h> and other less dirty headers where
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)

show more ...


# d4acc1c4 15-Mar-2007 jmc <jmc@openbsd.org>

simplify synopsis/usage() and sort options;
from Igor Sobrado


# cd1e9566 21-Jun-2004 avsm <avsm@openbsd.org>

dont compare int with NULL, compare to 0 instead, otto@ ok


# 67e491c4 07-Apr-2004 aaron <aaron@openbsd.org>

Remove those option letters from the getopt string which do not have a case
handler below. millert@ ok


# 4f67eb1d 06-Sep-2002 deraadt <deraadt@openbsd.org>

no , at end of enum


# fc168eb6 02-Jun-2002 deraadt <deraadt@openbsd.org>

minor KNF


# 0f3328b9 30-May-2002 deraadt <deraadt@openbsd.org>

minor KNF


# d52e83b8 24-Oct-2001 mpech <mpech@openbsd.org>

getopt(3) returns -1 when out of args, not EOF.

millert@ ok


# 0f7bc442 30-May-2001 markus <markus@openbsd.org>

set the or_mask to TOKEN_ENABLED; ok millert@


# 851d2d47 20-Dec-2000 millert <millert@openbsd.org>

Commands for manipulating the token database (ActivCard, CRYPTOCard, or SNK-004)
from BSDi. Will be enabled when BSD authentication is turned on (login_token).