- 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
Forums
Discussions
Discussions
Discussions
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
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-07-2008 11:44 PM
04-07-2008 11:44 PM
Pairdisplay: Execute permission denied.
We have CA-BC Concept here.we are running pairdisplay command from the root user and it's running fine but i want to run this pairdisplay command from other user.
Default Pairdisplay permission: r_xr__r__
we have changed pairdisplay permission:
r_x r__ r_x
[Permission checked from this path
/HORCM/usr/bin ]
but still unable to execute this command.
Please help me.
Regds
Bhavin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2008 09:05 PM
04-16-2008 09:05 PM
Re: Pairdisplay: Execute permission denied.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2008 06:59 AM
04-17-2008 06:59 AM
Re: Pairdisplay: Execute permission denied.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2008 08:09 AM
04-28-2008 08:09 AM
Re: Pairdisplay: Execute permission denied.
paridisplay permission will be:
$ ll /usr/bin/pairdisplay
lrwxrwxrwx 1 root sys 26 Nov 20 2006 /usr/bin/pairdisplay -> /HORCM/usr/bin/pairdisplay
$ ll /HORCM/usr/bin/pairdisplay
-r-xr--r-- 2 root sys 587239 Jun 14 2006 /HORCM/usr/bin/pairdisplay
please paste your command and the error.
Thanks & Regards
Aashique
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2008 10:56 PM
04-28-2008 10:56 PM
Re: Pairdisplay: Execute permission denied.
Thanks for an anticipation reply.
I am attached output & error with this msg.
Regards
Bhavin M.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2008 12:08 AM
04-29-2008 12:08 AM
Re: Pairdisplay: Execute permission denied.
Your error message not coming in the attachment.
the previous permission is ok. when you changed the permission i dont know it will work for other user.
I also used pairdisplay with different user.But same UID as root.That user will never get the shell.It will just do the operation only.
Thanks & Regards
Aashique
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2008 01:23 AM
04-29-2008 01:23 AM
Re: Pairdisplay: Execute permission denied.
Pls find the attached with this msgs.
Regards
Bhavin M.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2008 01:29 AM
04-29-2008 01:29 AM
Re: Pairdisplay: Execute permission denied.
This output you will not get from other user.i also tried like you but couldn't. then i create another user with same UID as root to do this.new created user will be not get any shell.his shell will be the script to do the BC operation.
Thanks & Regards
Aashique
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2008 01:45 AM
04-29-2008 01:45 AM
Re: Pairdisplay: Execute permission denied.
We have created one user with same UID as root and it's working fine with other user but i want that he can only and only run pairdisplay command not other commands like chmod, useradd (admin commands) etc..
Please help me.......
Regards
Bhavin M.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2008 01:50 AM
04-29-2008 01:50 AM
Re: Pairdisplay: Execute permission denied.
write a script that will display the "paridisplay" output then make this script as his shell.
like this:
bcop:xxx:0:3:BC Operation User:/home/bcop:/tmp/its/bcmenu-new.sh
Thanks & Regards
Aashique
- 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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2008 08:18 AM
04-30-2008 08:18 AM
Re: Pairdisplay: Execute permission denied.
I am going with the sudo application.
Thanks for help.
Regards
Bhavin M.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2008 08:32 AM
04-30-2008 08:32 AM
Re: Pairdisplay: Execute permission denied.
If our suggestions were helpful, please read the following about assigning points:
http://forums.itrc.hp.com/service/forums/helptips.do?#33
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2008 10:04 AM
11-20-2008 10:04 AM
Re: Pairdisplay: Execute permission denied.
bash-3.00$ sudo /HORCM/usr/bin/pairdisplay -g sqpr3
Password:
pairdisplay: [EX_ATTHOR] Can't be attached to HORC manager
Refer to the command log(/HORCM/log/horcc_sqprdbk2.log) for details.
Yet, it runs OK if I sudo to root first.
Its seems sudo doesnt work, because the pairdisplay also calls other system calls ?? making it fail?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2008 09:07 PM
11-22-2008 09:07 PM
Re: Pairdisplay: Execute permission denied.
Before run the paridisplay command you must export the HORCM value
export HORCC_MRCF=1
export HORCMINST=1
It HORCC_MRCF & HORCMINST value depends on your configuration.
Thanks