How can you change the default shell for the user 'joker' to bash?

QuestionsQuestions4 SkillsProUser Account ManagementAug, 16 2025
0172

You can change the default shell for the user 'joker' to bash by using the following command:

sudo usermod -s /bin/bash joker

After executing this command, you can verify the change by running:

sudo grep -w 'joker' /etc/passwd

You should see /bin/bash at the end of joker's entry, indicating that the default shell has been successfully changed.

0 Comments

no data
Be the first to share your comment!