You are not logged in.
Hello i'm trying to change my bash to zsh, but i cant change it as default shell on other user than root.
chsh -s $(which zsh)
Changing shell for user.
Password:
chsh: Shell not changed.i dont know what to do, on gentoo it works fine
Last edited by Suami777 (2013-07-08 20:05:37)
Offline
what does 'chsh -l' (that is an ell) give?
Offline
chsh -l
/bin/sh
/bin/bash
/usr/bin/zshOffline
Offline
ok so if i good understand
chsh -s $(/usr/bin/zsh)its logging me on zsh shell but after run new terminal its again bash
Last edited by Suami777 (2013-07-08 16:51:41)
Offline
ok so if i good understand
chsh -s $(/usr/bin/zsh)its logging me on zsh shell but after run new terminal its again bash
No need for the "$()".
$ chsh -s /usr/bin/zshThe above should do just fine.
All the best,
-HG
Offline
damn
chsh -s /usr/bin/zsh
Changing shell for user.
Password:
chsh: Shell not changed.Offline
I've just checked and it should have worked with 'chsh -s $(which zsh)' - it did work for me.
Log out and log back in. What's the output of
echo $SHELL?
Maybe you've already succesfully changed shells
$ chsh -s $(which zsh)
Changing shell for karol.
Password:
Shell changed.
$ chsh -s $(which zsh)
Changing shell for karol.
Password:
chsh: Shell not changed.I did type the correct password, but I already changed my shell to zsh so I got this rather unhelpful error message.
Last edited by karol (2013-07-08 17:50:20)
Offline
well actualy i didnt
echo $SHELL
/bin/bashchsh -s $(which zsh)
Zmiana powłoki dla user.
Hasło:
chsh: Powłoka nie została zmieniona. sorry for polish laguange but i see karol is polish user
Last edited by Suami777 (2013-07-08 17:59:22)
Offline
I understand English, so please post in English :-)
Did you log out before 'echo $SHELL'?
$ echo $SHELL
/bin/bash
$ chsh -s $(which zsh)
Changing shell for karol.
Password:
Shell changed.
$ echo $SHELL
/bin/bashAre you sure you're not mistyping your password?
Offline
yes i'm 100% sure
P.S. I knwo youre know english but i didnt want to change laguange for one code post ![]()
Last edited by Suami777 (2013-07-08 18:08:51)
Offline
yes i'm 100% sure
P.S. I knwo youre know english but i didnt want to change laguange for one code post
See Pasting Pictures and Code. You don't need to change your language to easily make the output of a command appear in English ![]()
All the best,
-HG
Offline
Not sure what do you mean by changing language, it's really easy to have your output in English: https://wiki.archlinux.org/index.php/Fo … s_and_Code
Please prepend LC_ALL=C to posted commands so that the output will be in English.
Edit: HalosGhost's posts wasn't here when I checked before posting, but I had to wait an eternity to have my post submitted :-(
You still haven't answered whether you did log out before issuing 'echo $SHELL'.
Last edited by karol (2013-07-08 18:15:45)
Offline
Edit: HalosGhost's posts wasn't here when I checked before posting, but I had to wait an eternity to have my post submitted :-(
Karol, that feeling right there; that's what we all feel like most of the time with your posts ![]()
All the best,
-HG
Offline
ok its great option i will use it next time ![]()
anyway any idea what to do with zsh ?
Offline
You still haven't answered whether you did log out before issuing 'echo $SHELL'.
Offline
You still haven't answered whether you did log out before issuing 'echo $SHELL'.
Silence is an answer... ![]()
Offline
changed
go in terminal > type chsh -s $(which zsh) + password > close window (no exit) > run new terminal = got bash
go in terminal > type chsh -s $(which zsh) + password > exit > exit > run new terminal = got bash
Last edited by Suami777 (2013-07-08 18:37:01)
Offline
Were you running is from X or from tty? You need to log out of that session or at least log in in another session (e.g. tty2)
karol wrote:You still haven't answered whether you did log out before issuing 'echo $SHELL'.
Silence is an answer...
Father: Speech is silver, silence is ...?
6yo kid: Of the lambs!
Offline
Were you running is from X or from tty? You need to log out of that session or at least log in in another session (e.g. tty2)
jasonwryan wrote:karol wrote:You still haven't answered whether you did log out before issuing 'echo $SHELL'.
Silence is an answer...
Father: Speech is silver, silence is ...?
6yo kid: Of the lambs!
quote from harry potter ?
?
Offline
quote from harry potter ?
?
No idea. I have neither read nor watched it so I must have gotten it from somewhere else.
You can just reboot the computer if you're unsure about that logging out stuff.
Offline
i have no i idea what is not working i was making reboot and nothing help, dontk now why its not working
the worst think is i'm again thinking about going back to gentoo ![]()
Offline
the only one think i can say "lol"
sudo chsh -s $(which zsh)wordked ;w, dont ask me how i dont know but it worked
Offline
Great news :-)
That was the last thing I wanted to try out - I noticed 'usermod -s' needed sudo to work properly :-)
Offline
but still in man i dont see information about needed sudo to execute -s
strange ![]()
Thank you very much for help ![]()
Offline