Topic
  • 2 replies
  • Latest Post - ‏2013-12-18T17:59:34Z by priyaranjansahoo
priyaranjansahoo
priyaranjansahoo
2 Posts

Pinned topic Problem during silent installation using password less ssh for a non root user with sudo access

‏2013-12-16T11:40:27Z |

I am trying to install Biginsights-enterprise-linux64-b20130821-1818  on a Virtual machine on Cloud. 

I am installing as non root user who has sudo access.  Also i have configured password less SSH for the user on the machine.

The silent install fails with the message.

[INFO] Check the current user
Password:
su: incorrect password
[FATAL] Wrong root password

Why is the root password required when i am running it as a non root user with sudo access?  What changes i have to make in the response file ?

I have attached both the response file and install log.

Any help appreciated.

Thanks,

 

 

  • DiLi
    DiLi
    69 Posts

    Re: Problem during silent installation using password less ssh for a non root user with sudo access

    ‏2013-12-18T14:18:20Z  

    Hello,
     

    user_sudo_configured option means:

    • - The current user has passwordless sudo privileges on all nodes
    • - The current user is configured for passwordless SSH access from the current node to all nodes, including to itself

    could you please update the <ssh> section in your install.xml file  according to the following  example and re-install?
    <ssh>
            <configure>user_sudo_configured</configure>
            <auth-method>password</auth-method>
            <password>{xor}</password>
            <biadmin-userid/>
            <biadmin-groupid/>
            <public-key/>
            <biadmin-password>{xor}</biadmin-password>
            <current-user-password>{xor}</current-user-password>
        </ssh>

  • priyaranjansahoo
    priyaranjansahoo
    2 Posts

    Re: Problem during silent installation using password less ssh for a non root user with sudo access

    ‏2013-12-18T17:59:34Z  
    • DiLi
    • ‏2013-12-18T14:18:20Z

    Hello,
     

    user_sudo_configured option means:

    • - The current user has passwordless sudo privileges on all nodes
    • - The current user is configured for passwordless SSH access from the current node to all nodes, including to itself

    could you please update the <ssh> section in your install.xml file  according to the following  example and re-install?
    <ssh>
            <configure>user_sudo_configured</configure>
            <auth-method>password</auth-method>
            <password>{xor}</password>
            <biadmin-userid/>
            <biadmin-groupid/>
            <public-key/>
            <biadmin-password>{xor}</biadmin-password>
            <current-user-password>{xor}</current-user-password>
        </ssh>

    Hi DiLi,

    Thanks for looking into my problem. I contacted weiweiyang who suggested me to run the install UI and generate the response file.  I did as per that  and generated the response file.  It generated <ssh> tag as you have mentioned and then i was able to run the installation.

    Thanks,