1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 <2008> 2009 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 <2008> 2009 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 |
Dear Tech-talk,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.
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?
Hope it helps... Thomas