- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: acsess to run the script
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-22-2010 10:51 PM
тАО03-22-2010 10:51 PM
acsess to run the script
I have one script which is owned by prod55 user. prod55 is a environment user. now I want to excute that script by any user but not giving the su to prod55 access to users. How can I achive this.
Regards,
Rkumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-22-2010 11:14 PM
тАО03-22-2010 11:14 PM
Re: acsess to run the script
# chmod a+rx
man chmod
rgs,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-22-2010 11:16 PM
тАО03-22-2010 11:16 PM
Re: acsess to run the script
man chmod
Perhaps:
chmod a+rx one_script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-22-2010 11:17 PM
тАО03-22-2010 11:17 PM
Re: acsess to run the script
#chmod 777 file-name.
This will give all permission to everyone. So any user can execute this .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-22-2010 11:20 PM
тАО03-22-2010 11:20 PM
Re: acsess to run the script
> So any user can execute this .
So everyone can damage it, too? Was this
part of the original request? (I must have
missed it.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-23-2010 12:25 AM
тАО03-23-2010 12:25 AM
Re: acsess to run the script
>I have one script which is owned by prod55 >user. prod55 is a environment user. now I >want to excute that script by any user
One observation about this:
The script have to be placed somewhere where "any" user can access it. Do not choose /tmp for this task. Also, only placing the script on prod55's home directory is not a solution.
Would be best if the root would place the script (as it is intended to be accessible by everyone) in some system wide path like /usr/local/bin. This implies some extra work from prod55 user (as in to deploy the script/application as a package - meaning that must take care of the functions/libraries etc...)
Best regards,
Horia.
Horia.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-23-2010 06:29 AM
тАО03-23-2010 06:29 AM
Re: acsess to run the script
> prod55's home directory is not a solution.
Because? Define "a solution".
I might not do it that way, but I don't see
why it wouldn't work.