User and password management

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/10

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

11 Terms

1
New cards

What command do you use to create new users?

useradd

2
New cards

What file contains the default useradd options?

/etc/default/useradd

3
New cards

What file contains the UID/GID selection range?

/etc/login.defs

4
New cards

What directory can be used for provisioning a new user account?

/etc/skel

5
New cards

What does the new user created using useradd do with the skel directory?

It copies all the files from skel into itself

6
New cards

What command do you use to change an existing users info?

usermod

7
New cards

What command can you use to change user passwords?

passwd

8
New cards

What command do you use to generate an encrypted password?

openssl passwd -crypt

9
New cards

What command do you use to delete user accounts?

userdel

10
New cards

What command do you use to lock users accounts? What about unlocking it?

passwd -l, passwd -u

11
New cards

What command do you use to delete the password for a user?

passwd -d