-
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
>
>
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
"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.
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
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