User ID in HP-UX (158 Views)
Reply
Occasional Contributor
efsladmin
Posts: 2
Registered: ‎03-30-2013
Message 1 of 2 (158 Views)

User ID in HP-UX

Hi Everyone,

 

I am using HP-UX 11.31.

 

I want to create a user id in hp-ux to start and stop the jboss server with appropriate permissions.

 

Kindly share the command to do the aboce.

 


Thanks & Regards,

 

R. Suriya Prakash

Honored Contributor
Matti_Kurkela
Posts: 6,271
Registered: ‎12-02-2001
Message 2 of 2 (121 Views)

Re: User ID in HP-UX

Normally a JBoss server runs in a port number higher than 1023, so it won't need any special permissions at all.

 

However, it is difficult to give an exact command without knowing the details of your set-up: for example, does the user need to be in some special group in order to read the JBoss binaries, or is the JBoss installation readable by all users in your system?

 

In general, first use the "useradd" command to create an user (add options if necessary to match the requirements of your set-up). See "man useradd" for more information.

 

Or alternatively use the web-based System Management Homepage to create an user.

 

Then, you can either leave the account in locked state, so only root (or users authorized with RBAC or sudo) can access it, or use the "passwd" command to assign a password for the jboss user account, so anyone who knows the password can log in as the jboss user.

MK
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.