What is the Ubuntu user password in Vagrant's Ubuntu 14.04?

Asked 2 years ago, Updated 2 years ago, 83 views

Ubuntu 16.04 is xenial64/20161221.0.0/virtualbox/Vagrantfile
I heard that it is written in
In my case, I use Ubuntu 14.04 of trusty64, but it was not written in the vagrantfile.please tell me。By the way, I checked the Vagrantfile in the folder below.
ubuntu-VAGRANTSLASH-trusty64/20190429.0.1/virtualbox/Vagrantfile

vagrant

2022-09-30 19:47

1 Answers

User "ubuntu" does not appear to have a password.

vagrant@vagrant-ubuntu-trusty-64:~$sudo grepubuntu/etc/shadow
ubuntu:!:18153:0:99999:7:::

vagrant ssh If you were asked for a password when executing the command, it is trying to log in with a "vagrant" user.In other words, the password for the "vagrant" user is required (not the "ubuntu" user).
The default password was "vagrant" (Note.

After logging in as a "vagrant" user, you can set a password for the "ubuntu" user by issuing the sudo passwdubuntu command.


2022-09-30 19:47

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.