delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/01/19/08:54:17

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 AT byu DOT net>
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
MIME-Version: 1.0
To: Manel Rodero <manel AT fib DOT upc DOT edu>
CC: cygwin AT cygwin DOT com
Subject: Re: Wich privileges required by ssh-host-config running user?
References: <002d01c61ce1$04d93180$043a5393 AT fib DOT upc DOT es>
In-Reply-To: <002d01c61ce1$04d93180$043a5393@fib.upc.es>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

-----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 AT xxxx DOT 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 AT byu DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019