delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/09/18/03:53: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: Thu, 18 Sep 2003 09:52:50 +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: <20030918075250.GR9981@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> <001701c37d79$4406b170$a500000a AT chrismob>
Mime-Version: 1.0
In-Reply-To: <001701c37d79$4406b170$a500000a@chrismob>
User-Agent: Mutt/1.4.1i

On Thu, Sep 18, 2003 at 01:09:58AM +0100, Chris Rodgers wrote:
> > Btw., the ssh-host-config already creates the sshd account, that's easy
> > from the command line.  But creating a useful sshdproc account as above
> > requires to be able to set user privileges like the famous "Create a
> > token object" privilege.  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.
> >
> > Anybody?
> 
> Me.
> 
> I have knocked up a small tool to add/remove/list user rights from the
> command line. How do I go about contributing this?
> 
> The current (unpolished) version is at http://rodgers.org.uk/EditRights.zip

Cool!  How you can contribute it depends on the licensing and how much
work you are willing to invest.  Do you want to put it under some GPL or
BSD license?  Or do you want to keep everything together as it is? 
Then create a package as described under http://cygwin.com/setup.html

The somewhat difficult way would be to put editrights into the Cygwin
package itself.  It requires editrights to be buildable as part of the
Cygwin utils subdirectory (you would have to change your tool a bit...)
and especially it requires editrights to be put under the Cygwin license
and you would have to assign the copyright to Red Hat.  See
http://cygwin.com/contrib.html.

Even though I'd love to see it as a Cygwn tool, I guess the first option
is the easier one.  In that case it should become a package in the 'Base'
category.

Oh, is there a chance to get also a -l option to list existing rights
for a user?!?


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