Re: Problem to start spamd as a user
On Fri, Aug 26, 2005 at 02:03:53PM -0400, Matt Kettler wrote: > At 09:58 AM 8/26/2005, Bob McClure Jr wrote: > >Umm, why do you want to do that? spamd is supposed to be started as > >root, after which it changes ID to a non-priveledged user, like > >nobody. > > Erm, bob.. Patrick IS starting it as root.. he's just using spamd -u to get > spamd to setuid to a non-privileged user.. > > Read the original message more closely and see that the prompt for the > failed startup is a # Sorry. Failed to Read The Full Question. Cheers, -- Bob McClure, Jr. Bobcat Open Systems, Inc. [EMAIL PROTECTED] http://www.bobcatos.com Peace at any price is inflationary.
Re: Problem to start spamd as a user
At 09:58 AM 8/26/2005, Bob McClure Jr wrote: Umm, why do you want to do that? spamd is supposed to be started as root, after which it changes ID to a non-priveledged user, like nobody. Erm, bob.. Patrick IS starting it as root.. he's just using spamd -u to get spamd to setuid to a non-privileged user.. Read the original message more closely and see that the prompt for the failed startup is a # Works for Patrick: mybag:/tmp# spamd -D Fails for Patrick: spamd -D -u p3scan Error caused: debug: Preloading modules with HOME=spamd-20968-init fatal: Can't create spamd-20968-init: Permission denied at Patrick: Check what the home directory for p3scan is. That user should have a homedir, and it should be writable. Also make sure it has the same access to /tmp that average-joe local users do.
Re: Problem to start spamd as a user
Please update your address book. The current address is [EMAIL PROTECTED] On Fri, Aug 26, 2005 at 10:23:57AM +0200, Patrick Steiner wrote: > Hi > > I have the problem that i can't start spamd under another user Umm, why do you want to do that? spamd is supposed to be started as root, after which it changes ID to a non-priveledged user, like nobody. Also, what OS are you using? How are you planning to call spamc? If you really must use SpamAssassin as a mere mortal, then you should call spamassassin, not spamc/spamd. Naw, even that doesn't make sense. > Here the debug output: > > Here when i start normal: > > > mybag:/tmp# spamd -D > trying to connect to syslog/unix... > no error connecting to syslog/unix > logging enabled: > facility: mail > socket: unix > output: syslog > creating INET socket: > Listen: 128 > LocalAddr: 127.0.0.1 > LocalPort: 783 > Proto: 6 > ReuseAddr: 1 > Type: 1 > debug: SpamAssassin version 3.0.4 > debug: Score set 0 chosen. > debug: Storable module v2.13 found > debug: Preloading modules with HOME=/tmp/spamd-20946-init > debug: ignore: test message to precompile patterns and load modules > debug: using "/etc/spamassassin/init.pre" for site rules init.pre > debug: config: read file /etc/spamassassin/init.pre > debug: using "/usr/share/spamassassin" for default rules dir > debug: config: read file /usr/share/spamassassin/10_misc.cf > debug: config: read file /usr/share/spamassassin/20_anti_ratware.cf > debug: config: read file /usr/share/spamassassin/20_body_tests.cf > _ > > > Here when i start as the user p3scan: > > __ > > mybag:/tmp# spamd -D -u p3scan > trying to connect to syslog/unix... > no error connecting to syslog/unix > logging enabled: > facility: mail > socket: unix > output: syslog > creating INET socket: > Listen: 128 > LocalAddr: 127.0.0.1 > LocalPort: 783 > Proto: 6 > ReuseAddr: 1 > Type: 1 > debug: SpamAssassin version 3.0.4 > debug: Score set 0 chosen. > debug: Storable module v2.13 found > debug: Preloading modules with HOME=spamd-20968-init > fatal: Can't create spamd-20968-init: Permission denied at > /usr/sbin/spamd line 1871. > > > __ > > > can somebody help me??? Cheers, -- Bob McClure, Jr. Bobcat Open Systems, Inc. [EMAIL PROTECTED] http://www.bobcatos.com Peace at any price is inflationary.
Problem to start spamd as a user
Hi I have the problem that i can't start spamd under another user Here the debug output: Here when i start normal: mybag:/tmp# spamd -D trying to connect to syslog/unix... no error connecting to syslog/unix logging enabled: facility: mail socket: unix output: syslog creating INET socket: Listen: 128 LocalAddr: 127.0.0.1 LocalPort: 783 Proto: 6 ReuseAddr: 1 Type: 1 debug: SpamAssassin version 3.0.4 debug: Score set 0 chosen. debug: Storable module v2.13 found debug: Preloading modules with HOME=/tmp/spamd-20946-init debug: ignore: test message to precompile patterns and load modules debug: using "/etc/spamassassin/init.pre" for site rules init.pre debug: config: read file /etc/spamassassin/init.pre debug: using "/usr/share/spamassassin" for default rules dir debug: config: read file /usr/share/spamassassin/10_misc.cf debug: config: read file /usr/share/spamassassin/20_anti_ratware.cf debug: config: read file /usr/share/spamassassin/20_body_tests.cf _ Here when i start as the user p3scan: __ mybag:/tmp# spamd -D -u p3scan trying to connect to syslog/unix... no error connecting to syslog/unix logging enabled: facility: mail socket: unix output: syslog creating INET socket: Listen: 128 LocalAddr: 127.0.0.1 LocalPort: 783 Proto: 6 ReuseAddr: 1 Type: 1 debug: SpamAssassin version 3.0.4 debug: Score set 0 chosen. debug: Storable module v2.13 found debug: Preloading modules with HOME=spamd-20968-init fatal: Can't create spamd-20968-init: Permission denied at /usr/sbin/spamd line 1871. __ can somebody help me???