On Wed, 26 Nov 2003, Chris Deigan wrote: > On Wed, 2003-11-26 at 15:51, Howard Lowndes wrote: > > When I fire up SA in the default mode it fires up as root and when ir gets > > passed an email by spamc it switches to user nobody. > > > > Thus I decided to start it as user nobody anyway and gave that use a home > > directory in /tmp and a subdir /tmp/.spamassassin with owner and group of > > nobody. > > > > Nov 26 15:41:43 ext spamd[9963]: Creating default_prefs > > [/root/.spamassassin/user_prefs] > > Nov 26 15:41:43 ext spamd[9963]: Cannot write to > > /root/.spamassassin/user_prefs: Permission denied > > Nov 26 15:41:43 ext spamd[9963]: Couldn't create readable default_prefs > > for [/root/.spamassassin/user_prefs] > > > Any ideas? > > Try running su - nobody > before starting spamassassin. > su - nobody -c '/etc/rc.d/init.d/spamassassin start' Starting spamd: Could not create INET socket: Permission denied IO::Socket::INET: Permission denied
-- Howard. LANNet Computing Associates - Your Linux people <http://www.lannetlinux.com> ------------------------------------------ Flatter government, not fatter government - Get rid of the Australian states. ------------------------------------------ To mess up a Linux box, you need to work at it; to mess up your Windows box, you just need to work on it. - Scott Granneman, SecurityFocus -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
