Hello,

Have you any idea on how to set it up cause I really got none. I have tried 
in my code to add the following:

config.ssh.username = "Sorin"
config.ssh.password = "6282"
config.ssh.insert_key = false

But that didn't do the trick.

On Saturday, 20 April 2019 21:56:49 UTC+3, Alvaro Miranda Aguilera wrote:
>
> hello
>
> your script is creating the user, without a pass
>
> you can update the script to set a pass
>
> or you can set the user to no need password for sudo
>
> you can google about `sudoers` that is the file that manage this.
>
> is more like a OS question rather than vagrant question
>
> alvaro.
>
> On Sat, Apr 20, 2019 at 8:12 AM Devils Kiddo <[email protected] 
> <javascript:>> wrote:
>
>> There is no requirement for the user to be Sorin. It is preference only.
>>
>> Isn't there a workaround for this, or a place where I can find/set that 
>> password which I have no idea where it is set up?
>>
>> On Friday, 19 April 2019 23:45:08 UTC+3, Alvaro Miranda Aguilera wrote:
>>>
>>> hello
>>> when you run sudo, it ask for the user password
>>>
>>> the vagrant file seems to be creating a user, just not sure why you need 
>>> that in that way.
>>>
>>> whats the requirement that the user need to be sorin and not vagrant?
>>>
>>> i would suggest to create a new box right to use, it helps in the long 
>>> run
>>>
>>> alvaro
>>>
>>>
>>> On Wed, Apr 17, 2019 at 1:18 PM Devils Kiddo <[email protected]> 
>>> wrote:
>>>
>>>> Heyo,
>>>>
>>>> Got a little problem and I cannot seem to find a fix for it anywhere.
>>>>
>>>> I am able to connect to SSH correctly using vagrant SSH to my user 
>>>> Sorin.
>>>>
>>>> Whenever I run a command that requires root access it does not work. It 
>>>> demands a password  and I do not know what that password is:
>>>>
>>>> Sorin@centos7 ~  $ sudo yum install whois
>>>>
>>>> We trust you have received the usual lecture from the local System
>>>> Administrator. It usually boils down to these three things:
>>>>
>>>>     #1) Respect the privacy of others.
>>>>     #2) Think before you type.
>>>>     #3) With great power comes great responsibility.
>>>>
>>>> [sudo] password for Sorin:
>>>>
>>>> Any help would be appreciated. If you need anything let me know and I 
>>>> will provide.
>>>>
>>>> -- 
>>>> This mailing list is governed under the HashiCorp Community Guidelines 
>>>> - https://www.hashicorp.com/community-guidelines.html. Behavior in 
>>>> violation of those guidelines may result in your removal from this mailing 
>>>> list.
>>>>  
>>>> GitHub Issues: https://github.com/mitchellh/vagrant/issues
>>>> IRC: #vagrant on Freenode
>>>> --- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "Vagrant" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to [email protected].
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/vagrant-up/82cf5c76-c7b8-4399-aa16-6a06d9b9122e%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/vagrant-up/82cf5c76-c7b8-4399-aa16-6a06d9b9122e%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>
>>> -- 
>>> Alvaro
>>>
>>> -- 
>> This mailing list is governed under the HashiCorp Community Guidelines - 
>> https://www.hashicorp.com/community-guidelines.html. Behavior in 
>> violation of those guidelines may result in your removal from this mailing 
>> list.
>>  
>> GitHub Issues: https://github.com/mitchellh/vagrant/issues
>> IRC: #vagrant on Freenode
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "Vagrant" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/vagrant-up/9635b33c-fb15-4ad8-8cb2-1a49630f5f71%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/vagrant-up/9635b33c-fb15-4ad8-8cb2-1a49630f5f71%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
> -- 
> Alvaro
>
>

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/12e8319a-03a7-40f1-8b8c-a0623f5062ce%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to