1833323 Members
2911 Online
110051 Solutions
New Discussion

Re: User privilege

 
Ahmad Munawwar
Frequent Advisor

User privilege

Hello,

My application have a specific administrator user (xadm) that be able to do the application maintenance. Now, I wanted to create a normal user that would be able to execute one of the administrator command.

The reason is that I do not give a user the privilage to have the xadm authority except only for certain command.

How could I do that?

Regards,
Munawwar
5 REPLIES 5
G. Vrijhoeven
Honored Contributor

Re: User privilege

Hi,

I would install a tool like sudo.

Try:

http://hpux.connect.org.uk/hppd/hpux/Networking/Mail/fetchmail-6.2.3/


Gideon
Pete Randall
Outstanding Contributor

Re: User privilege

Munawwar,

One possibility might be to make the user part of the sam group as the owner of your xadm command.

The other possibility is to install sudo:

http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/sudo-1.6.7p5/


Pete

Pete
Ahmad Munawwar
Frequent Advisor

Re: User privilege

Hi,

Isn't that sudo only for root user?

br,
munawwar
Pete Randall
Outstanding Contributor

Re: User privilege

Munawwar,

Quoting from the man page:

"sudo allows a permitted user to execute a command as the superuser or another user, as specified in the sudoers file"


Pete

Pete
Ahmad Munawwar
Frequent Advisor

Re: User privilege

Hi,

Emm.. I will try that.

br,