Re: the tcsh login-shell problem -- ideas?
Jonathan Hogg <[email protected]> Tue, 28 May 2002 09:51:44 +0100
| Newsgroups | gmane.comp.sysutils.ark.devel |
|---|---|
| Organization | One Good Idea Ltd. |
| Message-ID | <B91903B0.B547%[email protected]> |
On 28/5/2002 8:59, Matt Holgate wrote:
> (echo "/bin/sh"; echo "groups") | ssh frodo newgrp users
Presumably you'd need something like:
(echo "/bin/sh"; echo "exit \$?") | ssh frodo newgrp users
In order to get back the exit code.
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
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm