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

Re: console-log läuft nicht mehr!?



On Sun, 2 Apr 2006 23:19:56 +0200, Dirk Salva <dsalva@gmx.de> wrote:
>On Sun, Apr 02, 2006 at 09:31:14PM +0200, Marc Haber wrote:
>> >root@rechner:~# /etc/init.d/console-log start
>> >Starting console-log: W: /var/log/daemon.log not readable by root
>> Was sagt denn
>> su --shell=$SHELL --command="head -n 1 /var/log/daemon.log" root ?
>
>Es wird das Passwort abgefragt, und dann gibts eine Ausgabe:
>
>dirk@rechner:/$ su --shell=$SHELL --command="head -n 1 /var/log/daemon.log" root
>Password: ***
>Mar 30 18:32:46 drechner smartd[5372]: Device: /dev/hda, SMART Usage
>Attribute: 194 Temperature_Celsius changed from 23 [Raw 23] to 32 [Raw 32]

Und wenn Du das als root probierst? Wenn das auch tut, bitte direkt
danach echo $?

Die von Dir oben zitierte Fehlermeldung kommt, wenn das su-Konstrukt,
das Du oben als User ausprobiert hast, fehlschlägt.

Grüße
Marc

-- 
-------------------------------------- !! No courtesy copies, please !! -----
Marc Haber         |   " Questions are the         | Mailadresse im Header
Mannheim, Germany  |     Beginning of Wisdom "     | http://www.zugschlus.de/
Nordisch by Nature | Lt. Worf, TNG "Rightful Heir" | Fon: *49 621 72739834



Reply to: