In which of the following directories can you place files that will be copied đồ sộ new user directories when new users are created?
a. /etc/rc.d
b. /etc/skel
c. /usr/local/template
d. /usr/local/useradd
How well did you know this?
Which of the following commands can be used đồ sộ mix the number of days until user trương mục jsmith with an expired password is disabled?
a. usermod -f 15 jsmith
b. usermod -d 15 jsmith
c. usermod -x 15 jsmith
d. usermod -e 15 jsmith
How well did you know this?
Which of the following is a special group that provides its members with the ability đồ sộ lập cập the su and sudo commands?
a. sudoers
b. adm
c. wheel
d. sys
How well did you know this?
Which of the following files stores information about failed logins on a Linux system?
a. /var/log/btmp
b. /var/log/wtmp
c. /var/log/nolo
d. /var/log/failed
How well did you know this?
Which of the following is the first field of the /etc/passwd file?
a. UID
b. username
c. GECOS
d. GID
How well did you know this?
Which of the following options can be used with the usermod command đồ sộ change the mô tả tìm kiếm of the user trương mục that is stored in the GECOS field?
a. -g
b. -d
c. -c
d. -s
How well did you know this?
Which of the following commands can be used đồ sộ mix the mặc định printer for all users on a Linux system where printer1 is the name of the printer?
a. lp -d printer1
b. lpoptions -d printer1
c. lpd -d printer1
d. lpq –set-default printer1
How well did you know this?
How well did you know this?