This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Wich privileges required by ssh-host-config running user?
- From: Eric Blake <ebb9 at byu dot net>
- To: Manel Rodero <manel at fib dot upc dot edu>
- Cc: cygwin at cygwin dot com
- Date: Thu, 19 Jan 2006 06:54:04 -0700
- Subject: Re: Wich privileges required by ssh-host-config running user?
- References: <002d01c61ce1$04d93180$043a5393@fib.upc.es>
-----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/