LX0-104 Real Exam Dumps Questions and answers 31-40
Get Full Version of the Exam
http://www.EnsurePass.com/LX0-104.html
Question No.31
Which command is used to add an empty group to the system? (Specify ONLY the command without any path or parameters.)
Correct Answer: groupadd, /usr/sbin/groupadd
Question No.32
Which of the following commands can remove a user from a group?
-
grouprm
-
groupmod
-
passwd
-
usergroups
-
usermod
Correct Answer: E
Question No.33
Which of the following steps prevents a user from obtaining an interactive login session?
-
Run the command chsh -s /bin/false with the user name.
-
Set the UID for the user to 0.
-
Remove the user from the group staff.
-
Add the user to /etc/noaccess.
-
Create a .nologin file in the user#39;s home directory.
Correct Answer: A
Question No.34
Which file contains the date of the last change of a user#39;s password?
-
/etc/gshadow
-
/etc/passwd
-
/etc/pwdlog
-
/etc/shadow
-
/var/log/shadow
Correct Answer: D
Question No.35
Which command can be used to delete a group from a Linux system?
-
groupdel
-
groupmod
-
groups
-
groupedit
Correct Answer: A
Question No.36
What is NOT contained in the locale setting of the operating system?
-
currency symbol
-
language
-
timezone
-
thousands separator
Correct Answer: C
Question No.37
The system#39;s timezone may be set by linking /etc/localtime to an appropriate file in which directory? (Provide the full path to the directory, without any country information)
Correct Answer: /usr/share/zoneinfo/
Question No.38
Which commands can be used to change a user#39;s account aging information? (Choose THREE correct answers.)
-
usermod
-
passwd
-
chattr
-
chage
-
chsh
Correct Answer: ABD
Question No.39
Which of the following fields are available in both the global /etc/crontab file as well as in user- specific crontab files? (Select TWO correct answers)
-
Year
-
Minute
-
Username
-
Command
Correct Answer: BD
Question No.40
In case neither cron.allow nor cron.deny exist in /etc/, which of the following is true?
-
Without additional configuration, no users may have user specific crontabs.
-
Without additional configuration, all users may have user specific crontabs.
-
The cron daemon will refuse to start and report missing files in the system#39;s logfile.
-
When a user creates a user specific crontab the system administrator must approve it explicitly.