Re: last call for setting group with newgrp...
Jonathan Hogg <[email protected]> Mon, 10 Jun 2002 12:40:22 +0100
| Newsgroups | gmane.comp.sysutils.ark.devel |
|---|---|
| Organization | One Good Idea Ltd. |
| Message-ID | <B92A4EB6.C1BA%[email protected]> |
On 10/6/2002 12:08, Will Partain wrote:
> But we have found this newgrp thing to be subject to the
> whims of various shells. So I propose we do the ssh thing
> always, and do os.setgid('thegroup') to get to the group we
> want. Death to newgrp.
Hmmm. Sorry, do you mean that you'll re-invoke ARK on the remote side, a la
the current mechanism for remote Python code? So it'll do:
ssh remote /our/bin/ark thing --this-and-no-more method what
and then ARK will change group and invoke a local shell to do the
appropriate work?
Sounds like a sensible idea to me. Unless I've got it wrong in which case it
may be an even better idea ;-)
Jonathan
--
jonathan hogg, one good idea ltd, 131 queen margaret dr., glasgow g20 8pd
http://www.onegoodidea.com/ tel:+44-(0)7976-614338 fax:+44-(0)7970-537451