PDA

View Full Version : [lubuntu] delete zsh shell



kerasi
December 25th, 2011, 11:24 AM
Hi
i have removed zsh shell before go back to bash now i dont have a shell that works what can i do?

i hope i dont have to install lubuntu new

and marry christmas to all

Lars Noodén
December 25th, 2011, 11:53 AM
You can remove zsh and reset your login shell like this:



sudo apt-get remove zsh
sudo usermod --shell /bin/bash kerasi

kerasi
December 25th, 2011, 11:59 AM
hi
where should i type this my xterm dont work

Stanley_00
December 25th, 2011, 12:11 PM
I think you should use recovery mode to reset your login shell.

kerasi
December 25th, 2011, 12:16 PM
great it works :-)

but when i will log in as

shaft ~ $ sudo -i
sudo: shell: command not found

here is my passwd


root:x:0:0:root:/root:/bash/shaft
shaft:x:1000:1000:John Shaft,,,:/home/shaft:/bin/bash

maybe i did an mistake in my dilirium of anger :-(

kerasi
December 25th, 2011, 12:23 PM
i found my mistake :-)))

root:0:0:root:/root:/bin#i forgot/bash/shaft

coool many many thanks