delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/07/16/13:07:38

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Andrew DeFaria <Andrew AT DeFaria DOT com>
Subject: Re: inetd help
Date: Sun, 16 Jul 2006 10:07:11 -0700
Lines: 28
Message-ID: <e9drnv$fup$1@sea.gmane.org>
References: <03D3B32F0D0D024791C1EE97D087E90907779E66 AT EXCH01 DOT purdue DOT lcl> <20060714140557 DOT GJ8759 AT calimero DOT vinschen DOT de> <loom DOT 20060716T183153-524 AT post DOT gmane DOT org>
Mime-Version: 1.0
User-Agent: Thunderbird 1.5.0.4 (Windows/20060516)
In-Reply-To: <loom.20060716T183153-524@post.gmane.org>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Robert McGraw wrote:
> Thanks Corinna and the gmane.os.cygwin group. I got my service running from the above help.
>
> I am not a window type guy and so have a few question on what I did:
>
> What make sshd_server account so special? I looked through the ssh-host-script where it creates the sshd_server. Is it the SID S-1-5-32-544, which I know nothing about. Or could any user in the administrator group do the same.
>
> If I wanted to create my own -u user, rather then the sshd_server user, what special settings would be required or is that I have a password set for this user which inetd uses?
>   
I think it's the following section:

            editrights -a SeAssignPrimaryTokenPrivilege -u sshd_server &&
            editrights -a SeCreateTokenPrivilege -u sshd_server &&
            editrights -a SeDenyInteractiveLogonRight -u sshd_server &&
            editrights -a SeDenyNetworkLogonRight -u sshd_server &&
            editrights -a SeDenyRemoteInteractiveLogonRight -u 
sshd_server &&
            editrights -a SeIncreaseQuotaPrivilege -u sshd_server &&
            editrights -a SeServiceLogonRight -u sshd_server &&
            sshd_server_got_all_rights="yes"

which bestows the necessary rights to the sshd_server user.

-- 

Andrew DeFaria <http://defaria.com>
I think there is a world market for maybe five computers. - Thomas J. 
Watson, chairman of IBM, 1943


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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