Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
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.
  1. #1
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035

    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:
    Code:
    Yoper Linux 2.1 (for i686)
    yos login: root
    Login Incorrect
    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 is
    Code:
    emerge mplayer
    !!!
    Any ideas what's wrong?
    -lakerdonald

  2. #2
    Just 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.

  3. #3
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    k i'll go play with that. thanks

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    the permissions of all the tty's that i use are
    Code:
    crw-------
    but the ones i don't use (i.e. /dev/ttyzc) are
    Code:
    crw-rw-rw-

  6. #5
    Just 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)?

  7. #6
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    yes
    but, i don't even get to enter a password, that's the strange part

  8. #7
    Just 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?

  9. #8
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    but it happens with normal users too!

  10. #9
    Just 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

  11. #10
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    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?

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •