X-Spam-Check-By: sourceware.org
Message-ID: <43CF99FC.9030609@byu.net>
Date: Thu, 19 Jan 2006 06:54:04 -0700
From: Eric Blake <ebb9@byu.net>
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
MIME-Version: 1.0
To: Manel Rodero <manel@fib.upc.edu>
CC: cygwin@cygwin.com
Subject: Re: Wich privileges required by ssh-host-config running user?
References: <002d01c61ce1$04d93180$043a5393@fib.upc.es>
In-Reply-To: <002d01c61ce1$04d93180$043a5393@fib.upc.es>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ugh - http://cygwin.com/acronyms/#TOFU - reformatted.


According to Manel Rodero on 1/19/2006 3:13 AM:
>>-----Original Message-----
>>From: cygwin-owner@xxxx.xxx
                    ^^^^^^^^^

Ugh - http://cygwin.com/acronyms/#PCYMTNQREAIYR

>>>Why? Because its primary group is "mkgroup-l-d". So I need
>>
>>to change this
>>
>>>first by running "mkpasswd -l" and "mkgroup -l". In this manner this
>>>domain account can create /home/pkuser and then create here a .ssh
>>>directory with the authorized_keys I need to implement public key
>>>authentication.

> Now I need to split the unattended script in two parts: a) first recreate
> the passwd/group files and b) exit the shell, execute again cygwin so the
> Admin have the correct passwd/group (CYGWIN DOESN'T HAVE THE NEWGRP COMMAND)
> and execute 'ssh-host-config'.

I've brought this up before, and the reply was
http://cygwin.com/acronyms/#PTC.  Does anyone know where source code for a
Linux version of newgrp is located?  I'm already looking at making su
work, and that alters the current gid, maybe I can throw together a newgrp
implementation for cygwin if I have an example to look at.

- --
Life is short - so eat dessert first!

Eric Blake             ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDz5nh84KuGfSFAYARAvy/AJ4pNnT7gwfy9KBrFrY40iyzfaNLXQCbBgoJ
EKZnkD1qk1egUYBSsm3IgMI=
=fq74
-----END PGP SIGNATURE-----

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

