Jan, It did works fine! Thanks ... Camillo
-----Urspr�ngliche Nachricht----- Von: Jan Dubois [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 26. Februar 2003 00:58 An: Giarrocco, Camillo Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Betreff: Re: perlsvc: -install auto with user and password not LocalSystem On Tue, 25 Feb 2003 11:01:43 +0100, "Giarrocco, Camillo" <[EMAIL PROTECTED]> wrote: >Could somebody tell me how can I tell my service to automatically start >with user and password which are not "LocalSystem" also when the OS >(win2000) reboots? I'm installing my service like this: > >Perl_srv -install auto <user> <password> > >Perl_srv failed to start. > >But I'm able to manually start the service if I do enter the user and >the password of the remote domain account from the windows Computer >Management tool. You need to set the username and password in your Install() routine: sub Install { # ... commandline option parsing $Config{UserName} = $user; $Config{Password} = $pass; } Cheers, -Jan This communication is confidential and may be legally privileged. If you are not the intended recipient, (i) please do not read or disclose to others, (ii) please notify the sender by reply mail, and (iii) please delete this communication from your system. Failure to follow this process may be unlawful. Thank you for your cooperation. _______________________________________________ Perl-Win32-Admin mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
