Re: etch: can no longer login



David E. Fox wrote:
On Sat, 29 Apr 2006 13:27:08 -0700
"David E. Fox" <dfox@xxxxxxxxxxxxxxxxxxxxxx> wrote:

dfox@m206-157:~$ sudo unmount /dev/hdd
sudo: pam_authenticate: Module is unknown

This just happened very recently.

hate replying to myself, but need some help. due to some other
broken-ness, had to reboot. when I got to a console prompt I could not
login. Got halfway working with a chroot off of a knoppix disk, but
there are a couple of gotchas still [...]

I know next to nothing about PAM, but I imagine that you could configure PAM to let everyone login without passwords.

Then, with the firewall up and configured to disallow new connections to your machine, you could go online and update PAM and related modules to see if they've already fixed the problem.

BTW, if you want to boot without the knoppix disk, you could type "init=/bin/sh" at the boot prompt (I think).

You might have to purge and reinstall PAM because the libraries might have changed enough to require that the config files be changed too.

And you've probably already figured out that if you do remove PAM, you want to get it back quickly because /bin/login dynamically links against PAM. No PAM, no login. The same goes for ssh.

Good luck. I hope you get it fixed.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: SSHD (openssh) responds too quickly for bad password.
    ... >> As far as I know, PAM is also used when you login with telnet. ... in this case PAM. ... Swatch isn't the only log monitoring tool out there. ...
    (comp.security.ssh)
  • SUMMARY: Single User Mode login to SunfireV120 with Solaris 8 fails
    ... My problem boiled down to multiuser login working fine yet in single user ... Feb 9 10:01:31 PAM: pam_set_item ... (or give root password for system maintenance): ...
    (SunManagers)
  • Reg. PAM
    ... I have installed libpam-cracklib. ... Does our new versions support PAM for packages. ... that grant access to the machine, like login and ssh. ... @include common-auth ...
    (Debian-User)
  • Re: Samba passwords
    ... > found it hard to understand and the pam man page even worse. ... It is possible to use pam_smbpass to have login, sshd, etc. authenticate ... against the SMB password database instead of /etc/passwd. ... I think you'll still need UNIX accounts to ...
    (freebsd-questions)
  • Re: passwords not recognized when suing from a terminal
    ... the passwords are no longer accepted. ... I can still login OK from the initial login ... You may also want to turn on some 'debug' option flag in the pam modules. ... # Uncomment the following line to implicitly trust users in the "wheel" group. ...
    (Fedora)