Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cron problem

Status
Not open for further replies.

mart1

MIS
Sep 24, 2001
14
FR
Hello,

I have a cron for root.
It happend that the cron is not working any more.
Whan I look at the log of the cron, Ihave a message :
root : bad user

Any ideas.
 
Look if you have a file called root under /var/spool/cron/crontabs
if not, create a new one. look also at the permissions.
Look at the passwd file to make sure you have a root user defined. Too bad I.T. is not cash business

Luc Foata
Unix sysadmin, Oracle DBA
 
The user root is correctly defined as far as know.
there is filr for root in /var/spool/cron/crontabs.

Any other ideas ?



 
can u post some more information from the log files Thief................ ::)
(I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us .)
 
Just had a similar problem and a colleague has managed to recover cron for me.
He has reset the password for root after login in as root (depends on whether you have tools such as sudo)

Concluded that the password status for the account root was amiss in the etc/password and /etc/shadow

Try it out and let me know.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top