Frage zu crontabs für benutzer

Florian Lohoff flo at rfc822.org
Sat May 29 23:21:36 CEST 1999


On Sat, May 29, 1999 at 09:35:05PM +0200, Frank Matthieß wrote:
> Ich bekomme folgende Fehlermeldung:
> 
> [root at server cron]# crontab -e
> no crontab for root - using an empty one
> /bin/sh: /usr/bin/vi: Datei oder Verzeichnis nicht gefunden
> crontab: "/usr/bin/vi" exited with status 126

Dein vi scheint nicht da zu sein ...
Kontrollier mal deine Environment variablen "EDITOR" und "VISUAL" was
da steht und guck mal ob die Binarys da sind ..

> Laut Doku sollte in /var/spool/cron eine Datei namens root (bzw.
> loginname) liegen. Ich haben sowohl mir touch ( gleicher Fehler) als

Jein - Die root crontab ist eigentlich /etc/crontab zumindest bei
den meisten linux distributionen weil root ein anderes crontab
format hat (Kann den ausfuehrenden user bestimmen) ...

> auch mit einer mehrzeiligen Datei den gleichen effekt.

> Wo liegt die benutzercontab mit welchem namen und welchen
> rechten/eigentümer/gruppe ?

/var/spool/cron/crontabs/<username>

Gehoeren jeweils root gruppe users ... "crontab" ist normalerweise
ein suid binary ...

Flo
-- 
Florian Lohoff		flo at rfc822.org		      	+49-5241-470566
Good, Fast, Cheap: Pick any two (you can't have all three).  (RFC 1925)



More information about the Linux mailing list