delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/09/16/08:41:20

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Date: Tue, 16 Sep 2003 14:40:45 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Manipulating user privileges (was Re: SSHD, Cygwin and Windows 2003)
Message-ID: <20030916124045.GQ9981@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <1063654188 DOT 1917 DOT 126 DOT camel AT localhost> <20030916101310 DOT GP9981 AT cygbert DOT vinschen DOT de> <3F66EC0E DOT 1EB2422B AT dessent DOT net>
Mime-Version: 1.0
In-Reply-To: <3F66EC0E.1EB2422B@dessent.net>
User-Agent: Mutt/1.4.1i

On Tue, Sep 16, 2003 at 03:55:10AM -0700, Brian Dessent wrote:
> Corinna Vinschen wrote:
> >   Does anybody know a way how to do this on the
> > command line which would allow ssh-host-config to do the above more or
> > less automagically?  If such a command line tool doesn't exist as part
> > of NT/2K/XP/03, would anybody be willing to create a simple command line
> > tool for inclusion in Cygwin?  It would be sufficient if that tool could
> > manipulate the above user privileges of an already existing user account.
> 
> The Resource Kit from MS contains the tool "Ntrights.exe" which looks
> like it can do this:
> [...]
> As far as inclusion with Cygwin, I have no idea if that would be legit or
> not.

A cygwin tool should be available in source and buildable with gcc so
just shipping ntrights.exe with Cygwin is a no-no.

The problem with using ntrights.exe is the fact, that it's not part of
the OS.  Therefore scripts like ssh-host-config or postinstall scripts
can't rely on it's existance.  So, I guess we will have to have some
self-written tool to do basically the same as ntrights.exe

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

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