Content-type: text/html
Manpage of fsadm_selinux
fsadm_selinux
Section: fsadm SELinux Policy documentation (8)
Updated: fsadm
Index
Return to Main Contents
NAME
fsadm_selinux - Security Enhanced Linux Policy for the fsadm processes
DESCRIPTION
Security-Enhanced Linux secures the fsadm processes via flexible mandatory access
control.
NSSWITCH DOMAIN
FILE CONTEXTS
SELinux requires files to have an extended attribute to define the file type.
You can see the context of a file using the -Z option to lsP
Policy governs the access confined processes have to these files.
SELinux fsadm policy is very flexible allowing users to setup their fsadm processes in as secure a method as possible.
The following file types are defined for fsadm:
fsadm_exec_t
- Set files with the fsadm_exec_t type, if you want to transition an executable to the fsadm_t domain.
- Paths:
-
/sbin/partx, /usr/sbin/fdisk, /sbin/mkfs.*, /sbin/blockdev, /usr/sbin/sfdisk, /sbin/dumpe2fs, /sbin/mkdosfs, /usr/sbin/mke2fs, /sbin/e4fsck, /usr/sbin/dosfsck, /usr/sbin/blockdev, /sbin/dosfsck, /usr/sbin/lsraid, /usr/bin/partition_uuid, /sbin/raidautorun, /usr/sbin/findfs, /usr/sbin/scsi_info, /sbin/resize.*fs, /usr/sbin/raidstart, /sbin/mkreiserfs, /usr/sbin/raidautorun, /usr/sbin/make_reiser4, /usr/sbin/partx, /usr/sbin/resize.*fs, /usr/sbin/fsck.*, /usr/sbin/dumpe2fs, /usr/sbin/cfdisk, /sbin/tune2fs, /usr/sbin/mkdosfs, /sbin/blkid, /usr/sbin/hdparm, /sbin/make_reiser4, /sbin/dump, /sbin/swapon.*, /usr/sbin/jfs_.*, /usr/bin/scsi_unique_id, /sbin/findfs, /usr/sbin/smartctl, /usr/bin/syslinux, /usr/sbin/blkid, /sbin/losetup.*, /usr/sbin/tune2fs, /usr/lib/systemd/systemd-fsck, /sbin/parted, /sbin/partprobe, /usr/sbin/mkfs.*, /sbin/e2label, /usr/sbin/reiserfs(ck|tune), /sbin/mkraid, /sbin/install-mbr, /sbin/scsi_info, /sbin/mke2fs, /sbin/fsck.*, /usr/sbin/install-mbr, /usr/sbin/clubufflush, /sbin/jfs_.*, /usr/sbin/mke4fs, /sbin/raidstart, /sbin/lsraid, /usr/sbin/losetup.*, /usr/sbin/mkreiserfs, /usr/sbin/swapon.*, /usr/sbin/e2fsck, /sbin/reiserfs(ck|tune), /usr/sbin/e4fsck, /usr/sbin/dump, /usr/sbin/partprobe, /sbin/fdisk, /sbin/sfdisk, /sbin/e2fsck, /usr/sbin/e2label, /usr/sbin/parted, /usr/bin/raw, /sbin/mke4fs, /sbin/cfdisk, /usr/sbin/mkraid, /sbin/hdparm
fsadm_log_t
- Set files with the fsadm_log_t type, if you want to treat the data as fsadm log data, usually stored under the /var/log directory.
fsadm_tmp_t
- Set files with the fsadm_tmp_t type, if you want to store fsadm temporary files in the /tmp directories.
fsadm_var_run_t
- Set files with the fsadm_var_run_t type, if you want to store the fsadm files under the /run directory.
Note: File context can be temporarily modified with the chcon command. If you want to permanently change the file context you need to use the
semanage fcontext
command. This will modify the SELinux labeling database. You will need to use
restorecon
to apply the labels.
PROCESS TYPES
SELinux defines process types (domains) for each process running on the system
You can see the context of a process using the -Z option to psP
Policy governs the access confined processes have to files.
SELinux fsadm policy is very flexible allowing users to setup their fsadm processes in as secure a method as possible.
The following process types are defined for fsadm:
fsadm_t
Note:
semanage permissive -a PROCESS_TYPE
can be used to make a process type permissive. Permissive process types are not denied access by SELinux. AVC messages will still be generated.
MANAGED FILES
The SELinux user type fsadm_t can manage files labeled with the following file types. The paths listed are the default paths for these file types. Note the processes UID still need to have DAC permissions.
file_type
all files on the system
COMMANDS
semanage fcontext
can also be used to manipulate default file context mappings.
semanage permissive
can also be used to manipulate whether or not a process type is permi
Index
- NAME
-
- DESCRIPTION
-
- NSSWITCH DOMAIN
-
- FILE CONTEXTS
-
- PROCESS TYPES
-
- MANAGED FILES
-
- COMMANDS
-
This document was created by
man2html,
using the manual pages.
Time: 19:31:27 GMT, September 30, 2012