4.6.14 NSF PQ
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
In the /etc/shadow file, which character in the password field indicates that a standard user account is locked? incorrect answer. Correct Answer:!
!
Which of the following chage option keeps a user from changing their password every two weeks?
-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.
You are a system administrator and you notice that a particular user's processes are consuming an unusually high amount of system resources, causing performance issues for other users. You decide to use the ulimit command to limit the resources available to this user's processes. Which of the following options would be the MOST effective solution and why?
Use the -t option to limit the amount of CPU time a process can use.
Which of the following commands would you use to view the current soft limits on a Linux machine?
ulimit -a
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