2 added 8 characters in body; edited tags
source | link

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 to start/stop app require root access?

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 service & chkconfig to start/stop app require root access?

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?

1
source | link

How to use service to start/stop app with non-root access?

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 service & chkconfig to start/stop app require root access?