User:Tom/RHCSA EX200

From RoggeWiki
< User:Tom
Revision as of 11:57, 9 November 2015 by Tom (talk | contribs)
Jump to navigation Jump to search

Hoofdstuk 10 Constructing and using filesystems and swap

Filesystem administration commands. e2fsck fsck.ext3 fsck.ext4 mke2fs mkfs.xfs resize2fs tune2fs

Commands common to all filesystems. blkid - Used to dermine UUID of a partition / logical volume / filesystem mount umount

UUID universally Unique IDentifier

Swap Space

free -h

Hoofdstuk 11 Controlling Access thtough Firewall and SELinux

SELinux
context for subjects and objects
context contains a type or domain and a security level with subject and object information
-u user, _r role, _t domain

Domain transitioning allows a proces in one domain to enter another domain to execute an application authrized to run in that domain only, a proper rule must exist to support such a transition.

Commands
id -Z                View context set on Linux user
ls -Z                Determine context for files
ps -eZ               Determine context on processes
seinfo -u            List available SELinux users
semanage
Packages
setools-console      contains seinfo command
Files

/sys/fs/selinux/booleans