public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
[parent not found: <gtpMB-4Sc-5@gated-at.bofh.it>]
[parent not found: <gsW7T-4OU-15@gated-at.bofh.it>]
* [gentoo-user] spamd and user nobody, sa-learn
@ 2011-03-05  9:28 meino.cramer
  0 siblings, 0 replies; 6+ messages in thread
From: meino.cramer @ 2011-03-05  9:28 UTC (permalink / raw
  To: Gentoo

Hi,

currently I am unsure, whether it is possible to update the
bayes-database of spamd/spamassassin as user mccramer while
spamd/spamassassin is running under user nobody:nobody AND
assign the database rw-rights for nobody:nobody only.

Nobody has neither the right to login nor a home directory.

I tried 
    
    sudo -u nobody sa-learn --spam --dbpath /etc/mail/nobody/.spamassassin/ --dir .

as user mccramer but it complains with:
"Sorry, user mccramer is not allowed to execute '/usr/bin/sa-learn --spam --dbpath /etc/mail/nobody/.spamassassin/ --dir .' as nobody:nobody on solfire."

/etc/sudoers is set to allow this for mccramer.

What is the trick to accomplish what is wanted here ?


Thank you very much in advance for any help!
Best regards,
mcc




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-03-06 18:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <gt0Ey-44v-19@gated-at.bofh.it>
     [not found] ` <gt0Ey-44v-17@gated-at.bofh.it>
     [not found]   ` <gtaue-3U8-21@gated-at.bofh.it>
2011-03-06 17:07     ` [gentoo-user] spamd and user nobody, sa-learn David W Noon
2011-03-06 17:47       ` meino.cramer
     [not found] <gtpMB-4Sc-5@gated-at.bofh.it>
     [not found] ` <gtpMB-4Sc-7@gated-at.bofh.it>
     [not found]   ` <gtpMB-4Sc-9@gated-at.bofh.it>
     [not found]     ` <gtpMB-4Sc-3@gated-at.bofh.it>
     [not found]       ` <gtqpk-5MA-15@gated-at.bofh.it>
2011-03-06 18:34         ` David W Noon
     [not found] <gsW7T-4OU-15@gated-at.bofh.it>
2011-03-05 14:20 ` David W Noon
2011-03-06  0:55   ` meino.cramer
2011-03-05  9:28 meino.cramer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox