| Author |
Message |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 19 Nov 2009 06:55:37
|
Laszlo_Szilagyi
Member
Joined: 19 Nov 2009 06:24:02
Messages: 10
Offline
|
Hello,
Our apps many times are used on notebooks as a desktop application, synchronized periodically with servers. Installing en extra account is disturbing for the user, running the engine under an administrator account is all fine. Is there a way to avoid the creation of the postgres user account and use the current account instead?
|
|
|
 |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 19 Nov 2009 07:13:40
|
Sachin_S
Senior member
Joined: 1 Aug 2008 02:37:24
Messages: 445
Offline
|
Hello,
Use, --serviceaccount CLI option while installing, here you can give existing users also.
However, using an user with administrative privileges is strongly not-recommended.
|
--
Regards,
Sachin Srivastava
EnterpriseDB , the Enterprise Postgres company.
|
|
|
 |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 19 Nov 2009 07:25:06
|
Laszlo_Szilagyi
Member
Joined: 19 Nov 2009 06:24:02
Messages: 10
Offline
|
Thank You!
|
|
|
 |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 25 Feb 2010 04:44:21
|
Tim_Stone
New member
Joined: 25 Feb 2010 04:40:51
Messages: 2
Offline
|
Hi, can you please give me advice on how to run the postgres service using a local system account? I can't run this product by creating a new user and there will be multiple users using the same computer.
What is the command --serviceaccount CLI designed to do? in my tests all it does is create a user called CLI and try to run the service using that users account.
|
|
|
 |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 25 Feb 2010 12:42:51
|
Sachin_S
Senior member
Joined: 1 Aug 2008 02:37:24
Messages: 445
Offline
|
Hello,
CLI option stands for Command Line options. So what i actually meant by it is:
--serviceaccount <what ever username you want to give here>, e.g.
--serviceaccount abc, will create a user 'abc' if not present or use the same if present..
To make the service run under 'Local System' account, go to the Service Control Manager and change the log-on properties of the service.
Hope it helps..
|
--
Regards,
Sachin Srivastava
EnterpriseDB , the Enterprise Postgres company.
|
|
|
 |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 26 Feb 2010 07:05:55
|
Tim_Stone
New member
Joined: 25 Feb 2010 04:40:51
Messages: 2
Offline
|
Thanks for the reply, I was really hoping for a command line option that would enable me to run the service as Local system, I don't want to do this manually this needs to be deployed to many sites. Is that possible? surely there must be a method to deploy Postgres without an account being created?
|
|
|
 |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 8 Mar 2010 21:40:24
|
scottiebo
Senior member
![[Avatar]](/images/avatar/2d0122e6c17cdb89f8eed4d75b5f5eef.png)
Joined: 23 Oct 2005 21:05:02
Messages: 197
Offline
|
surely there must be a method to deploy Postgres without an account being created?
Due to the architecture of postgres, there is not a way to do this from the installer. You could however script the action. Using something like sc.exe (http://support.microsoft.com/kb/251192)
|
--Scottie |
|
|
 |
|
|