#163 root user not enabled on vagrant cloud image
Opened 7 years ago by dustymabe. Modified 7 years ago

The password gets set to 'vagrant' here:

https://pagure.io/fedora-kickstarts/blob/03020f4a748e0616dc3968e2e1afbfd72b33b057/f/fedora-cloud-base-vagrant.ks#_16

but the root account gets locked because of this line from the base kickstart:

https://pagure.io/fedora-kickstarts/blob/03020f4a748e0616dc3968e2e1afbfd72b33b057/f/fedora-cloud-base.ks#_118

Let's see if we really need that line from the base kickstart anymore and remove it if not.


I think a locked root account is a good security measure.

excerpt from https://www.vagrantup.com/docs/boxes/base.html:

Vagrant does not actually use or expect any root password. However,
having a generally well known root password makes it easier for the
general public to modify the machine if needed.
Publicly available base boxes usually use a root password of "vagrant" to keep things easy.

does say that it is optional.

I would recommend against enabling the root account by default.

Metadata Update from @dustymabe:
- Issue tagged with: vagrant

7 years ago

Login to comment on this ticket.

Metadata