Operating System - HP-UX
1834635 Members
3513 Online
110069 Solutions
New Discussion

How execute file (700) with another user

 
SOLVED
Go to solution
Leo The Cat
Regular Advisor

How execute file (700) with another user

Hi

I've
-rwxr-x--- 1 oracle oinstall 23308 Jun 14 15:05 opmnctl

in the directory /logiciel/app/oracle/oas10g/opmn/bin


Problem is that opmn directory is 700

How to do for run the opmnctl without changing opmn directory attributes ?

Regards
Den



4 REPLIES 4
Ivan Krastev
Honored Contributor
Solution

Re: How execute file (700) with another user

Use sudo and configure user to run this command.

regards,
ivan
Dennis Handly
Acclaimed Contributor

Re: How execute file (700) with another user

Does adding an ACL count as changing the attributes? ;-)
Prasanth Vattoly
Frequent Advisor

Re: How execute file (700) with another user

you can set acl for the file and can allow the user to have excecute permission

eg:- # setacl -m user:user-name:rwx
prasanth.v.a
Leo The Cat
Regular Advisor

Re: How execute file (700) with another user

sudo close my problem :)
Regards
Den