Here is a command on free bsd
sudo pw usermod ksbuild -s /usr/local/bin/bash
how do I do the equivalent on RHEL?
chsh
(Change Shell)
To change the default setting of all new users, edit the setting in the defaults file: /etc/default/useradd
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With