Which statement about the sudo command is correct?
A. You can edit the sudo configuration file /etc/sudo.conf directly with vi.
B. You can edit the su configuration file /etc/su.conf with the sudo command.
C. You can edit the sudo configuration file /etc/sudoers with the visudo command.
D. You can edit the sudo configuration file /etc/visudo with the sudoers command.
You want to secure a POP3 connection to a server that does not support SSL. While you do not have ssh access to the POP3 server itself, you at least have SSH access to a server near the POP3 server. Given the following information: POP3 server: pop3.digitalairlines.com
SSH server: ssh.digitalairlines.com Your host: da10.digitalairlines.com POP3 port: 110 Local port: 11110 Which command will forward connections from the local port 11110 to port 110 of the POP3 server, using
a secure tunnel between your host and the SSH server?
A. ssh -L 11110:ssh.digitalairlines.com:110 geeko@pop3.digitalairlines.com
B. ssh -L 110:ssh.digitalairlines.com:11110 geeko@pop3.digitalairlines.com
C. ssh -L 11110:pop3.digitalairlines.com:110 geeko@ssh.digitalairlines.com
D. ssh -L 110:pop3.digitalairlines.com:11110 geeko@ssh.digitalairlines.com
You want to redirect both output and error messages of the find command to the find-output file. Which command accomplishes this task?
A. find /etc -name "*conf" 2>andfind-output
B. find /etc -name "*conf" 2
C. find /etc -name "*conf" > find-output 2>and1
D. find /etc -name "*conf" > find-output 2>find-output
Which command can be used to view the inode assigned to a filename?
A. ls -i
B. fsck -h -i
C. inode --list
D. cat /proc/inodes
In which file is the host name of a Linux computer configured? (Hint: You do not need to include the entire path.)
A. /etc/HOSTNAME
What information do you need to set up an LDAP client? (Choose 4.)
A. LDAP version
B. LDAP base DN
C. Kind of encryption
D. Synchronization frequency
E. Address of the LDAP server
F. File name of the LDAP database
You have a test directory with the following permissions: rwx------ You want to change the permissions to the following values: r-xr-xr-x. Which command accomplishes this?
A. chmod 777 test
B. chmod u=rx,a-rx test
C. chmod u-w,g+rx,o+rx test
D. chmod u+w,g+rx,o+rx test
Which command shows you the default shell of a user?
A. w user
B. id user
C. who user
D. finger user
What does the following command do? tar -tzvf /tmp/backup.tgz etc/HOSTNAME
A. It extracts the etc/HOSTNAME file from the /tmp/backup.tgz archive.
B. It includes the etc/HOSTNAME file in the /tmp/backup.tgz archive.
C. It produces an error message because the options are in the wrong sequence.
D. It displays a line similar to the following, but otherwise does nothing: -rw-r--r-- root/root 23 2005- 03-11
14:20 etc/HOSTNAME
Why are the noauto and users options used with /etc/fstab?
A. A normal user is not allowed to access this partition.
B. They allow any user to mount and unmount a partition.
C. They specify the partitions that are bootable by a user.
D. They specify the partitions that are not bootable by a user.