Question 11
Which statements about PAM are correct? (Choose 3.)
- To enable authentication with PAM, you need a smart cart reader.
- Each line in a PAM configuration file contains 6 columns plus optional arguments.
- Configuration files of PAM modules can be found in /etc/pam.d/ and /etc/security/.
- After the PAM configuration has been adjusted for an application, this application can be used by SSH.
- The /etc/pam.d/other file contains a default configuration if no application-specific file is found in /etc/pam.d/.
- PAM creates a software level with defined interfaces between applications and the current authentication mechanism.
Question 12
What is the difference between the /dev/st0 and /dev/nst0 devices?
- /dev/st0 is the first SCSI CD burner; /dev/nst0 refers to the CDROM drive.
- /dev/st0 is the first tape drive; /dev/nst0 refers to the same tape drive in non-rewinding mode.
- /dev/st0 is the first serial console; /dev/nst0 refers to the same serial console as a block device.
- /dev/st0 is the first SCSI hard drive; /dev/nst0 refers to the same SCSI hard drive in read-only mode.
Question 13
How do you create a file called destination containing the same ACLs currently set for the file called source?
- getfacl source > destination
- getfacl -c source destination
- getfacl source | cp destination
- getfacl -x source > destination
Question 14
From the command line, which command would you use to print the document.ps file on the laser printer?
- lp -d laser document.ps
- lpr -p laser document.ps
- lpq -p laser document.ps
- print -p laser document.ps
Question 15
You want to find out if files from the wget package were altered since they were installed. Which command will give you this information?
- rpm -V wget
- rpm -v wget
- rpm -F wget
- rpm -qf wget