Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
10 Cards in this Set
- Front
- Back
SELinux Troubleshooting
|
man -k selinux
|
|
View SELinux permissions
|
ps -Z
ls -Z semanage fcontext -l |
|
Managing File Contexts
|
chcon [-R] -t public_content_t (file)
restorecon -vvF (file) Add new mapping: semanage fcontext -a -l public_content (file) man semanage |
|
Managing SELinux Booleans
|
getsebool -a
setsebool [-P] (boolean) (on:off) system-config-selinux |
|
Managing Partitions
|
fdisk -l
fdisk (device) partprobe |
|
Label Filesystem
|
mkfs.ext3 -L (label) (device)
e2label device label mount LABEL=(label) (mount point) |
|
Make Swap
|
mkswap -L (label) (device/partition)
swapon -a (reads /etc/fstab) swapon -s (checks status) |
|
RAID Administration
|
mdadm
mdadm -c /dev/md0 -a yes -l 1 -n2 -x1 (devices...) -l - RAID level -n - # of RAID Disks mkfs /dev/md0 mdadm --detail cat /proc/mdstat |
|
RPM Key Import
|
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
|
|
RPM Verify
|
rpm -V - verify installed files
rpm --checksig - check rpm file |