Blame modules/pam_console/console.perms.5

Packit 7e982e
.\" Copyright 1999,2005 Red Hat Software, Inc.
Packit 7e982e
.\" Written by Michael K. Johnson <johnsonm@redhat.com>
Packit 7e982e
.TH console.perms 5 2005/5/2 "Red Hat Software" "System Administrator's Manual"
Packit 7e982e
.SH NAME
Packit 7e982e
console.perms \- permissions control file for users at the system console
Packit 7e982e
.SH DESCRIPTION
Packit 7e982e
/etc/security/console.perms and .perms files in the 
Packit 7e982e
/etc/security/console.perms.d directory determine the permissions that will be
Packit 7e982e
given to priviledged users of the console at login time, and the
Packit 7e982e
permissions to which to revert when the users log out.  They are
Packit 7e982e
read by the pam_console_apply helper executable.
Packit 7e982e
Packit 7e982e
The format is:
Packit 7e982e
Packit 7e982e
\f(CR<\fBclass\fR\f(CR>=\fBspace-separated list of words\fR
Packit 7e982e
Packit 7e982e
\fBlogin-regexp\fR\fI|\fR\f(CR<\fBlogin-class\fR\f(CR> \fBperm dev-glob\fR\fI|\fR\f(CR<\fBdev-class\fR\f(CR> \e
Packit 7e982e
.br
Packit 7e982e
\f(CR        \fBrevert-mode revert-owner\fR\fI[\fR\fP.revert-group\fI]\fR
Packit 7e982e
Packit 7e982e
The \fBrevert-mode\fP, \fBrevert-owner\fP, and revert-group fields are optional,
Packit 7e982e
and default to \fB0600\fP, \fBroot\fP, and \fBroot\fP, respectively.
Packit 7e982e
Packit 7e982e
The words in a class definition are evaluated as globs if they
Packit 7e982e
refer to files, but as regular expressions if they apply to a
Packit 7e982e
console definition.  Do not mix them.
Packit 7e982e
Packit 7e982e
Any line can be broken and continued on the next line by using a
Packit 7e982e
\e character as the last character on the line.
Packit 7e982e
Packit 7e982e
The \fBlogin-class\fP class and the \fBlogin-regexp\fP word are evaluated as
Packit 7e982e
regular expressions.
Packit 7e982e
The \fBdev-class\fP and the \fBdev-glob\fP word are evaluated as
Packit 7e982e
shell-style globs.  If a name given corresponds to a directory, and
Packit 7e982e
if it is a mount point listed in \fI/etc/fstab\fP, the device node
Packit 7e982e
associated with the filesystem mounted at that point will be
Packit 7e982e
substituted in its place.
Packit 7e982e
Packit 7e982e
Classes are denoted by being contained in \f(CR<\fR angle bracket \f(CR>\fR
Packit 7e982e
characters; a lack of \f(CR<\fR angle brackets \f(CR>\fR indicates that
Packit 7e982e
the string is to be taken literally as a \fBlogin-regexp\fP or a
Packit 7e982e
\fBdev-glob\fP, depending on its input position.
Packit 7e982e
.SH "SEE ALSO"
Packit 7e982e
.BR pam_console (8)
Packit 7e982e
.br
Packit 7e982e
.BR pam_console_apply (8)
Packit 7e982e
.br
Packit 7e982e
.BR console.apps (5)
Packit 7e982e
.SH AUTHOR
Packit 7e982e
Michael K. Johnson <johnsonm@redhat.com>