How to verify shell change?

QuestionsQuestions8 SkillsProUser Account ManagementOct, 16 2025
093

To verify the shell change for a user, you can check the /etc/passwd file using the following command:

sudo grep -w 'joker' /etc/passwd

This command will display the entry for the user 'joker'. At the end of the line, you should see the path of the shell. If the shell has been changed successfully, it should show /bin/bash.

0 Comments

no data
Be the first to share your comment!