Re: passwd & syslogd

From: Benjamin Thelen <bt(at)ccgis.de>
Date: Mon, 11 Oct 2004 18:34:46 +0200

Bernd Walter wrote:
> On Mon, Oct 11, 2004 at 04:50:28PM +0200, Benjamin Thelen wrote:
>
>>Moin,
>>
>>
>>Ich habe gesucht (google, Bücher, man-pages) und probiert, aber ich
>>finde keine Antwort. Deshalb möchte ich Euch um den ein oder anderen
>>Hinweis bitten.
>>
>>Ist das richtig, dass unter FreeBSD 4.10 eine Paßwortänderung mit
>>passwd per Default nicht in "/var/log/auth.log" mitgelogged wird?
>>
>>Wenn ich in der syslog.conf nun folgendes
>>
>># uncomment this to enable logging of all log messages to /var/log/all.log
>># touch /var/log/all.log and chmod it to mode 600 before it will work
>>#*.* /var/log/all.log
>>
>>
>>auskommentiere, etc, dann findet sich erwartungsgemäß ein Eintrag in
>>der Log-Datei:
>>
>>Oct 11 12:38:45 host passwd: user xyz changed their local password
>>
>>
>>
>>Ich habe nun versucht die richtige facility herauszufinden und
>>vermutet(e), dass es sich um "auth" oder "authpriv" handeln müßte.
>>Fehlanzeige! Weiß jemand, welche facility in der syslog.conf angeben
>>muß, damit Paßwortänderungen mitgelogged werden? Wie kann ich das
>>herausfinden?
>
>
> starte den syslogd mit -d oder -v - dann siehst du was alles reinkommt.
>

Hallo Bernd,

Bei einem "su" steht tatsächlich "<auth.notice>" dabei. Bei einem
passwd steht folgendes und hilft mir leider nicht weiter, oder?

logmsg: pri 17, flags 0, from hostname, msg Oct 11 18:30:37 passwd:
user admin changed their local password
Logging to FILE /var/log/all.log

Gestart habe ich /usr/sbin/syslogd -vvd.

Hast Du noch eine Idee?

Danke,
Benjamin

To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Mon 11 Oct 2004 - 18:32:32 CEST

search this site