Results 1 to 3 of 3
Hello everyone
my problem is simply this:
I installed the zsh shell bug, and follows these instructions:
To move to zsh, a user must type:
% Chsh
Enter the new ...
- 05-07-2008 #1Just Joined!
- Join Date
- May 2008
- Posts
- 11
zsh
Hello everyone
my problem is simply this:
I installed the zsh shell bug, and follows these instructions:
To move to zsh, a user must type:
% Chsh
Enter the new value, or press return for the default
Login Shell [/ bin / bash]: / bin / zsh
namely that I trmpé and instead putting / bin / zsh I put / in / zsh
except that in j'etaiss root and is not a simple utilisteur
therefore I have more access to a shell to install my software.
Please help me.
- 05-09-2008 #2Linux Newbie
- Join Date
- Sep 2007
- Posts
- 160
hi rihab,
let me see if i understand your problem: you changed the default
shell for root to something non-existent ("/in/zsh") thus you
cannot log in as root anymore. is this correct?
i'm surprised chsh let you do this (without checking whether the
shell you specified existed), but anyway: if this is your problem, the
following might fix it:
the file /etc/passwd holds information on the login shell for each user,
for example, mine begins like this:
take a look at you /etc/passwd and check whether it says /in/zsh in theCode:root:x:0:0:root:/root:/bin/bash daemon:x:1:1:daemon:/usr/sbin:/bin/sh bin:x:2:2:bin:/bin:/bin/sh
root row, this will verify that this is indeed the problem.
then you try to edit it. you need to be root to do this, which is tricky
since this is the problem you try to fix. i'd boot your computer using some
linux live cd (Knoppix, grml, or any other), become root for the live linux
system, find the etc/passwd on the harddrive and edit it there.
hope this helps, kai
- 05-09-2008 #3Just Joined!
- Join Date
- May 2008
- Posts
- 11
thanks a lot


Reply With Quote
