Oracle Linux 5 and 6 System Administration - 1z1-100 模擬練習
You must remove the user harhest from your Oracle Linux system because the person has left the company:
User harhest has numerous files, directories, and a crontab.
You issue:
Userdel -r harhest
Which three outcomes result from the execution of this command?
User harhest has numerous files, directories, and a crontab.
You issue:
Userdel -r harhest
Which three outcomes result from the execution of this command?
正解: A,B,F
解説: (PassTest メンバーにのみ表示されます)
Which two statements are true about administering the use of the Sudo command in Oracle Linux?
正解: B,E
The user scott tries to create a directory hierarchy under a specific directory location and encounters an error:

Which command must scott use to create the directory hierarchy successfully? (Choose the best answer.)

Which command must scott use to create the directory hierarchy successfully? (Choose the best answer.)
正解: A
What is the purpose of Setting AUTOINSTALL to YES /etc/uptrack.conf?
正解: C
解説: (PassTest メンバーにのみ表示されます)
Consider the output shown:
#rpm -i sendmail-cf-8.14.4-8.e16.noarch.rpm
Error: Failed dependencies:
Sendmail = 7.14.4-8.e16 is needed by sendmail-cf-8.e16.noarch
# rpm -i sendmail-8.14.4-8.e16.x86_64.rpm
# rpm -i sendmail-cf-8.14.4-8.e16.noarch.rpm
# rpm -q sendmail sendmail-cf
Sendmail-8.14.4-8.e16.x86_64
Sendmail-cf-8.e16_64
Sendmail-cf-8.14.4-8.e16.noarch
# rpm -e sendmail
Which statement is true about the execution of the rpm -e sendmail command?
#rpm -i sendmail-cf-8.14.4-8.e16.noarch.rpm
Error: Failed dependencies:
Sendmail = 7.14.4-8.e16 is needed by sendmail-cf-8.e16.noarch
# rpm -i sendmail-8.14.4-8.e16.x86_64.rpm
# rpm -i sendmail-cf-8.14.4-8.e16.noarch.rpm
# rpm -q sendmail sendmail-cf
Sendmail-8.14.4-8.e16.x86_64
Sendmail-cf-8.e16_64
Sendmail-cf-8.14.4-8.e16.noarch
# rpm -e sendmail
Which statement is true about the execution of the rpm -e sendmail command?
正解: D
The SSHD service is controlled by the script in /etc/init.d/sshd, part of which is shown here:
[root@FAROUT ~] cat /etc/init.d/sshd
# !/bin/bash
#
# sshdStart up the OpenSSH server daemon
#
# chkconfig: 23455525
# description: SSH is a protocol for secure remite shell access. \
# This service starts up the Open SSH server daemon.
#
You issue chkconfig commands to change the sshd service:
[root@FAROUT ~] # chkconfig sshd off
[root@FAROUT ~] # chkconfig sshd reset
What is the result of the two commands issued?
[root@FAROUT ~] cat /etc/init.d/sshd
# !/bin/bash
#
# sshdStart up the OpenSSH server daemon
#
# chkconfig: 23455525
# description: SSH is a protocol for secure remite shell access. \
# This service starts up the Open SSH server daemon.
#
You issue chkconfig commands to change the sshd service:
[root@FAROUT ~] # chkconfig sshd off
[root@FAROUT ~] # chkconfig sshd reset
What is the result of the two commands issued?
正解: B