Disk Enclosures
1748289 Members
2999 Online
108761 Solutions
New Discussion юеВ

Re: Pairdisplay: Execute permission denied.

 

Pairdisplay: Execute permission denied.

Hi Team,

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
23 REPLIES 23
pairdisplay
Occasional Advisor

Re: Pairdisplay: Execute permission denied.

Can anyone please advice?
Amar_Joshi
Honored Contributor

Re: Pairdisplay: Execute permission denied.

All the PAIRxxxxxxx commands depend upon other executables (like raidscan, raidqry etc). If you can change the permission for all the files and try it should work, otherwise you should re-install the RM application with root login itself.
Aashique
Honored Contributor

Re: Pairdisplay: Execute permission denied.

Hi,
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
pairdisplay
Occasional Advisor

Re: Pairdisplay: Execute permission denied.

Hi Aashique,

Thanks for an anticipation reply.

I am attached output & error with this msg.

Regards
Bhavin M.
Aashique
Honored Contributor

Re: Pairdisplay: Execute permission denied.

Hi,
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
pairdisplay
Occasional Advisor

Re: Pairdisplay: Execute permission denied.

Hi,

Pls find the attached with this msgs.

Regards
Bhavin M.
Aashique
Honored Contributor

Re: Pairdisplay: Execute permission denied.

Hi,
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
pairdisplay
Occasional Advisor

Re: Pairdisplay: Execute permission denied.

Hi,

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.
Aashique
Honored Contributor

Re: Pairdisplay: Execute permission denied.

Hi,
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