Next: 8.12 Configuring access control
Up: 8 Specification of simplified
Previous: 8.10 Configuring access control
Contents
Subsections
allowtty is used to control access to tty device files(/dev/tty*).
In SELinux environment, tty device files are given label according to
login user's role. So tty device files should be treated differently in
simplified language.
- Syntax
- allowtty -create;
- allowtty role [r],[w];
- allowtty -change role;
- Meaning
- This is usually used in role section. Allow role to have
its own tty device. At the time of login, by login
program, role's tty device file is given type role prefix_tty_device_t.
- Allow to read/write role's tty
device.
- Allow to change label of tty device, and rename, unlink.
- Special role
If role is general, this means tty
before labeled(The type is devtty_t and tty_device_t). If role is global, this
means all tty devices.
allowpts is used to control access to pseudo tty device
files(/dev/pts). Device under /dev/pts is terminal for remote login and login from gdm.
- Syntax
- allowpts -create;
- allowpts role [r],[w];
- allowpts -change role;
- Meaning
The meaning the same as allowtty except that target is
pseudo tty device.
Next: 8.12 Configuring access control
Up: 8 Specification of simplified
Previous: 8.10 Configuring access control
Contents
2005-07-19