Problem
After submitting a cron, or an "at" job, I get email with the message "Cron: can't set login UID. Your commands will not be executed."
Cause
If the cron daemon is killed and restarted manually, it will acquire that user's LUID. Any jobs submitted will then give the above error. Cron cannot have a LUID set if it is to function properly.
This problem is only known to occur when the server is set to "High"
security mode. The way to show that is to run:/tcb/bin/secdefs -vand check that:SECLUID=1is set in /etc/conf/cf.d/stune Solution
You will need to reboot the machine so that the cron daemon can be started up by init.
Alternately, you can use the commands:/etc/rc2.d/P75cron stop
/etc/rc2.d/P75cron startThen, use the "sd" command to start the cron daemon without rebooting and check that the cron is running with:
ps -ef | grep cronAlso check the TCB database with the command:
/tcb/bin/authck -avand fix any problems addressed there. See also
ta105076, "table_grow - exec data table page limit of 25 pages (MAXEXECARGS) exceeded. "
ta106462, "I get the mail message from cron "can't set login UID"."
authck(ADM); cron(C); sd(ADM)https://ftp.scoexpert.com/openserver5/README.OSR5.Supplementshttp://support.ca.sco.com/cgi-bin/ssl_getmanpage?setluid+S+OS5+setluid