As
What is the difference between "disabling" a service -versus- "masking" a service? Correct
Ans-After "disabling" a service, an unmasked service can still be started manually; after
"masking" it, it cannot
List the configured systemd targets Correct Ans-# systemctl list-units type=target
Switch to the "multi-user" target Correct Ans-# systemctl isolate multi-user.target
Start "SSH agent" to track authentication Correct Ans-# ssh-agent bash
Add private key to SSH Agent for authentication Correct Ans-# ssh-add ~/.ssh/id_rsa
Show the local NFS exports Correct Ans-# showmount -e localhost
Create an htpasswd file (named "/etc/apache2/htpasswd") with an Apache user called
"geeko" and password "suse" Correct Ans-# htpasswd2 -c /etc/apache2/htpasswd geeko
(enter "suse" at the prompt)
Test Samba configuration Correct Ans-# testparm
, SUSE Certified Engineer (SCE) in Enterprise Linux Qs &
As
Set Samba password for the user "geeko" Correct Ans-# smbpasswd -a geeko
Get info about Samba "shares" from "server1" for the "tux" user Correct Ans-# smbclient -
-list server1 -U tux
Using Samba, access the home directory from "server1" for the "tux" user Correct Ans-#
smbclient -U tux //server1/tux
Mount the "data" Samba share (from "server1") in the "/mnt" local directory, using the
username "tux" Correct Ans-# 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"? Correct Ans-//server1/data /import/samba cifs
defaults,credentialsfile=/etc/samba/data-credentials 0 0
List Snapshots Correct Ans-# snapper list
Locate Snapshots in the system Correct Ans-# mount | grep snapshot
Create a timeline snapshot called "my snapshot" Correct Ans-# snapper create --cleanup-
algorithm timeline --description "my snapshot"