Enterprise Linux Exam 100% Correct!!
List Snapshots - ANSWER # snapper list
Locate Snapshots in the system - ANSWER # mount | grep snapshot
Create a timeline snapshot called "my snapshot" - ANSWER # snapper create --cleanup-algorithm
timeline --description "my snapshot"
Show differences between snapshot 21 and snapshot 22 - ANSWER # snapper diff 21..22
# snapper status 21..22
View meta-information about snapshot 22 - ANSWER # cat /.snapshots/22/info.xml
# cat /.snapshosts/22/filelist-21.txt
List available snapper configurations - ANSWER # snapper list-configs
Create a snapper configuration named "data1" for the /data1 subvolume - ANSWER # snapper --
config data1 create-config /data1
(it's necessary to have created the subvolume first with "btrfs subvolume create /data1")
Create a snapshot based on the "data1" configuration, using the cleanup algorithm "timeline" and
with the description "mydata1snapshot" - ANSWER # snapper --config data1 create --cleanup-
algorithm timeline --description mydata1snapshot
List the snapshots that use the "data1" configuration - ANSWER # snapper --config data1 list
Delete the snapshot numbered 22 - ANSWER # snapper delete 22
, What does a systemd Unit File (Unit Configuration File) do? - ANSWER A unit configuration file
encodes information about a service, a socket, a device, etc.
What is the difference between "disabling" a service -versus- "masking" a service? - ANSWER After
"disabling" a service, an unmasked service can still be started manually; after "masking" it, it cannot
Mount the "data" Samba share (from "server1") in the "/mnt" local directory, using the username
"tux" - ANSWER # mount -t cifs -o username=tux //server1/data /mnt
What line should you add to "fstab" in "server2" to mount, in "/import/samba", the Samba "data"
share from "server1"? - ANSWER //server1/data /import/samba cifs
defaults,credentialsfile=/etc/samba/data-credentials 0 0
Prevent all normal users from logging in - ANSWER 1 - Edit the file /etc/pam.d/login and
UNCOMMENT (remove "#" from the beginning) the following line:
auth requisite pam_nologin.so
(NOTE: This applies to local login sessions, but NOT to SSH sessions)
2 - Create the file /etc/nologin with the content "No login"
Change the default ACL for the "/tmp/acl_test" subdirectory to allow the "geeko" user to read and
write - ANSWER # setfacl -d -m u:geeko:rwx /tmp/acl_test
Remove all the ACL entries from the "/tmp/acl_test" subdirectory - ANSWER # setfacl -b
"/tmp/acl_test"
Install the appropriate YaST Module in an iSCSI Server - ANSWER # zypper in yast2-iscsi-lio-server
Create a working "multipath" configuration - ANSWER 1 - # cp -pv
/usr/share/doc/packages/multipath-tools/multipath.conf.synthetic /etc/multipath.conf