Search Header Logo

Chapter 6. Advanced User Management

Authored by Bek Torekhan

Other

University

Used 2+ times

Chapter 6. Advanced User Management
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

17 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

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?

  1. /etc/custom_sudo directory

  • /etc/sudoers.d directory

  1. /var/sudo_rules directory

  1. /usr/local/sudoers directory

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command will lock the user account for user10?

  1. passwd -u user10

  • passwd -l user10

  1. lockuser user10

  1. 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

  1. chage -n 7 -x 15 -w 3 user5

  1. passwd -n 3 -x 7 -w 15 user5

  1. 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?

  1. passwd and chown

  1. chage and usermod

  • passwd and chage

  1. passwd and useradd

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which file has the default password aging settings defined?

  • /etc/login.defs

  1. /etc/defaults.conf

  1. /etc/passwords.conf

  1. /etc/passwd

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?