Sreenivas Kotlure


 
Thread Tools Search this Thread
Operating Systems Solaris Sreenivas Kotlure
# 1  
Old 08-03-2005
Sreenivas Kotlure

Hello
I am having problem with cron jobs,on one of our sun unix server for one user cron jobs are not running,when i cheked the /var/cron/logs it is showing that the job done at the same time it is showing with "setuid failed"
But the execution of job was not done actually.
Please advice
Thanks in advance

Sreeni
# 2  
Old 08-04-2005
Make sure that the user has a valid account. In general if the login program won't allow the user to connect, (no account, account expired, etc), cron on SunOS won't run jobs for the user either.
# 3  
Old 08-04-2005
Sreeni

Perderabo thanks for your reply.I checked every thing,that user is in cron.allow file and his is i valid user and his passwd also not expired,when i execute any cron jobs ,in .var/cron/log it is showing that job started and it is giving with exception "setuid failed" for this user.Can you help on this.
Thanks in advance for your help.
Thanks
Sreenivas Kotlure
# 4  
Old 08-04-2005
Become root and cd to the user's home directory as recorded in /etc/passwd. Do a "ls -ld .". Does that work? Cron wants to make sure that home directory exists.
# 5  
Old 08-05-2005
Sreenivas

It looks good.the file permessions are same as the other boxes where this user is running cron perfectly.
the ls -ld . showing drwxr-xr-x.
Thanks in advance.
Thanks
Sreeni
# 6  
Old 08-05-2005
The only other thing I can think of is an illegal uid. It has to be less than the limit shown on "man limits". If it's not that, I'm stumped. Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question