[ILUG] UserA <--> UserB Interaction
Brian Foster
blf at utvinternet.ie
Mon Feb 4 07:36:51 GMT 2008
| Date: Fri, 1 Feb 2008 11:57:24 +0000
| From: "Gavin Beatty" <gavinbeatty at gmail.com>
|
| On Fri, 1 Feb 2008, Frank Murphy wrote:
| >[ ... ]
| > I want UserA (the normal user) to be able to access,
| > UserB (the testing user) desktop, menu-lauch programs
| > in X, files etc., without logging in and out.
|
| I use `sux'. In short, it's a wrapper around `su' that lets
| you use GUIs without hassle.
thanks for this tip! I've been using, for some years now,
a home-grown script to launch ‘boincmgr’ (SETI at Home et al.)
which tries to do, somewhat clumsily, what ‘sux’ does.
(my BOINC processing — deliberately — runs as its own
dedicated user. AFAIK, ‘boincmgr’ operates rather better
when also running as that dedicated user, leaving me the
problem of easily launching it.) my script works, but
I've never been completely happy with it (biggest issue
is, perhaps, I've never quite grokked xauth(1) .... ;-\ ).
a script based on ‘sux’ works better. I'll want to
modify ‘sux’ to use sudo(1) rather than su(1), and to
(have an option to) run the window in the background
(e.g., “sudo -u USER -b boincmgr ...”) — or perhaps
upgrade the version of ‘sux’ I have (2004/04/02 ?)? —
but that would seem to be fairly trivial.
again, thanks.
cheers!
-blf-
--
“How many surrealists does it take to | Brian Foster
change a lightbulb? Three. One calms | somewhere in south of France
the warthog, and two fill the bathtub | Stop E$$o (ExxonMobile)!
with brightly-coloured machine tools.” | http://www.stopesso.com
More information about the ILUG
mailing list