Crate login_cap_sys

Crate login_cap_sys 

Source

Structs§

login_cap
Raw type for login capability, aliased as login_cap_t

Constants§

AUTH_ALLOW
Bitwise OR (AUTH_OKAY | AUTH_ROOTOKAY | AUTH_SECURE)
AUTH_CHALLENGE
A challenge was given
AUTH_EXPIRED
Account expired
AUTH_OKAY
User authenticated
AUTH_PWEXPIRED
Password expired
AUTH_ROOTOKAY
Authenticated as root
AUTH_SECURE
Secure login
AUTH_SILENT
Silent rejection
BI_AUTH
Accepted authentication
BI_CHALLENGE
Reject with a challenge
BI_EXPIRED
Account expired
BI_FDPASS
Child is passing an fd
BI_PWEXPIRED
Password expired
BI_REJECT
Rejected authentication
BI_REMOVE
Remove file on error
BI_ROOTOKAY
Root authenticated
BI_SECURE
Ok on non-secure line
BI_SETENV
Set environment variable
BI_SILENT
Reject silently
BI_UNSETENV
Unset environment variable
BI_VALUE
Set local variable
LOGIN_SETALL
Sets all of the above.
LOGIN_SETENV
Sets environment variables specified by the setenv keyword.
LOGIN_SETGROUP
Set the group ID and call initgroups(3). Requires the pwd field be specified.
LOGIN_SETLOGIN
Set the login name set by setlogin(2). Requires the pwd field be specified.
LOGIN_SETPATH
Sets the PATH environment variable.
LOGIN_SETPRIORITY
Swets the priority by setpriority(2).
LOGIN_SETRESOURCES
Sets the various system resources by setrlimit(2).
LOGIN_SETUMASK
Sets the umask by umask(2).
LOGIN_SETUSER
Sets the user ID to uid by setuid(2).

Functions§

login_close
From login_getclass(3):
login_getcapbool
From login_getclass(3):
login_getcapnum
From login_getclass(3):
login_getcapsize
From login_getclass(3):
login_getcapstr
From login_getclass(3):
login_getcaptime
From login_getclass(3):
login_getclass
From login_getclass(3):
login_getstyle
From login_getclass(3):
secure_path
From login_getclass(3):
setclasscontext
From login_getclass(3):
setusercontext
From login_getclass(3):

Type Aliases§

login_cap_t
Alias for the login capability type login_cap
quad_t