New Question
0

How to have the user create password at first login?

asked 2019-09-23 17:23:28 +0300

anonymous user

Anonymous

updated 2019-09-24 20:19:58 +0300

avladu gravatar image

On the first boot is there a way to skip all of the random password stuff and just have the user type in their password right at login?

I want to use meta data to set the "admin_pass": "ExamplePassword12345" on the first boot, but once I login I want to change my password. During the next shutdown / reboot I don't want the password set back to ExamplePassword12345.

Is there anyway to do this?

Is there a way to set no password with cloudbase init so I can just choose my password at first boot?

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2019-09-24 20:13:17 +0300

avladu gravatar image

Hello,

You can specify in the cloudbase-init.conf all the plugins you want cloudbase-init to run.

You need to exclude cloudbaseinit.plugins.windows.createuser.CreateUserPlugin and cloudbaseinit.plugins.common.setuserpassword.SetUserPasswordPlugin

More information here:

https://cloudbase-init.readthedocs.io...

Thank you,
Adrian Vladu

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2019-09-23 17:23:28 +0300

Seen: 1,035 times

Last updated: Sep 24 '19