Operating System - HP-UX
1753809 Members
8673 Online
108805 Solutions
New Discussion

Re: script need to execute by user without read access in HP-UX 11.31

 
billa07
Occasional Advisor

script need to execute by user without reading the contents of file in HP UX 11.31

Hi

 

I have an script that  user need  to execute without reading  the contents of file in HP ux 11.31.?

 

given the permission for the script to rwr-x--x,but when iam running in the user account its getting failed with the error  file not to be open .

 

how can i give the permission to  the script file..?

 

 

P.S> This thread has been moved from HP-UX > System Administration to HP-UX > languages - HP Forums Moderator

 

1 REPLY 1
Dennis Handly
Acclaimed Contributor

Re: script need to execute by user without read access in HP-UX 11.31

>given the permission for the script to rwr-x--x,

 

In order to execute a script, you must have read access.

You probably could set up sudo to execute the script (and only that one) but you would be that user.