Find the answer to your Linux question:
Page 2 of 2 FirstFirst 1 2
Results 11 to 18 of 18
The files in /etc/pam.d control how the pam modules are loaded under the various processes. I'd be very careful before changing anything here. It doesn't take much of a mistake ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #11
    Just Joined!
    Join Date
    Sep 2004
    Location
    San Fran, CA USA
    Posts
    22

    The files in /etc/pam.d control how the pam modules are loaded under the various processes. I'd be very careful before changing anything here. It doesn't take much of a mistake to lock yourself out of the system. Copy all original files somewhere and have a bootable live CD on hand.

    Might want to do some reading try google: pam modules howto

    That disclaimer out of the way...
    IF this is where the problem is, it would be in /etc/pam.d/login

    and you would see a line like
    account required pam_access.so (of course it wouldn't be commented out)

    IF that is the case, then you should check the file /etc/security/access.conf
    And the form of that file is

    permission : users : origins

    where permission is +/- and origins is the console list

    so:
    -:ALL:ALL

    would prevent all logins on all consoles.

  2. #12
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    well the /etc/pam.d/login thingie was there, so i checked /etc/security/access,conf
    and there wasn't anything like -:ALL:ALL
    so maybe i should do
    +:ALL:ALL
    though i don't wanna do it without your "okay" cos that might screw things up

  3. #13
    Just Joined!
    Join Date
    Sep 2004
    Location
    San Fran, CA USA
    Posts
    22
    Were there any lines in the access.conf?

    Usuall this file is documented internally. No such luck in this case?

    Try commenting out any lines in the file

    And try

    +:"username":tty1

    to see if that lets you log into tty1 (there are typically users that aren't supposed to log in at all and you don't want to provide logins just anywhere)

  4. $spacer_open
    $spacer_close
  5. #14
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    no luck
    i guess i'll just reinstall pam?
    -lakerdonald

  6. #15
    Just Joined!
    Join Date
    Sep 2004
    Location
    San Fran, CA USA
    Posts
    22
    Well, all that seems to imply is pam is not the problem. Although I guess it wouldn't hurt, I think it must be something else that we are missing here.

    I'm stumped.

    Hopefully someone else will come along that can deal fix this.

  7. #16
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    i just backed up my /root and /home directories and now i'm just gonna reinstall yoper.

  8. #17
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    Hey
    Just wanted to let you guys know I reinstalled Yoper, and everything's fine and dandy
    thanks a lot for all of your help though
    -lakerdonald

  9. #18
    Just Joined!
    Join Date
    Sep 2004
    Location
    San Fran, CA USA
    Posts
    22
    Glad to hear everything is working again.

    Sorry you had to do the whole reinstall thing, I'm still curious because that was such a strange problem. Oh well.

    Have a good one.

Page 2 of 2 FirstFirst 1 2

Posting Permissions

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