su postgres in logs

Keith Mastin kmastin-PzQIwG9Jn9VAFePFGvp55w at public.gmane.org
Mon Nov 3 22:17:39 UTC 2003


> I have the postgres server installed and not configured.
> One of many such messed up servers.
>
> I'm reading the auth logs and there is a
> su[239]: + console root-postgres line.
> Is this a normal system login from a cron job or something?
> It wasn't me doing this su command.
> I guess this info might be in the
> Postgres Administrator's guide but
> I can't get around to that for some time to come.
>
> There are several lines of  "session opened for user postgres" as well.
> Why is this? Can it just be the server starting up?
>
> I've disabled the postgres startup now anyway.

A lot of programs start as root and then run under the permissions of the
user running them. Nothing to worry about. This is actually a lot more
secure than programs that start as root and run as root.

-- 
Keith
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list