Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
From: Markus =?iso-8859-1?q?Sch=F6nhaber?= <mailing-cygwin@schoenhaber.de>
Reply-To: cygwin@cygwin.com
To: cygwin@cygwin.com
Subject: Re: How to grant user rights with cygwin
Date: Mon, 27 Jun 2005 08:12:22 +0200
User-Agent: KMail/1.8.1
References: <1f913513aea4ad3ed421ba20a6066dda@kreisbote.de>
In-Reply-To: <1f913513aea4ad3ed421ba20a6066dda@kreisbote.de>
MIME-Version: 1.0
Content-Type: text/plain;   charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200506270812.22507.mailing-cygwin@schoenhaber.de>
X-IsSubscribed: yes

Am Montag, 27. Juni 2005 08:06 schrieb Oliver Geisen:
> Hello,
>
> for some services to run under user security other than "SYSTEM" it is
> neccessary to give the
> user special windows rights. For now i only now some Windows-Tools
> (from ResourceKit, or Freeware)
> to do this. But, is there a "cygwin-way" for doing this ?!
>
> Example: I want to run "sshd" as user "daemon". This user had to have
> the rights:
>    - Increase quotas
>    - Replace process level token
>    - Logon as service

edightrights.exe from the editrights package should be the tool you can use.
Try
editrights -hv
for more info.

Regards
  mks

--
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/

