Results 1 to 10 of 18
Hey all
very strange problem
i can log in with X just fine, but i also usually have a bunch of text-shells open (i.e ctrl-alt-f1). Well I tried to login ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 09-25-2004 #1
Can't Login
Hey all
very strange problem
i can log in with X just fine, but i also usually have a bunch of text-shells open (i.e ctrl-alt-f1). Well I tried to login so i enter my username:
So before i can even enter my password it tells me login incorrect. i tried this with my plain user, paladin, and same thing. so i tried it with the other "virtual-terminals" (ctrl-alt-f2, ctrl-alt-f3, etc) with both usernames, same problem, I rebooted, and i still can't login. I haven't made any changes to my system or tweaked any setting even remotely related to this. The only thing i've done to my system in the last 3 days isCode:Yoper Linux 2.1 (for i686) yos login: root Login Incorrect
!!!Code:emerge mplayer
Any ideas what's wrong?
-lakerdonald
- 09-26-2004 #2Just Joined!
- Join Date
- Sep 2004
- Location
- San Fran, CA USA
- Posts
- 22
That's a strange one.
Did/can you check
1)the permissions of /dev/tty*
2)the listings in /etc/securetty
3)the listings in /etc/inittab
4)/etc/security.access.conf
Can't think of anything else where this might be set.
Hope that helps.
Aside: yoper has portage, deb and rpm! How does that not break?!?!
Pretty impressive.
- 09-26-2004 #3
k i'll go play with that. thanks
- 09-26-2004 #4
the permissions of all the tty's that i use are
but the ones i don't use (i.e. /dev/ttyzc) areCode:crw-------
Code:crw-rw-rw-
- 09-26-2004 #5Just Joined!
- Join Date
- Sep 2004
- Location
- San Fran, CA USA
- Posts
- 22
I think those are fine as long as root is owner and group of those consoles.
Are those consoles listed under /etc/securetty (this sets permission for root login)?
- 09-26-2004 #6
yes
but, i don't even get to enter a password, that's the strange part
- 09-26-2004 #7Just Joined!
- Join Date
- Sep 2004
- Location
- San Fran, CA USA
- Posts
- 22
I usually disable root access to consoles by removing the tty lines from /etc/securetty
If you try to login as root, you don't get prompted for the password (I don't know if this is default behavior or if there is some special setting). Disabling root access via ssh for example prompts you for a password but never allows login.
Sorry, I don't know what else it could be. Have you updated pam recently or changed the config files?
- 09-26-2004 #8
but it happens with normal users too!
- 09-26-2004 #9Just Joined!
- Join Date
- Sep 2004
- Location
- San Fran, CA USA
- Posts
- 22
Yeah that's a good point that it happens to everyone.
It's possible your pam is configured to dissalow logins on all consoles except 7 (I don't see why that would be a reasonable setup though).
It's strange that this was working before and now it's not.
Sorry I couldn't have been more help.
Good luck
- 09-26-2004 #10
well i'm in /etc/pam.d, and i'm looking at all of the files, but i can't really figure it out. where would i look to see how logins to the tty's are controlled?


Reply With Quote
