1/9
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai |
|---|
No study sessions yet.
In the /etc/shadow file, which character in the password field indicates that a standard user account is locked?
!
Which of the following utilities could you use to lock a user account? (Select two.)
usermod
passwd
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
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
What information does the /etc/login.defs file contain in a Linux system?
User and group ID numbers
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
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
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.
Which of the following chage option keeps a user from changing their password every two weeks?
-m 33
Which account type in Linux can modify hard limits using the ulimit command?
root