Re: Fake sudo?

2008-11-26 Thread Gary C Martin
1; command2"' > since that provides the needed tty but i'm sure (or, rather, i > hope) there's a better way. Thanks, I think :-) Seeing you had a possible (but unpleasant) solution kept me digging... and it would seem to be embarrassingly obvious once you know. Diggi

Re: Fake sudo?

2008-11-26 Thread pgf
gary c martin wrote: > > "standard in must be a tty" > > After much poking I discovered sudo on the XO was a custom script > using su (su does not allow non ttys to become privileged, only the > real sudo). > > Just curious as to the need for this change, though any hints to a

Fake sudo?

2008-11-26 Thread Gary C Martin
Hi list, Noticed last night that the XO distro has a custom python script (from Scott) as a fake replacement to sudo. I was trying to script some remote privileged operations over ssh (it's a QA script to help work with testbeds of XO), but what tested fine on a debian distro kept erroring