Results 1 to 10 of 12
I changed the default runlevel to 4 to it boots to kdm, but i can't log in to my normal user account, only root, if i try loggin in it ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 01-01-2006 #1
Add user login to /etc/shells?
I changed the default runlevel to 4 to it boots to kdm, but i can't log in to my normal user account, only root, if i try loggin in it says something about my login script not in /etc/shells how do i log in, anyone know?
- 01-01-2006 #2
- 01-01-2006 #3
Sure, here you go
it says "Your login shell is not listed in /etc/shells"
and incase you don't believe me, i took a picture of it
(another thing i don't get with windows, a image with a .tif extension is 8.63 mb but with .tiff with 2 f's its only 200kb, exactly the same thing, weird, eh?)
- 01-01-2006 #4
Hmm, do you have something like the following in your /etc/shells# /etc/shells: valid login shells
see if having that works, if it doesn't come back.
- 01-01-2006 #5
My /etc/shells looks like
/bin/bash /bin/tcsh /bin/csh /bin/ash /bin/ksh /bin/zsh
- 01-01-2006 #6
- 01-01-2006 #7
Okay, which shell are you currently trying to use?
- 01-01-2006 #8
- Join Date
- Jun 2005
Check the path to your preferred shell for the user 'gmp'.
This is listed in /etc/passwd
The line with my non-root account looks like:
So check that your line ends with /bin/bash (assuming you want to use bash). Also check to see whether or not /bin/bash exists, and it's permissions.
To check these you'll have to mount your root partition from other distribution. I recommend the SystemRescueCD distribution. Download it, burn it, boot it, check /etc/passwd.
- 01-04-2006 #9
I edited /etc/shells to have /bin/bash at the end and take it off the beginning, it did nothing at all, it /etc/passwd there is nothing after /home/gmp indicating any shell i will post what it says when im on my computer
- 01-04-2006 #10
Originally Posted by Game master pro
- Join Date
- Nov 2004