This post is more than 5 years old
5 Posts
0
2247
August 12th, 2013 08:00
Enable other users to run rpowermt commands
Hello all,
rpowermt is installed on a host for remote management of PPVE. All the hosts' root credentials are added to the lockbox by a user and he is able to run the rpowermt commands without being prompted for the host credentials everytime.
However when other users are trying to run rpowermt commands against the hosts, they are being prompted for host credentials.
We have tried to add the host root credentials to the user's lockbox file(as shown below), but still being asked for the credentials again when he running rpowermt commands
rpowermt setup add_host host_file= host=C:\Users\srach\Documents\EMC\PowerPath\rpowermt\lockbox.clb host=10.0.2.21 username=root
Is there a way to enable other users to use rpowermt commands without being prompted for the host credentials ??
Thanks
Y1Udba1GsO12085
71 Posts
0
August 13th, 2013 05:00
Hi,
Have you double checked the location of the lockbox file for that user?
Login with that user and see the value of environment variable PPMT_LB_FILE. You can also check which hosts are authorized for that user with "rpowermt setup list_hosts" command.
Regards
santhosh486
5 Posts
0
August 14th, 2013 07:00
Thanks.
The env variable is not set, I fixed it. Still it it did not work even though the host shows when 'rpowermt setup list_hosts' is run.
I removed the lockbox files from the current user and copy/pasted all the lockbox files from the other user's directory whose is working and then it works like a charm
All the rpowermt commands work without prompting for the username/password