delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/11/14/14:38:34

From: lka AT physic DOT ut DOT ee (Andres Heinloo)
Subject: Re: nt sshd probs
14 Nov 1998 14:38:34 -0800 :
Message-ID: <Pine.GSO.3.95q.981114193650.5541A-100000.cygnus.gnu-win32@rubiin.physic.ut.ee>
References: <364C6E27 DOT 3A982607 AT digisle DOT net>
Reply-To: Andres Heinloo <lka AT physic DOT ut DOT ee>
Mime-Version: 1.0
To: JJ Streicher-Bremer <jj AT digisle DOT net>
Cc: gnu-win32 AT cygnus DOT com

On Fri, 13 Nov 1998, JJ Streicher-Bremer wrote:

> I actually have sshd set up as a service and that runs quite well.  To
> make it easy for me to change the startup env I have the service start a
> batch file that in turn starts sshd. Here it is.
> 
> set CYGWIN=tty binmode title strip_title glob
> path = d:\apps\unix\usr\bin;d:\apps\usr\local\bin;d:\apps\usr\local\sbin
> del d:\apps\unix\var\run\utmp
> touch d:\apps\unix\var\run\utmp
> start d:\apps\unix\usr\local\sbin\sshd1.exe

I'm sorry for a stupid question, but how do you set up an NT service? 
Putting that stuff to autoexec.nt? Sergey Okhapkin writes in his homepage
that (at least inetd) service needs special account's rights ("Act as part
of operating system", "Replace a process level token" and "Increase
quotas") that "Administrator" account doesn't have. How can I set those
special rights? 


Andres.

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019