Timedora
Free Online Flashcard Deck

Linux User and Group Management Free Online Flashcards

Study Linux User and Group Management with 12 free online flashcards. Review key terms, definitions, and concepts with this interactive flashcard deck.

12 cards
01
Front

What does a Linux user account provide?

Back

A user account gives a person or service an identity on the system.

02
Front

What is a Linux group used for?

Back

A group lets administrators grant the same access to a set of users.

03
Front

Which Ubuntu command creates user `sam` and sets a password?

Back

Use `sudo adduser sam` to create the account and set its password on Ubuntu.

04
Front

Which Ubuntu command creates the `project` group?

Back

Use `sudo addgroup project` to create the group.

05
Front

How do you add `sam` to the `project` group on Ubuntu?

Back

Use `sudo adduser sam project` to add `sam` to the `project` group.

06
Front

Which command checks `sam`’s IDs and group memberships?

Back

Run `id sam` to check the account’s IDs and groups.

07
Front

What capability does membership in Ubuntu’s `sudo` group grant?

Back

Membership in the `sudo` group grants administrative capability, so reserve it for people who need it.

08
Front

When should `sudo` be used?

Back

Use `sudo` only for trusted administrative tasks, because it runs an authorized command with elevated privileges.

09
Front

Which Ubuntu command locks `sam`’s password-based login?

Back

Run `sudo passwd -l sam` to lock `sam`’s password-based login.

10
Front

Does locking an account’s password necessarily disable all sign-in methods?

Back

No. Locking a password does not necessarily disable every sign-in method; SSH key access may still work.

11
Front

Which Ubuntu command deletes the account `sam`?

Back

Use `sudo deluser sam` to delete the account.

12
Front

Does deleting a Linux account automatically delete its home directory?

Back

No. Deleting an account does not automatically delete its home directory or data; decide separately whether to retain or remove them.