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  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  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  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: [EXTERNAL] Re: Read PV value Attributes XML
From: "Hartman, Steven via Tech-talk" <tech-talk at aps.anl.gov>
To: Douglas Araujo <douglas.araujo at lnls.br>
Cc: EPICS tech-talk <tech-talk at aps.anl.gov>
Date: Wed, 28 Oct 2020 20:38:48 +0000

> On Oct 28, 2020, at 4:13 PM, Douglas Araujo via Tech-talk <tech-talk at aps.anl.gov> wrote:
> 
> when I run as sudo the ours script to start the IOC (that uses procServer), it don't get the root environment variables. So, I configured the script to get the local user environment variables when call the script as sudo


Generally, you should not run the IOC with root privileges as that opens up potential security risks. More typically, a service account is created specifically to run the IOC with privileges appropriate for what the IOC needs to access. The system service responsible for starting the IOC can su to the IOC account, set appropriate env variables, and start the IOC via procServer or otherwise. 

-- 
Steven Hartman
hartmansm at ornl.gov




References:
Read PV value Attributes XML Douglas Araujo via Tech-talk
RE: Read PV value Attributes XML Mark Rivers via Tech-talk
Re: Read PV value Attributes XML Douglas Araujo via Tech-talk
Re: Read PV value Attributes XML Johnson, Andrew N. via Tech-talk
Re: Read PV value Attributes XML Douglas Araujo via Tech-talk

Navigate by Date:
Prev: Re: Read PV value Attributes XML Douglas Araujo via Tech-talk
Next: Re: EPICS IOC and its client application with ONLY IPv6 Jeong Han Lee via Tech-talk
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  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Read PV value Attributes XML Douglas Araujo via Tech-talk
Next: Reg multi monitor GUI in CSS Himanshu Tyagi via Tech-talk
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  <20202021  2022  2023  2024 
ANJ, 28 Oct 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·