Re: Changing login shell
Originally Posted by
grove001
How can I change my default (login) shell to /usr/bin/ksh from /bin/bash? Using chsh rejects ksh as a "valid" shell. I am running Ubuntu 12.04 and ksh installed on the machine satisfactorily. I can enter ksh by typing "ksh" at a bash prompt, but I want to open directly to ksh.
Thanks in advance for the help.
checkout the ksh absolute path in your system.
Code:
grep ksh /etc/shells
Now change your shell .
Code:
sudo chsh -s /bin/ksh your_username
Now, logout and login back again to use ksh as the default shell.
“Progress is made by lazy men looking for easier ways to do things”
— Robert A. Heinlein
Bookmarks