Bug 1013650

Summary: Unify use of restricted commands in service setup.
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Petr Kremensky <pkremens>
Component: DocumentationAssignee: Misha H. Ali <mhusnain>
Status: CLOSED CURRENTRELEASE QA Contact: Russell Dickenson <rdickens>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: nziakova, smumford
Target Milestone: GAKeywords: Documentation, EasyFix, Triaged
Target Release: EAP 6.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Build Name: 14873, Installation Guide-6.2-1 Build Date: 18-09-2013 14:19:43 Topic ID: 3758-493935 [Latest]
Last Closed: 2014-06-28 15:26:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Petr Kremensky 2013-09-30 14:07:39 UTC
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

Additional information:
Last command should use bold font type same as is used by other commands.

Comment 1 Petr Kremensky 2013-10-02 10:54:35 UTC
Best would be to use only:
sudo chkconfig jboss-as-standalone.sh on
as described in BZ1014557

Comment 3 Scott Mumford 2014-02-26 05:14:55 UTC
Moving to ON_QA.

The changes should be available for review on the documentation stage within an hour or so from this comment.

http://documentation-devel.engineering.redhat.com/site/documentation/en-US/JBoss_Enterprise_Application_Platform/

Comment 4 Scott Mumford 2014-02-26 05:16:17 UTC
Moving to ON_QA.

The changes should be available for review on the documentation stage within an hour or so from this comment.

http://documentation-devel.engineering.redhat.com/site/documentation/en-US/JBoss_Enterprise_Application_Platform/

Comment 5 Petr Kremensky 2014-02-26 08:04:05 UTC
Verified during EAP 6.3.0.DR1 testing cycle.