Обсуждение: Notes on W2000

Поиск
Список
Период
Сортировка

Notes on W2000

От
"Stasys Adiklis"
Дата:
As you've already figured out runas will not work with /noprofile (on
Windows 2000).  I guess you should update
http://www.hagander.net/pgsql/win32snap/. I've wasted half a day trying to
launch the damn server without this critical bit of info.

Note that runas window does not respond to Ctrl+C for some reason. The only
way i've managed to correctly launch/shutdown a server (why the heck have
have you named it "postmaster"?) only with runas /user:pgsql "pg_ctl start"
and runas /user:pgsql "pg_ctl stop". I guess this should be mentioned on
hagander.net/pgsql/win32snap too.

To kranas: runas /user:.\postgres is a bit superfluous as i've figured out.
runas /user:postgres should be enough.


eom


Re: Notes on W2000

От
"Gary Doades"
Дата:
On 19 Jul 2004 at 19:45, Stasys Adiklis wrote:

>
> As you've already figured out runas will not work with /noprofile (on
> Windows 2000).  I guess you should update
> http://www.hagander.net/pgsql/win32snap/. I've wasted half a day trying to
> launch the damn server without this critical bit of info.
>
> Note that runas window does not respond to Ctrl+C for some reason. The only
> way i've managed to correctly launch/shutdown a server (why the heck have
> have you named it "postmaster"?) only with runas /user:pgsql "pg_ctl start"
> and runas /user:pgsql "pg_ctl stop". I guess this should be mentioned on
> hagander.net/pgsql/win32snap too.

Ctrl+Break works OK to stop it.

Cheers,
Gary.