[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Debian]:einloggen geht nicht



On Thu, Mar 02, 2000 at 11:28:03AM +0100, Wolfgang Erig wrote:
> andere User, Password ändern, etc..., nix hilft.
> Ich wühle herum im Umfeld von
> 
> 	libpam-modules
> 	/etc/pam.d/login
> 	/lib/security/pam_unix.so
> 	/usr/share/doc/libpam-doc/html/index.html
Da wuerd ich auch suchen! Wie sieht denn /etc/pam.d/login aus? Bei mir
ist das etwa so:

auth       requisite  pam_securetty.so
auth       required   pam_nologin.so
auth       required   pam_env.so
auth       required   pam_unix.so nullok
account    required   pam_unix.so
session    required   pam_unix.so
session    optional   pam_lastlog.so
session    optional   pam_motd.so
session    optional   pam_mail.so standard noenv
password   required   pam_unix.so nullok

Ich habs aller Kommentare beraubt. In der Doku zu libpam (Paket
libpam-doc) steht auch irgendwo was man als minimales login bracuht,
wenn mal was schief ging:

Second, I'm going to assume that you haven't completely
  nuked your pam installation - just your configuration files.
  Here's how you make your configs nice again:

      cd /etc
      mv pam.conf pam.conf.orig
      mv pam.d pam.d.orig
      mkdir pam.d
      cd pam.d

  and then use vi to create a file called "other" in this
  directory.  It should contain the following four lines:

      auth     required       pam_unix_auth.so
      account  required       pam_unix_acct.so
      password required       pam_unix_passwd.so
      session  required       pam_unix_session.so

  Now you have the simplest possible PAM configuration that
  will work the way you're used to.  Everything should
  magically start to work again.  Try it out by hitting ALT-F2
  and logging in on another virtual console.  If it doesn't
  work, you have bigger problems, or you've mistyped
  something.  One of the wonders of this system (seriously,
  perhaps) is that if you mistype anything in the conf files,
  you usually get no error reporting of any kind on the
  console - just some entries in the log file.  So look there!
  (Try 'tail /var/log/messages'.)

Also dann viel Erfolg!

Matthias
-- 
+-------------created at Thu Mar  2 16:10:11 CET 2000-----------------+
|    Matthias Berse                          Phone:+49-2323-42397     |
\____Bachstr.28  44625 Herne, Germany________eMail: berse@gmx.de______/

What happens when you cut back the jungle?  It recedes.
------------------------------------------------
Um sich aus der Liste auszutragen schicken Sie
bitte eine E-Mail an majordomo@jfl.de die im Body
"unsubscribe debian-user-de <deine emailadresse>"
enthaelt.
Bei Problemen bitte eine Mail an: Jan.Otto@jfl.de
------------------------------------------------
Anzahl der eingetragenen Mitglieder:     737


Reply to: