RHCSA Flashcards
create iptables script
Nada
create a test dir
Nada
create a text file with text
Nada
show only line 3
Nada
delete line 1 to 3
Nada
delete blank lines and save in place with backup
Nada
print some text followed by 1st column
Nada
compress folder test
Nada
view content
Nada
delete folder test and decompress
Nada
view services status
Nada
make ssh service to start only on lvl 3 and 5
Nada
confirm ssh service running lvls
Nada
create 2 partitions
Nada
create 2 PV
Nada
create a VG1 using all Pvs
Nada
Delete the VG1
Nada
create a VG1 with PE of 8mb
Nada
Delete the VG1
Nada
create VG1
Nada
view PE sizes
Nada
create a LV1 using 5 PE
Nada
create a LV2 of 100mb
Nada
create a LV3 using the rest
Nada
create fileseystem in all LV
Nada
remove VG1
Nada
create a VG1 of 500mb
Nada
create a LVswap of 300mb
Nada
create swap partition on Lvswap labeled swap2
Nada
create LVtest using all space in VG1
Nada
create filesystem
Nada
create some files
Nada
reduce LVtest to 300mb
Nada
verify files
Nada
increase LVtest to 500mb
Nada
verify files
Nada
make LVtest and LVswap permantent one by label and UID
Nada
check status with LVM manager and Partition manager
Nada
create LVsec of 200mb
Nada
encrypt partition
Nada
make permanent on /mnt/crypto
Nada
delete lvtest and reboot
Nada
Create 2 testusers with password Passw0rd
Nada
create bunch of files in test2 homedir
Nada
create devgroup with gid 600 and add users
Nada
Create 1 user belongin to group
Nada
change expiry date of test3 password
Nada
create /dev_folder with sticky group for devgroup
Nada
configure acl permissions for test1 read only
Nada
confgiure acl permissions for test2 read and write
Nada
confgire acl permissions for test3 nothing
Nada
test permissions
Nada
delete acl permissions for user test1
Nada
delete all folder acl permissions
Nada
delete user test3
Nada
create cron job for test2 to wall something every 30mins weekdays
Nada
remove cron access for user test2 and verify
/etc/cron.deny
test2
How to install with kickstart?
ks=http://ipaddress/achilipum.cfg
download iso from ftp and create local repo at /repo mget bye
Nada
How to install a new kernel?
rpm -ivh kernel*
and then modify /etc/grub.conf
How to configure LDAP and get a user?
System-config-authentication
getent passwd ldapuser
Check Selinux status
Nada
Where to change Selinux enforcement?
/etc/selinux/config
where are the Selinux Booleans?
/selinux/booleans
find the booleans for ftp
Nada
change boolean to allow ftp anonymous write
Nada
find what wrong with Selinux
Nada
find files owned by test2 and copy them to /dev_folder
Nada
check running kernel
Nada