Re: Manipulating user privileges (was Re: SSHD, Cygwin and Windows 2003)

2003-09-23 Thread Chris Rodgers
> On Tue, Sep 23, 2003 at 09:24:45AM -0400, Igor Pechtchanski wrote: > > Also error codes on failure, and the ability to check whether a user has > > certain rights (without using grep). If we decide to adopt it as a > > package, could we have a CVS repository for it under cygwin-apps (like for >

RE: Manipulating user privileges (was Re: SSHD, Cygwin and Windows 2003)

2003-09-23 Thread Hannu E K Nevalainen \(garbage mail\)
> From: Igor Pechtchanski > > Setting up a CVS repository would be simple. > > > > Corinna > > Umm, yes, this was mostly a (disguised, I guess) question for Chris on > whether he wants to tie his program to Cygwin or release it independently. > Igor Hmm... WAG: Chris is feeling the pressur

Re: Manipulating user privileges (was Re: SSHD, Cygwin and Windows 2003)

2003-09-23 Thread Igor Pechtchanski
On Tue, 23 Sep 2003, Corinna Vinschen wrote: > On Tue, Sep 23, 2003 at 09:24:45AM -0400, Igor Pechtchanski wrote: > > Also error codes on failure, and the ability to check whether a user has > > certain rights (without using grep). If we decide to adopt it as a > > package, could we have a CVS re

Re: Manipulating user privileges (was Re: SSHD, Cygwin and Windows 2003)

2003-09-23 Thread Corinna Vinschen
On Tue, Sep 23, 2003 at 09:24:45AM -0400, Igor Pechtchanski wrote: > Also error codes on failure, and the ability to check whether a user has > certain rights (without using grep). If we decide to adopt it as a > package, could we have a CVS repository for it under cygwin-apps (like for > cygrunsr

Re: Manipulating user privileges (was Re: SSHD, Cygwin and Windows 2003)

2003-09-23 Thread Igor Pechtchanski
On Tue, 23 Sep 2003, Corinna Vinschen wrote: > On Mon, Sep 22, 2003 at 09:43:45PM +0100, Chris Rodgers wrote: > > OK. I've had a crack at this. The packages can be found at: > > http://rodgers.org.uk/editrights/ > > and are released under a BSD-style licence. > > Would you mind to send an ITP mess

Re: Manipulating user privileges (was Re: SSHD, Cygwin and Windows 2003)

2003-09-23 Thread Corinna Vinschen
On Mon, Sep 22, 2003 at 09:43:45PM +0100, Chris Rodgers wrote: > OK. I've had a crack at this. The packages can be found at: > http://rodgers.org.uk/editrights/ > and are released under a BSD-style licence. Would you mind to send an ITP message to [EMAIL PROTECTED] as described under http://cygwin

Re: Manipulating user privileges (was Re: SSHD, Cygwin and Windows 2003)

2003-09-22 Thread Chris Rodgers
> 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 ... > Even

Re: SSHD, Cygwin and Windows 2003 : continued with user rights

2003-09-18 Thread Karl M
PROTECTED]> Subject: Re: SSHD, Cygwin and Windows 2003 : continued with user rights Date: Thu, 18 Sep 2003 01:22:48 +0200 Larry Hall wrote: Hm, I thought I was clear. Let me try again addressing iisreset specifically. iisreset doesn't work in the scenario you described because it's a Micr

Re: SSHD, Cygwin and Windows 2003 : continued with user rights

2003-09-18 Thread Olivier ALLART
Thanks for the tip. I decided to get rid of this stupid iisreset and use instead a command like net start/stop msftpsc/w3svc works fine whith whatever administrator Olivier Hannu E K Nevalainen (garbage mail) wrote: From: Olivier ALLART Next I guess I'll go look for some tip on how to un

RE: SSHD, Cygwin and Windows 2003 : continued with user rights

2003-09-18 Thread Hannu E K Nevalainen \(garbage mail\)
> From: Olivier ALLART > Next I guess I'll go look for some tip on how to unlock iisreset so it > can be used by whatever admin and not just local .. Sorry to jump in! Just an idea; How about runas, is it available in W2K+3? (I'm on W2K) /Hannu E K Nevalainen, B.Sc. EE - 59?16.37'N, 17?12.60'E

Re: Manipulating user privileges (was Re: SSHD, Cygwin and Windows 2003)

2003-09-18 Thread Corinna Vinschen
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 o

Re: Manipulating user privileges (was Re: SSHD, Cygwin and Windows 2003)

2003-09-17 Thread Chris Rodgers
> 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 > comm

Re: SSHD, Cygwin and Windows 2003 : continued with user rights

2003-09-17 Thread Olivier ALLART
Larry Hall wrote: Hm, I thought I was clear. Let me try again addressing iisreset specifically. iisreset doesn't work in the scenario you described because it's a Microsoft tool which knows nothing of the Cygwin environment. Cygwin's ssh using pubkey authentication doesn't authenticate the user

Re: SSHD, Cygwin and Windows 2003 : continued with user rights

2003-09-17 Thread Larry Hall
Hm, I thought I was clear. Let me try again addressing iisreset specifically. iisreset doesn't work in the scenario you described because it's a Microsoft tool which knows nothing of the Cygwin environment. Cygwin's ssh using pubkey authentication doesn't authenticate the user with Windows. S

Re: SSHD, Cygwin and Windows 2003 : continued with user rights

2003-09-17 Thread Olivier ALLART
Thank you for the details, but then, why *some commands* work and not others ? And more specifically, how can I make *this command* work ? Larry Hall wrote: I think you missed the fact that pubkey authentication does impersonation, not Windows-style authentication. So Windows apps won't recogni

Re: SSHD, Cygwin and Windows 2003 : continued with user rights

2003-09-17 Thread Larry Hall
At 12:40 PM 9/17/2003, Olivier ALLART you wrote: >Following Mark J de Jong 's step by step howto (see end of mail for some add-ons), I >can now effectively log in with pkey method (that is, no password) using the >'administrator' user name. >'whoami' returns 'administrator', however asking for a

SSHD, Cygwin and Windows 2003 : continued with user rights

2003-09-17 Thread Olivier ALLART
Following Mark J de Jong 's step by step howto (see end of mail for some add-ons), I can now effectively log in with pkey method (that is, no password) using the 'administrator' user name. 'whoami' returns 'administrator', however asking for a command such as IISRESET returns the error 'you are

Re: Manipulating user privileges (was Re: SSHD, Cygwin and Windows 2003)

2003-09-16 Thread Corinna Vinschen
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 N

Re: Manipulating user privileges (was Re: SSHD, Cygwin and Windows 2003)

2003-09-16 Thread Brian Dessent
Corinna Vinschen 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

Manipulating user privileges (was Re: SSHD, Cygwin and Windows 2003)

2003-09-16 Thread Corinna Vinschen
On Mon, Sep 15, 2003 at 03:29:48PM -0400, Mark J de Jong wrote: > Hello, > I've looked and couldn't find decent docs on this so for those of you > who are lookin', this is a quick howto on how to setup the > Cygwin/OpenSSH daemon on M$ Windows 2003. This will fix the passwordless > (ssh key) login

SSHD, Cygwin and Windows 2003

2003-09-15 Thread Mark J de Jong
Hello, I've looked and couldn't find decent docs on this so for those of you who are lookin', this is a quick howto on how to setup the Cygwin/OpenSSH daemon on M$ Windows 2003. This will fix the passwordless (ssh key) login issue. 1. Install Cygwin with the openssh binaries 2. After completin