Which file can be used to send a message to users logging in on a text console?
A. /etc/net
B. /etc/motd
C. /etc/message
D. /var/log/messages
Which group name is stored in /etc/passwd?
A. Primary group
B. Effective group
C. Secondary group
D. No group name is stored there.
You created a script (/root/bin/backup.sh) that backs up your files when executed. Using cron, you want to execute this script once every Saturday at 3:00 pm. Which line would you have to enter after invoking crontab - e in a terminal window?
A. 15 0 * * 6 /root/bin/backup.sh
B. 0 15 * * 6 /root/bin/backup.sh
C. 0 15 * 6 * /root/bin/backup.sh
D. 15 0 * * 6 root /root/bin/backup.sh
In which file are global configurations for users who use bash as their login shell set?
A. /etc/bashrc
B. /etc/bash.cf
C. /etc/bash.conf
D. /etc/bash.bashrc
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
What is the key characteristic of the root account?
A. The user name root
B. The User ID (UID) 0
C. The Security Identifier (SID)
D. The Universally Unique Identifier (UUID)
Which command shows you the default shell of a user?
A. w user
B. id user
C. who user
D. finger user
Suppose you change from your current runlevel 5 to the new runlevel 3. Which statement is correct?
A. Nothing will happen at all.
B. If there is a K* link for a certain service in /etc/init.d/rc5.d/ but no corresponding S* link I /etc/init.d/rc3.d/ , nothing will happen.
C. If there is no K* link for a certain service in /etc/init.d/rc5.d/ but there is an S* link in /etc/init.d/rc3.d/, the service is started.
D. If there is a K* link for a certain service in /etc/init.d/rc5.d/ and there is an S* link in /etc/init.d/rc3.d/, the service is stopped and started again.
Which are configuration files of syslog-ng? (Choose 3.)
A. /etc/logging
B. /etc/sysconfig/log
C. /etc/log/syslog-ng
D. /etc/sysconfig/syslog
E. /etc/log/syslog-ng.conf
F. /etc/syslog-ng/syslog-ng.conf
G. /etc/syslog-ng/syslog-ng.conf.in
As a normal user, such as geeko, you use the lpoptions command to change printer options, such as the page size. To which file are these options saved?
A. ~/.bashrc
B. ~/.lpoptions
C. /etc/cups/lpoptions
D. /etc/sysconfig/cups