- Community Home
- >
- Storage
- >
- Entry Storage Systems
- >
- Disk Enclosures
- >
- Re: Pairdisplay: Execute permission denied.
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
тАО04-29-2008 01:54 AM
тАО04-29-2008 01:54 AM
Re: Pairdisplay: Execute permission denied.
If the user only want to see the pairdisplay output and if this frequent then put this in root cron, save output to one file. And a normal user create, he will be just read the file.For this purpose no need to create the user as same UID as root.
Thanks & Regards
Aashique
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2008 02:51 AM
тАО04-29-2008 02:51 AM
Re: Pairdisplay: Execute permission denied.
I have created one script as name of paird.sh same way I have changed his shell in /etc/passwd like followings:
cms:*:0:20::/home/cms:/tmp/paird
but we are not getting any prompt as paird is not running in backend.
Regards
Bhavin M.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2008 04:20 AM
тАО04-29-2008 04:20 AM
Re: Pairdisplay: Execute permission denied.
at first check that the user cms can run the script or not.
cms:*:0:20::/home/cms:/usr/bin/ksh
then run the script.the UID same as root so the script must be executed and output will come.
if ok then change the passwd.
cms:*:0:20::/home/cms:/tmp/paird.sh
Thanks & Regards
Aashique
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2008 04:28 AM
тАО04-29-2008 04:28 AM
Re: Pairdisplay: Execute permission denied.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2008 07:15 AM
тАО04-29-2008 07:15 AM
Re: Pairdisplay: Execute permission denied.
Please must read the attahcement with this msgs.
Regards
Bhavin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2008 08:42 AM
тАО04-29-2008 08:42 AM
Re: Pairdisplay: Execute permission denied.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2008 08:45 AM
тАО04-29-2008 08:45 AM
Re: Pairdisplay: Execute permission denied.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2008 08:56 AM
тАО04-29-2008 08:56 AM
Re: Pairdisplay: Execute permission denied.
Is there any way to solve the problem without sudo application load into the server?
Thanks in advance...
Regards
Bhavin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2008 09:12 AM
тАО04-29-2008 09:12 AM
Re: Pairdisplay: Execute permission denied.
I do not recommend this but since pairdisplay is a script and you can not set a script to SUID-root, you have to look inside the pairdisplay script and find all the statements that run binary commands. Then you have to change all these binary commands to SUID-root. There may be a lot of binaries in the pairdisplay script and some of them may be from the LVM commands.
Again I do not recommend this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2008 09:46 AM
тАО04-29-2008 09:46 AM
Re: Pairdisplay: Execute permission denied.
at first check that the user cms can run the script or not.
cms:*:0:20::/home/cms:/sbin/sh
then run the script.
If its fullfill your output then change the /sbin/sh to /tmp/paired
make the script as menu base. like 1 for pairdisplay 2 for pairsync 3 for pairsplit 4 for exit.
Thanks & Regards
Aashique