How to set bash as the default shell in puppy linux?

0

I have just installed puppy linux and the bash package but cant seem to have the terminal start up with bash instead of sh

arcyqwerty

Posted 2012-04-01T03:41:32.487

Reputation: 968

Tried using chsh: command not found – arcyqwerty – 2012-04-01T03:41:47.273

Answers

2

You should be able to change your login shell in /etc/passwd in all Linux distros. Below, an example line. Note how the last component points to a shell binary.

mkaito:x:1000:100:,,,:/home/mkaito:/bin/zsh

mkaito

Posted 2012-04-01T03:41:32.487

Reputation: 1 651

0

If you want it to be the system-wide default shell, this series of commands (run from a root shell) will do it: rm -f /bin/sh; ln -s bash /bin/sh

Otherwise, editing the /etc/passwd file as @mkaito suggests will let you change the default shell for your user account.

Jody Lee Bruchon

Posted 2012-04-01T03:41:32.487

Reputation: 178