Which command sequence sets up an account named “jd” with UID 1001, assigns the primary group developers, creates the home directory at /home/jd, and configures /bin/bash as the login shell?
The correct command uses useradd flags to specify the UID (-u), primary group (-g), home directory path (-d), login shell (-s), and the home directory creation option (-m). Other options either omit the home creation step, assign a secondary group instead of the primary group, or use incorrect flag combinations.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What does UID mean in the context of creating a user account?
Open an interactive chat with Bash
What is the significance of the primary group assigned to a user account?
Open an interactive chat with Bash
What does the '-m' option do in the useradd command?