Re: cygrunsrv --install --user : avoid having to enter the user's password

2019-05-22 Thread Andrey Repin
Greetings, Irfan Adilovic! > (All actions here assume an elevated mintty terminal) > I have the need to automate the installation of autossh as a windows > service (=> several dozen autossh services) and when installing as a > local user, the password prompt is an issue. This is not an issue,

Re: cygrunsrv --install --user : avoid having to enter the user's password

2019-05-22 Thread Irfan Adilovic
On Tue, 21 May 2019 at 04:20, Chris Wagner wrote: > > Hi Irfan, > > I'm assuming that there is some reason you don't want to use the > password option: > -w, --passwdOptional password for user. Only needed > if a user is given. If a user has an empty >

Re: cygrunsrv --install --user : avoid having to enter the user's password

2019-05-20 Thread Chris Wagner
Hi Irfan, I'm assuming that there is some reason you don't want to use the password option: -w, --passwdOptional password for user. Only needed if a user is given. If a user has an empty password, enter `-w '. If a user is given but

cygrunsrv --install --user : avoid having to enter the user's password

2019-05-19 Thread Irfan Adilovic
Hi, (All actions here assume an elevated mintty terminal) I have the need to automate the installation of autossh as a windows service (=> several dozen autossh services) and when installing as a local user, the password prompt is an issue. Is there a way to add windows services with cygrunsrv