RHEL 7.5
Currently installed an application as root in /app
. As part of administration, application will start/stop using /sbin/chkconfig
& /sbin/service
utilities
All the application binaries and their dependents are currently owned by root(uid/gid).
In our environment, root access(sudo) is provided for fours weeks only, on fresh production machine. We need to avoid relying on root access.
So, for future access to this application, we would like create appuser
a non-root user
appuser:x:1983:1983:appuser:/home/appuser:/bin/bash
and chown
/chgrp
application directory structure to appuser
As appuser
, Does it require root access to start/stop app using service
& chkconfig
?