RHCSA Flashcards
1
Q
create iptables script
A
Nada
2
Q
create a test dir
A
Nada
3
Q
create a text file with text
A
Nada
4
Q
show only line 3
A
Nada
5
Q
delete line 1 to 3
A
Nada
6
Q
delete blank lines and save in place with backup
A
Nada
7
Q
print some text followed by 1st column
A
Nada
8
Q
compress folder test
A
Nada
9
Q
view content
A
Nada
10
Q
delete folder test and decompress
A
Nada
11
Q
view services status
A
Nada
12
Q
make ssh service to start only on lvl 3 and 5
A
Nada
13
Q
confirm ssh service running lvls
A
Nada
14
Q
create 2 partitions
A
Nada
15
Q
create 2 PV
A
Nada
16
Q
create a VG1 using all Pvs
A
Nada
17
Q
Delete the VG1
A
Nada
18
Q
create a VG1 with PE of 8mb
A
Nada
19
Q
Delete the VG1
A
Nada
20
Q
create VG1
A
Nada
21
Q
view PE sizes
A
Nada
22
Q
create a LV1 using 5 PE
A
Nada
23
Q
create a LV2 of 100mb
A
Nada
24
Q
create a LV3 using the rest
A
Nada
25
create fileseystem in all LV
Nada
26
remove VG1
Nada
27
create a VG1 of 500mb
Nada
28
create a LVswap of 300mb
Nada
29
create swap partition on Lvswap labeled swap2
Nada
30
create LVtest using all space in VG1
Nada
31
create filesystem
Nada
32
create some files
Nada
33
reduce LVtest to 300mb
Nada
34
verify files
Nada
35
increase LVtest to 500mb
Nada
36
verify files
Nada
37
make LVtest and LVswap permantent one by label and UID
Nada
38
check status with LVM manager and Partition manager
Nada
39
create LVsec of 200mb
Nada
40
encrypt partition
Nada
41
make permanent on /mnt/crypto
Nada
42
delete lvtest and reboot
Nada
43
Create 2 testusers with password Passw0rd
Nada
44
create bunch of files in test2 homedir
Nada
45
create devgroup with gid 600 and add users
Nada
46
Create 1 user belongin to group
Nada
47
change expiry date of test3 password
Nada
48
create /dev_folder with sticky group for devgroup
Nada
49
configure acl permissions for test1 read only
Nada
50
confgiure acl permissions for test2 read and write
Nada
51
confgire acl permissions for test3 nothing
Nada
52
test permissions
Nada
53
delete acl permissions for user test1
Nada
54
delete all folder acl permissions
Nada
55
delete user test3
Nada
56
create cron job for test2 to wall something every 30mins weekdays
Nada
57
remove cron access for user test2 and verify
/etc/cron.deny
| test2
58
How to install with kickstart?
ks=http://ipaddress/achilipum.cfg
59
download iso from ftp and create local repo at /repo mget bye
Nada
60
How to install a new kernel?
rpm -ivh kernel*
| and then modify /etc/grub.conf
61
How to configure LDAP and get a user?
System-config-authentication
| getent passwd ldapuser
62
Check Selinux status
Nada
63
Where to change Selinux enforcement?
/etc/selinux/config
64
where are the Selinux Booleans?
/selinux/booleans
65
find the booleans for ftp
Nada
66
change boolean to allow ftp anonymous write
Nada
67
find what wrong with Selinux
Nada
68
find files owned by test2 and copy them to /dev_folder
Nada
69
check running kernel
Nada