yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #83444
[Bug 1889545] [NEW] Is 'passwd' in users and groups still supported?
Public bug reported:
In https://cloudinit.readthedocs.io/en/latest/topics/examples.html (line
20)
Does 'passwd' field in config file work?
I tried with below config
Content of cloud-config.ci
```
hostname: dev-host
users:
- name: root
lock-passwd: false
passwd: $1$root$1fvaXuILgb4rdRlHdQ80N/
```
And did - 'cloud-init --file ./cloud-config.ci init'
I generated hash of password using below command:
pass=(echo "password" | openssl passwd -1 -stdin -salt root)
And I don't see anything in logs regarding password.
If I use plain_text_passwd or hashed_passwd in my config file, I see
some log message about password.
Attaching log tarball.
** Affects: cloud-init
Importance: Undecided
Status: New
** Attachment added: "cloud-init.tar.gz"
https://bugs.launchpad.net/bugs/1889545/+attachment/5397166/+files/cloud-init.tar.gz
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1889545
Title:
Is 'passwd' in users and groups still supported?
Status in cloud-init:
New
Bug description:
In https://cloudinit.readthedocs.io/en/latest/topics/examples.html
(line 20)
Does 'passwd' field in config file work?
I tried with below config
Content of cloud-config.ci
```
hostname: dev-host
users:
- name: root
lock-passwd: false
passwd: $1$root$1fvaXuILgb4rdRlHdQ80N/
```
And did - 'cloud-init --file ./cloud-config.ci init'
I generated hash of password using below command:
pass=(echo "password" | openssl passwd -1 -stdin -salt root)
And I don't see anything in logs regarding password.
If I use plain_text_passwd or hashed_passwd in my config file, I see
some log message about password.
Attaching log tarball.
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1889545/+subscriptions
Follow ups