6.7.13 Linux Users

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

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

Root

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

passwd usermod

You suspect that the gshant user account is locked. Enter the command you would use in a shell to show the status of the user account.

passwd -S gshant

Which of the following commands would you use to view the current soft limits on a Linux machine?

ulimit -a

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

!

Which chage option keeps a user from changing their password every two weeks? Answer -a 33

-m 33

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.

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 bsmith;rm -rf /home/bsmith userdel -r bsmith

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

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


Ensembles d'études connexes

Lilley Pharmacology Ch 10-29 Final Review

View Set

Taxes, retirement and other insurance concepts

View Set

EASA Part 66 : Digital Question5

View Set

Chapter 10 Understanding Vegetables

View Set

Chapter 66: Management of Patients With Neurologic Dysfunction

View Set

In my house في بيتي (Home rooms غرف البيت )

View Set