[Pkg-dspam-misc] dspam question

Daniel Kahn Gillmor dkg-debian.org at fifthhorseman.net
Fri Nov 17 06:16:12 CET 2006


On November 16, wt at penguintechs.org said:

> I was just curious. Why is dspam running as the postgres user?
> Shouldn't it be running as the dspam user? I keep getting log
> messages about how it cannot read the config file, which is owned
> and readable by the dspam user.
> 
> root      1258     1  0 12:31 ?        00:00:00 /usr/bin/dspam --daemon
> postgres  1259  2667  0 12:31 ?        00:00:00 postgres: dspam libdspam7drvpgsql 127.0.0.1(2851) idle
> postgres  1260  2667  0 12:31 ?        00:00:01 postgres: dspam libdspam7drvpgsql 127.0.0.1(2852) idle
> postgres  1261  2667  0 12:31 ?        00:00:00 postgres: dspam libdspam7drvpgsql 127.0.0.1(2853) idle

You don't say what this listing is the output of.  Is it ps?  If so,
with what options?  It's always useful to show the precise command you
invoked when you are showing output.

This looks to me like you have a postgres database named "dspam", and
these are active database server processes handling connections made
to the database from ports 2851, 2852, and 2853.  your dspam daemon
process itself is the first line, which appears to be running as root.

hth,

	--dkg



More information about the Pkg-dspam-misc mailing list