Module 10 Live Virtual Machine Labs 1-5 Flashcards
lab 10-1
When you create a user with the useradd command, what is the immediate state of it?
Active
Locked
Inactive
Open
locked
Which command is used to change the user password expiration information?
userpass
useradd
chage
edit
chage
Which value will force immediate password expiration for a user account?
0
1
1000
10
100
0
Which command should you use to add a user to the plabuser group?
groupadd
usermod
chage
useradd
usermod
Which parameter of the groupmod command allows you to change the group name?
-p
-a
-n
-c
-n
lab 10-2
Which command displays the name of the current logged in user?
whoami
user
who
account
whoami
Which of the following information is displayed with the who command? [Choose all that apply.]
List of logged in users
Current run level of the system
Time of the last system boot
Current user name
List of logged in users
Current run level of the system
Time of the last system boot
To display the list of users logged in to the system, which parameter of the who command should be used?
-u
-a
-b
-x
-u
To count the number of users logged in to the system, which parameters of the who command should be used? [Choose all that apply.]
-H
-a
-x
-u
-b
-q
-q
-H
To display the current runlevel of the system, which parameter of the who command should be used?
-x
-b
-r
-u
-a
-r
lab 10-3
In the /etc/rsyslog.conf file, which of the following are examples of Facility? [Choose all that apply.]
Level
Kernel
Security
Action
Security
Kernel
Which section of the /etc/rsyslog.conf file contains various configuration directives that are loaded when the module is loaded?
Templates
Output Channels
Modules
Global Directives
Rules
Modules
Which of the following section in the /etc/rsyslog.conf file contains information that apply to the rsyslogd daemon and start with $?
Output Channels
Modules
Global Directives
Rules
Templates
Global Directives
Which of the following processes are part of the syslog service? [Choose all that apply.]
klogd
rsyslogd
ksyslogd
syslogd
klogd
rsyslogd
Which process is used for logging events from the kernel?
syslogd
rsyslogd
klogd
ksyslogd
klogd