1Z0-460 · Question #70
You want to add a README.txt file in the home directory of every new user that you create by using the useradd command on your Oracle Linux system.In which directory will you place the README.txt…
The correct answer is D. /etc/skel. -k, --skel SKEL_DIR The skeleton directory, which contains files and directories to be copied in the user's home directory, when the home directory is created by useradd. This option is only valid if the -m (or -- create-home) option is specified. If this option is not set, the…
Question
You want to add a README.txt file in the home directory of every new user that you create by using the useradd command on your Oracle Linux system.In which directory will you place the README.txt file so that it automatically gets copied to the new user's home directory when the user is created?
Options
- A/home/users
- B/etc/default/useradd
- C/etc/default
- D/etc/skel
How the community answered
(39 responses)- A5% (2)
- B8% (3)
- C15% (6)
- D72% (28)
Explanation
-k, --skel SKEL_DIR The skeleton directory, which contains files and directories to be copied in the user's home directory, when the home directory is created by useradd. This option is only valid if the -m (or -- create-home) option is specified. If this option is not set, the skeleton directory is defined by the SKEL variable in /etc/default/useradd or, by default, /etc/skel. *useradd - create a new user or update default new user information
Topics
Community Discussion
No community discussion yet for this question.