7198 shaares
For existing users, use the chsh command (“change shell”):
chsh -s SHELL USER
chsh -s /usr/local/bin/bash root
For future users:
Edit "/etc/pw.conf" defaultshell keywords
When use adduser(), choose necessary shell
For existing users, use the chsh command (“change shell”):
chsh -s SHELL USER
chsh -s /usr/local/bin/bash root
For future users:
Edit "/etc/pw.conf" defaultshell keywords
When use adduser(), choose necessary shell