4.6.14 linux users

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall with Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/9

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No study sessions yet.

10 Terms

1
New cards

In the /etc/shadow file, which character in the password field indicates that a standard user account is locked?

!

2
New cards

Which of the following utilities could you use to lock a user account? (Select two.)

usermod

passwd

3
New cards

You suspect that the gshant user account is locked.

Enter the command you would use in a Linux shell to show the status of the user account.

passwd -S gshant

4
New cards

You have performed an audit and found an active account for an employee with the username joer. This user no longer works for the company.

Which command can you use to disable this account?

usermod -L joer

5
New cards

What information does the /etc/login.defs file contain in a Linux system?

User and group ID numbers

6
New cards

One of your users, Karen Scott, has recently married and is now Karen Jones. She has requested that her username be changed from kscott to kjones with no other values changed.

Which of the following commands would accomplish this?

usermod -l kjones kscott

7
New cards

An employee named Bob Smith, whose username is bsmith, has left the company. You have been instructed to delete his user account and home directory.

Which of the following commands would produce the required outcome? (Select two.)

userdel -r bsmith

userdel bsmith;rm -rf /home/bsmith

8
New cards

What is the effect of the following command?

chage -M 60 -W 10 jsmith

Sets the password for jsmith to expire after 60 days and gives a warning 10 days before expiration.

9
New cards

Which of the following chage option keeps a user from changing their password every two weeks?

-m 33

10
New cards

Which account type in Linux can modify hard limits using the ulimit command?

root