EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: MEDM's Shell Command + su
From: Thomas Birke <[email protected]>
To: "Bertrand H.J. Biritz" <[email protected]>
Cc: [email protected]
Date: Thu, 05 Jun 2008 09:25:42 +0200
Bertrand H.J. Biritz wrote:
Dear Tech-talk,

I am trying to implement the following:

using the MEDM's Shell Command object I would like to "su" into another account and launch a MEDM screen from there.

The idea is to have a regular detector operator not be able to change the demand voltage/current. Instead they need to click on the "configuration" button which will bring up the terminal window and ask them for the password.

Right now, when I use "su" it has me enter the password in clear text (i.e. it echo's it) and then fails.

Any thoughts on how to implement this? Should I use a shell script and call that from MEDM?
I don't know about your environment, but on a Linux-machine with KDE installed there's always 'kdesu' which is a graphical password-promt and uses either 'sudo' or 'su' (configurable) to exec a command with another uid. I suppose, there's something like that in gnome as well - but frankly, I don't know.

Hope it helps...
Thomas

References:
MEDM's Shell Command + su Bertrand H.J. Biritz

Navigate by Date:
Prev: IRMIS Extensions / Tools Dalesio, Leo
Next: procServ soft IOC server - V2.3.0 released Ralph Lange
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: MEDM's Shell Command + su Bertrand H.J. Biritz
Next: IRMIS Extensions / Tools Dalesio, Leo
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·