This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Wich privileges required by ssh-host-config running user?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]