Red Hat Bugzilla – Bug 1013650
Unify use of restricted commands in service setup.
Last modified: 2014-08-14 11:18:34 EDT
Title: Configure JBoss EAP 6 as a Service in Red Hat Enterprise Linux (Zip, Installer)
Describe the issue:
During the whole procedure "Procedure 3.18. Setup the Service" of starting EAP as service we are logged in as user "user", who is using sudo to perform restricted commands:
- [user@host bin]$ sudo service jboss-as-standalone.sh start
But out-of-nowhere we are running last command as root:
- [root@host ~]# chkconfig jboss-as-standalone.sh on
Suggestions for improvement:
We should unify these commands to use only sudo, so the last command will look like:
- [user@host bin]$ sudo chkconfig jboss-as-standalone.sh on
Last command should use bold font type same as is used by other commands.
Best would be to use only:
sudo chkconfig jboss-as-standalone.sh on
as described in BZ1014557
Moving to ON_QA.
The changes should be available for review on the documentation stage within an hour or so from this comment.
Verified during EAP 6.3.0.DR1 testing cycle.