Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <001701c37d79$4406b170$a500000a@chrismob> From: "Chris Rodgers" To: References: <1063654188 DOT 1917 DOT 126 DOT camel AT localhost> <20030916101310 DOT GP9981 AT cygbert DOT vinschen DOT de> Subject: Re: Manipulating user privileges (was Re: SSHD, Cygwin and Windows 2003) Date: Thu, 18 Sep 2003 01:09:58 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 > 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 Chris Rodgers -- 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/