List available snapper configurations - Answers -# snapper list-configs
Create a snapper configuration named "data1" for the /data1 subvolume - Answers -#
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" - Answers -# snapper --config
data1 create --cleanup-algorithm timeline --description mydata1snapshot
Switch to the "multi-user" target - Answers -# systemctl isolate multi-user.target
Add private key to SSH Agent for authentication - Answers -# ssh-add ~/.ssh/id_rsa
Show the local NFS exports - Answers -# showmount -e localhost
Create an htpasswd file (named "/etc/apache2/htpasswd") with an Apache user called
"geeko" and password "suse" - Answers -# htpasswd2 -c /etc/apache2/htpasswd geeko
(enter "suse" at the prompt)
Test Samba configuration - Answers -# testparm
Set Samba password for the user "geeko" - Answers -# smbpasswd -a geeko
, Get info about Samba "shares" from "server1" for the "tux" user - Answers -# smbclient
--list server1 -U tux
Using Samba, access the home directory from "server1" for the "tux" user - Answers -#
smbclient -U tux //server1/tux
Mount the "data" Samba share (from "server1") in the "/mnt" local directory, using the
username "tux" - Answers -# mount -t cifs -o username=tux //server1/data /mnt
List the snapshots that use the "data1" configuration - Answers -# snapper --config
data1 list
What does a systemd Unit File (Unit Configuration File) do? - Answers -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? -
Answers -After "disabling" a service, an unmasked service can still be started manually;
after "masking" it, it cannot
List the configured systemd targets - Answers -# systemctl list-units type=target
What line should you add to "fstab" in "server2" to mount, in "/import/samba", the
Samba "data" share from "server1"? - Answers -//server1/data /import/samba cifs
defaults,credentialsfile=/etc/samba/data-credentials 0 0
Prevent all normal users from logging in - Answers -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 - Answers -# setfacl -d -m u:geeko:rwx /tmp/acl_test
Remove all the ACL entries from the "/tmp/acl_test" subdirectory - Answers -# setfacl -b
"/tmp/acl_test"
Install the appropriate YaST Module in an iSCSI Server - Answers -# zypper in yast2-
iscsi-lio-server
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller GEEKA. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $12.49. You're not tied to anything after your purchase.