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
would prevent all logins on all consoles.
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
though i don't wanna do it without your "okay" cos that might screw things up
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
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)
i guess i'll just reinstall pam?
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.
Hopefully someone else will come along that can deal fix this.
i just backed up my /root and /home directories and now i'm just gonna reinstall yoper.
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 ;)
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.