public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Manipulating user privileges (was Re: SSHD, Cygwin and Windows 2003)
Date: Thu, 18 Sep 2003 07:57:00 -0000	[thread overview]
Message-ID: <20030918075250.GR9981@cygbert.vinschen.de> (raw)
In-Reply-To: <001701c37d79$4406b170$a500000a@chrismob>

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@cygwin.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/

  reply	other threads:[~2003-09-18  7:52 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-15 19:30 SSHD, Cygwin and Windows 2003 Mark J de Jong
2003-09-16 10:26 ` Manipulating user privileges (was Re: SSHD, Cygwin and Windows 2003) Corinna Vinschen
2003-09-16 11:38   ` Brian Dessent
2003-09-16 12:57     ` Corinna Vinschen
2003-09-18  0:19   ` Chris Rodgers
2003-09-18  7:57     ` Corinna Vinschen [this message]
2003-09-22 21:10       ` Chris Rodgers
2003-09-23  8:41         ` Corinna Vinschen
2003-09-23 13:26           ` Igor Pechtchanski
2003-09-23 14:14             ` Corinna Vinschen
2003-09-23 14:22               ` Igor Pechtchanski
2003-09-23 18:42                 ` Hannu E K Nevalainen (garbage mail)
2003-09-23 18:56               ` Chris Rodgers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030918075250.GR9981@cygbert.vinschen.de \
    --to=corinna-cygwin@cygwin.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).