Change user default shell on Linux machine

From AcrodusWiki
Revision as of 14:39, 22 November 2024 by Alex (talk | contribs) (Created page with "Enter the following command to change user shell. The example changes the user alex to use bash. <pre> usermod --shell /bin/bash alex </pre>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Enter the following command to change user shell. The example changes the user alex to use bash.

usermod --shell /bin/bash alex