Users and groups · Question 7 of 12
Which command changes anna's login shell to /bin/zsh?
1 answer is correct. Easy Created with AI
Show answer
Answer
- A usermod -s /bin/zsh anna
Explanation
usermod changes existing accounts, -s sets the login shell. useradd would try to create a new account and abort because anna already exists.