New Question
0

why cloudbase-init trying to reset password?

asked 2023-02-14 15:55:29 +0300

SK gravatar image

Openstack guest instance console logs showing following debug message

DEBUG cloudbaseinit.osutils.windows [-] Resetting password for service user: .\cloudbase-init reset_service_password c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\osutils\windows.py:1050

why cloudbase-init service user trying to change password?

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2023-02-14 16:22:06 +0300

alexpilotti gravatar image

For security reasons. That account can exist in the sysprepped os image. Not resetting it would potentially give access to the account from other machines booted from the same image. This behaviour is controller by an option in the configuration file.

edit flag offensive delete link more

Comments

Thanks Alexpilotti for your response. So when this password reset routine will be called either once right after spinning the instance or after specific time frequently? Moreover, what is the other use of this admin user post spinning the instance?

SK gravatar imageSK ( 2023-02-15 11:44:43 +0300 )edit

Also a successful reset of password requires metadata server reachable as well?

SK gravatar imageSK ( 2023-02-16 10:44:39 +0300 )edit

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: 2023-02-14 15:55:29 +0300

Seen: 4,488 times

Last updated: Feb 14 '23