pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
su permission denied
2+ messages / 2 participants
[nested] [flat]

* su permission denied
@ 2005-07-20 11:25 $BNB_[>l(B <pc.leung@gmail.com>
  2005-07-20 11:37 ` Re: su permission denied Pascual De Ruvo <deruvo@gmail.com>
  0 siblings, 1 reply; 2+ messages in thread

From: $BNB_[>l(B @ 2005-07-20 11:25 UTC (permalink / raw)
  To: pgsql-admin

I think many people use postgresql on Linux.
How do you start up postgresql when the machine boots.

I do this "su - postgresql -c "
It is okay on the command line.
If being put on /etc/rc.d/init.d,
it reports "su: permission denied"

How do you overcome this?

Thanks



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

* Re: su permission denied
  2005-07-20 11:25 su permission denied $BNB_[>l(B <pc.leung@gmail.com>
@ 2005-07-20 11:37 ` Pascual De Ruvo <deruvo@gmail.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Pascual De Ruvo @ 2005-07-20 11:37 UTC (permalink / raw)
  To: $BNB_[>l(B <pc.leung@gmail.com>; +Cc: pgsql-admin

On 7/20/05, $BNB_[>l(B <pc.leung@gmail.com> wrote:
> 
> I think many people use postgresql on Linux.


What versions of PostgreSQL and Linux are you running? 

How do you start up postgresql when the machine boots.
> 
> I do this "su - postgresql -c "


Usually only the root user can start / stop services.
Try just doing "su"

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


end of thread, other threads:[~2005-07-20 11:37 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-07-20 11:25 su permission denied $BNB_[>l(B <pc.leung@gmail.com>
2005-07-20 11:37 ` Pascual De Ruvo <deruvo@gmail.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox