Which command can be used to display the effective (current) username?

Chapter 6. Advanced User Management

Quiz
•
Other
•
University
•
Medium
Bek Torekhan
Used 2+ times
FREE Resource
17 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
whoami command
whois command
who command
userinfo command
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Where is the recommended location to store custom sudo rules?
/etc/custom_sudo directory
/etc/sudoers.d directory
/var/sudo_rules directory
/usr/local/sudoers directory
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command will lock the user account for user10?
passwd -u user10
passwd -l user10
lockuser user10
usermod -L user10
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Is the statement that the chown command may be used to modify both ownership and group membership on a file true or false?
True
False
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command will set mindays to 7, maxdays to 15, and warndays to 3 for user5?
passwd -n 7 -x 15 -w 3 user5
chage -n 7 -x 15 -w 3 user5
passwd -n 3 -x 7 -w 15 user5
usermod -n 7 -x 15 -w 3 user5
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the two command names for managing all of the password aging attributes?
passwd and chown
chage and usermod
passwd and chage
passwd and useradd
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which file has the default password aging settings defined?
/etc/login.defs
/etc/defaults.conf
/etc/passwords.conf
/etc/passwd
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
Draw toolbar & Shortcuts

Quiz
•
7th Grade - Professio...
13 questions
Guess the Game...from the logo

Quiz
•
KG - Professional Dev...
20 questions
QUIZ AUDIO

Quiz
•
University
15 questions
Remedial U3

Quiz
•
University
19 questions
Basic Linux Commands Quiz

Quiz
•
University
12 questions
Tema 3 SSOO

Quiz
•
University
15 questions
Linux Server Quiz

Quiz
•
University
18 questions
2311 - Informal Negative Commands

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade