What can be specified with useradd? (Choose two.)
What can be specified with useradd? (Choose two.)
The 'useradd' command allows you to specify the absolute path to the user's home directory and the numeric user ID (UID) of the user. The '-d' option is used to set the home directory, and the '-u' option is used to assign a specific UID to the user. These are critical aspects of setting up a new user account, as they define where the user's personal files will be stored and the unique identifier for the user within the system.
repeated question
BE is correct
BE is correct
BE are correct
When you run the useradd command, the user and group information stored in the password and group databases are updated for the newly created user account and, if specified, the home directory of the new user is created as well. The most important options which apply to the useradd command [include]: -d Create a new user account with a custom home directory -u Create a new user account with a specific UID {source: LPIC-1 (102) (Version 5.0), pages 169-170}