Linux, FreeBSD, Juniper, Cisco / Network security articles and troubleshooting guides https://forum.ivorde.com/ |
|
How to change user login shell to bash in Linux https://forum.ivorde.com/how-to-change-user-login-shell-to-bash-in-linux-t19742.html |
Page 1 of 1 |
Author: | mandrei99 [ Thu Jan 22, 2015 11:37 am ] |
Post subject: | How to change user login shell to bash in Linux |
Newly created users in Debian and Centos Linux will have the default shell "sh" as seen below: Code: $ echo $SHELL /bin/sh Only root user or a sudo enabled non-root user will be able to change shells. The Linux command to change a user's login shell is "chsh". Code: # chsh -s /bin/bash MYUSER
|
Page 1 of 1 | All times are UTC - 5 hours [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |