login_fbtab - implement device security based on /etc/fbtab
#include <sys/types.h>
#include <util.h>
void
login_fbtab(const char *tty, uid_t uid, gid_t gid);
The login_fbtab() function reads the /etc/fbtab file and implements device
security as described in the fbtab(5) manual page.
/etc/fbtab
Problems are reported via the syslogd(8) daemon with the
severity of
LOG_ERR.
fbtab(5)
Wietse Venema ([email protected])
Eindhoven University of Technology
The Netherlands
Previous versions of this routine used strtok(3), which can
cause conflicts
with other uses of that routine. This may be an issue when porting
programs to OpenBSD 3.1 and below.
OpenBSD 3.6 June 14, 2002
[ Back ] |