1Z0-100 · Question #25
You must remove the user harhest from your Oracle Linux system because the person has left the company: User harhest has numerous files, directories, and a crontab. You issue: Userdel r harhest…
The correct answer is A. Files in the harhest home directory are removed. B. The home directory of harhest is removed. E. The /var/spool/mail/harhest mailbox is removed. The userdel command modifies the system account files, deleting all entries that refer to the user name LOGIN. The named user must exist. Files in the user's home directory will be removed along with the home directory itself and the user's mail spool. Files located in other…
Question
You must remove the user harhest from your Oracle Linux system because the person has left the company:
User harhest has numerous files, directories, and a crontab. You issue:
Userdel r harhest Which three outcomes result from the execution of this command?
Options
- AFiles in the harhest home directory are removed.
- BThe home directory of harhest is removed.
- CFiles owned by narhest in any directory are removed.
- DAll directories owned by harhest are removed.
- EThe /var/spool/mail/harhest mailbox is removed.
- Fcrontab /var/spool/cron/harhest is removed.
How the community answered
(39 responses)- A69% (27)
- C8% (3)
- D5% (2)
- F18% (7)
Explanation
The userdel command modifies the system account files, deleting all entries that refer to the user name LOGIN. The named user must exist. Files in the user's home directory will be removed along with the home directory itself and the user's mail spool. Files located in other file systems will have to be searched for and deleted
Topics
Community Discussion
No community discussion yet for this question.