On Tue, 2003-08-12 at 16:05, Nicolas Turro wrote: > Hi, > > I need to run a cron job as non root (ftpadmin), the job works, > but i get those /var/log/mail entries : > > Aug 12 15:27:02 redhat-serv sendmail[21656]: NOQUEUE: SYSERR(ftpadmin): > can not write to queue directory /var/spool/clientmqueue/ (RunAsGid=0, > required=51): Permission denied > > here is the passwd entry : > +ftpadmin:::::/tmp:/bin/bash > (NIS, UID=32766; GID=32766) > > here is the crontab entry : > 27 * * * * ftpadmin /local/RedHatFactory/APT/bin/makeapt-cronjob > (and MAILTO-root) > > Any idea ? Setting : O RunAsUser=smmsp:smmsp in /etc/mail/submit.cf instead of O RunAsUser=smmsp corrects the problem, but i'm sure i miss something.... -- Nicolas Turro <Nicolas.Turro@xxxxxxxxxxxxxxx> INRIA -- Shrike-list mailing list Shrike-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/shrike-list