fsadm_selinux(8) fsadm SELinux Policy documentation fsadm_selinux(8)NAMEfsadm_selinux - Security Enhanced Linux Policy for the fsadm processes
DESCRIPTION
Security-Enhanced Linux secures the fsadm processes via flexible manda‐
tory access control.
NSSWITCH DOMAINFILE 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 ls
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, /sbin/mke2fs,
/sbin/e4fsck, /usr/sbin/dosfsck, /usr/sbin/blockdev, /sbin/dosf‐
sck, /usr/sbin/lsraid, /usr/bin/partition_uuid, /sbin/raidautorun,
/usr/sbin/findfs, /usr/sbin/scsi_info, /usr/sbin/raidstart,
/sbin/mkreiserfs, /sbin/sfdisk, /usr/sbin/raidautorun,
/usr/sbin/make_reiser4, /usr/sbin/partx, /usr/sbin/resize.*fs,
/usr/sbin/fsck.*, /usr/sbin/dumpe2fs, /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, /usr/sbin/mke2fs, /sbin/los‐
etup.*, /sbin/resize.*fs, /usr/sbin/tune2fs, /usr/lib/systemd/sys‐
temd-fsck, /sbin/parted, /sbin/partprobe, /usr/sbin/mkfs.*,
/sbin/e2label, /usr/sbin/reiserfs(ck|tune), /sbin/mkraid,
/sbin/install-mbr, /sbin/scsi_info, /sbin/fsck.*,
/usr/sbin/install-mbr, /usr/sbin/clubufflush, /sbin/jfs_.*,
/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/e2fsck, /usr/sbin/e2label,
/usr/sbin/parted, /usr/bin/raw, /sbin/mke4fs, /usr/sbin/cfdisk,
/usr/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 tem‐
porary files in the /tmp directories.
Note: File context can be temporarily modified with the chcon command.
If you want to permanantly change the file context you need to use the
semanage fcontext command. This will modify the SELinux labeling data‐
base. 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 ps
Policy governs the access confined processes have to files. SELinux
fsadm policy is very flexible allowing users to setup their fsadm pro‐
cesses 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.
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 permissive.
semanage module can also be used to enable/disable/install/remove pol‐
icy modules.
system-config-selinux is a GUI tool available to customize SELinux pol‐
icy settings.
AUTHOR
This manual page was autogenerated by genman.py.
SEE ALSOselinux(8), fsadm(8), semanage(8), restorecon(8), chcon(1)dwalsh@redhat.com fsadm fsadm_selinux(8)