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
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.
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
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.
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