Unsolved
1 Rookie
•
13 Posts
0
45
mapall tool asking for root password for every node after loading the dpnid key.
We are trying to collect the node details using the following command on Gen4S.
mapall --noerror --user=root --nodes=all+ --quiet 'hostname -i; ipmitool fru print 0
For each node , it is asking to manually enter the root password. Is there any way to avoid typing the password?
The above command is executed after loading the dpnid key.
SteveK821
2 Intern
2 Intern
•
141 Posts
0
November 14th, 2023 14:39
Does it work without the --user=root part? The dpnid doesn't have the root key.
If you use the root user, you need to su - as root and then load the rootid (ssh-add /root/.ssh/rootid).