FW: [ADMIN] Ubuntu: Start and Stop

2006-03-31 Thread Andy Shellam
- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joshua D. Drake Sent: Friday, 31 March, 2006 5:32 pm To: Tom Lane Cc: Sidar López Cruz; pgsql-admin@postgresql.org Subject: Re: [ADMIN] Ubuntu: Start and Stop > > sudo /sbin/service postgresql stop/start > >

Re: [ADMIN] Ubuntu: Start and Stop

2006-03-31 Thread Joshua D. Drake
sudo /sbin/service postgresql stop/start You will need to add your own userid to the sudoers list if it's not already there. Just for reference, Ubuntu automatically adds the first user created to the sudoers file and actually disables the ability to "log in" as root. Sincerely, Jos

Re: [ADMIN] Ubuntu: Start and Stop

2006-03-31 Thread Tom Lane
"Joshua D. Drake" <[EMAIL PROTECTED]> writes: > sudo su - > /etc/init.d/postgresql (or /etc/init.d/postgresql8) stop/start Or easier, just sudo /sbin/service postgresql stop/start You will need to add your own userid to the sudoers list if it's not already there.

Re: [ADMIN] Ubuntu: Start and Stop

2006-03-31 Thread Joshua D. Drake
Sidar López Cruz wrote: How to start and stop automatically PostgreSQL over Ubuntu when postgres user have password. I'd try with su - postgres but this fails because it request me the password You would be better served to use #ubuntu on chat.us.freenode.net. However in answer to your quest

[ADMIN] Ubuntu: Start and Stop

2006-03-31 Thread Sidar López Cruz
How to start and stop automatically PostgreSQL over Ubuntu when postgres user have password. I'd try with su - postgres but this fails because it request me the password Please help _ Charla con tus amigos en línea mediante MS