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

Re: Nur noch root per ssh!



On Sun, Jan 11, 2004 at 12:58:20PM +0100, Kai Timmer wrote:
> Hallo,
> ich habe das Problem das sich auf meinem Server (Testing), nur noch root 
> per ssh einloggen kann. Normale user bekommen immer die Meldung Access 
> Denied. In den Logs steht dass, das Passwort falsch ist.
> Ich bin aber zu 100 % sicher, dass Passwort ist korrekt!
> Woran kann das liegen?

Hi,
check mal die datei in /etc/pam.d/ssh

Ich glaube diese Datei ist fuer die Authentifizierung verantwortlich,
sollte es nicht daran liegen, teste mal ob andere Programme funktionnieren, wie z.B. proftpd, telnetd etc.

Meine /etc/pam.d/ssh sieht so aus:
=======================================================================

# PAM configuration for the Secure Shell service

# Disallow non-root logins when /etc/nologin exists.
auth       required     pam_nologin.so

# Read environment variables from /etc/environment and
# /etc/security/pam_env.conf.
auth       required     pam_env.so # [1]

# Standard Un*x authentication.
@include common-auth

# Standard Un*x authorization.
@include common-account

# Standard Un*x session setup and teardown.
@include common-session

# Print the message of the day upon successful login.
session    optional     pam_motd.so # [1]

# Print the status of the user's mailbox upon successful login.
session    optional     pam_mail.so standard noenv # [1]

# Set up user limits from /etc/security/limits.conf.
session    required     pam_limits.so

# Standard Un*x password updating.
@include common-password




=======================================================================

saf
-- 
Administrator of http://TrashMail.net/
Give spam no chance!
Free disposable email addresses!



Reply to: