Results 1 to 10 of 12
Thread: Add user login to /etc/shells?
|
Enjoy an ad free experience by logging in. Not a member yet? Register.
|
|
-
01-01-2006 #1
Add user login to /etc/shells?
-
01-01-2006 #2
Could you post the exact error message you get?
-
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?)
http://img391.imageshack.us/img391/4581/ssa400845im.png
-
01-01-2006 #4
Hmm, do you have something like the following in your /etc/shells
# /etc/shells: valid login shells
/bin/sh
/bin/bash
/bin/tcsh
/bin/csh
/bin/esh
/bin/ksh
/bin/zsh
/bin/sash
see if having that works, if it doesn't come back.
-
01-01-2006 #5
My /etc/shells looks like
Code:/bin/bash /bin/tcsh /bin/csh /bin/ash /bin/ksh /bin/zsh
-
01-01-2006 #6
Originally Posted by Game master pro
-
01-01-2006 #7
Okay, which shell are you currently trying to use?
-
01-01-2006 #8
- Join Date
- Jun 2005
- Posts
- 123
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:
tom:1000:100:Tom F,,,:/home/tom:/bin/bash
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
- Join Date
- Nov 2004
- Location
- home
- Posts
- 796
Originally Posted by Game master pro