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

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



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]

Also funktioniert das.


ciao, Dirk
-- 
|      Akkuschrauber Kaufberatung and AEG GSM stuff       |
|   Visit my homepage:   http://www.nutrimatic.ping.de/   |
| FIDO: Dirk Salva 2:244/6305.10 Internet: dsalvaATgmx.de |
|    The "Ruhrgebiet", best place to live in Germany!     |



Reply to: