Which file defines the default settings when a new user account is created?
- /etc/default/user.conf
- /etc/useradd.conf
- /etc/default/useradd
- /etc/login.defs
The file that defines the default settings when a new user account is created in Linux is /etc/login.defs. This file contains various parameters and settings related to user account creation, password policies, and more. Modifying this file can affect the behavior of the useradd and adduser commands.
Loading...
Related Quiz
- Which special variable in a shell script represents the script's name?
- You are writing a Bash script to automate server maintenance. You want to check if a directory exists before trying to create it. Which command would you use within your script to check for the directory's existence?
- The ________ file in Linux is used to configure network interfaces and is typically found in the /etc/network/ directory.
- What is the purpose of the $? variable in a shell script?
- The _________ directory in Linux is typically used for transient or temporary data, often cleared during boot.