Link to home
Start Free TrialLog in
Avatar of TIMFOX123
TIMFOX123Flag for United States of America

asked on

How do I run apps as a non-root user in redhat 6/7 ?

in the past I just let the install rpm set up an non root userid for an application.  
Where I am now we download source need to run it as non-root user without the RPM package taking care of this for me.
This is for newer versions of Redhat !

Does the rpm su to the user, runuser user another way of running an app ( apache, tomcat etc ) as a non-root user?

Avatar of Nick Upson
Nick Upson
Flag of United Kingdom of Great Britain and Northern Ireland image

you need to "su" to root or equivalent like sudo and then install / run as root

the rpm cannot su as there are too many different ways to validate
Can you elaborate more on requirement? Can you give example?
Avatar of arnold
Flag of United States of America image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial