New Question
0

Cloudbase-init auto-created a strange user

asked 2014-12-10 10:16:56 +0200

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

I did set up a Windows image for openstack as in the link: http://blog.oddbit.com/2014/11/15/cre... I have install cloudbase-init with renamed built-in administrator account but the installer auto-created a strange user "cloudbase-init". Anyone can tell me how to disable or remove the "cloudbase-init" creation in the installer ???

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted
0

answered 2014-12-10 14:35:22 +0200

alexpilotti gravatar image

The cloudbase-init user is used to run the service (also named cloudbase-init). The reason why the installer creates a dedicated user is to allow execution of complex user_data PowerShell scripts / Heat templates where the execution with the LOCALSYSTEM account is not working.

edit flag offensive delete link more
0

answered 2014-12-10 10:22:29 +0200

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Here is the install log: MSI (s) (D8:10) [09:24:08:030]: PROPERTY CHANGE: Adding INSTALLLEVEL property. Its value is '1'. Action start 9:24:07: CostFinalize. MSI (s) (D8:10) [09:24:08:436]: Doing action: AddUserToWinlogonSpecialAccountsProp Action ended 9:24:08: CostFinalize. Return value 1. MSI (s) (D8:10) [09:24:08:436]: PROPERTY CHANGE: Adding AddUserToWinlogonSpecialAccounts property. Its value is 'cloudbase-init'. Action start 9:24:08: AddUserToWinlogonSpecialAccountsProp. MSI (s) (D8:10) [09:24:08:436]: Doing action: AssignUserRightsProp Action ended 9:24:08: AddUserToWinlogonSpecialAccountsProp. Return value 1. MSI (s) (D8:10) [09:24:08:436]: PROPERTY CHANGE: Adding AssignUserRights property. Its value is 'Cloudbase-Init|SeAssignPrimaryTokenPrivilege'. Action start 9:24:08: AssignUserRightsProp. MSI (s) (D8:10) [09:24:08:436]: Doing action: CreateCommonIncludeFile Action ended 9:24:08: AssignUserRightsProp. Return value 1. MSI (s) (D8:AC) [09:24:08:436]: Generating random cookie. MSI (s) (D8:AC) [09:24:08:452]: Created Custom Action Server with PID 2000 (0x7D0). MSI (s) (D8:00) [09:24:08:498]: Running as a service. MSI (s) (D8:00) [09:24:08:514]: Hello, I'm your 64bit Impersonated custom action server. Action start 9:24:08: CreateCommonIncludeFile. MSI (s) (D8:10) [09:24:08:670]: Doing action: GenerateRandomPassword Action ended 9:24:08: CreateCommonIncludeFile. Return value 1. MSI (s) (D8:EC) [09:24:08:670]: Invoking remote custom action. DLL: C:\Windows\Installer\MSI79D1.tmp, Entrypoint: GenerateRandomPasswordAction Action start 9:24:08: GenerateRandomPassword. MSI (s) (D8!F0) [09:24:08:686]: PROPERTY CHANGE: Adding GENERATEDPASSWORD property. Its value is '******'. Random password property name: GENERATEDPASSWORD Random password generated MSI (s) (D8:10) [09:24:08:686]: Doing action: GetAdministratorsGroup Action ended 9:24:08: GenerateRandomPassword. Return value 1. MSI (s) (D8!10) [09:24:08:701]: PROPERTY CHANGE: Adding ACCOUNTADMINISTRATORSNAME property. Its value is 'Administrators'. Action start 9:24:08: GetAdministratorsGroup. MSI (s) (D8:10) [09:24:08:701]: Doing action: SetUserGroupsAction Action ended 9:24:08: GetAdministratorsGroup. Return value 1. MSI (s) (D8:10) [09:24:08:701]: PROPERTY CHANGE: Adding USERGROUPS property. Its value is 'Administrators'. Action start 9:24:08: SetUserGroupsAction. MSI (s) (D8:10) [09:24:08:701]: Doing action: GenerateCloudbaseInitConfFileProp Action ended 9:24:08: SetUserGroupsAction. Return value 1. MSI (s) (D8:10) [09:24:08:701]: PROPERTY CHANGE: Adding GenerateCloudbaseInitConfFile property. Its value is 'c:\Program Files (x86)\Cloudbase Solutions\Cloudbase-Init\conf\|c:\Program Files (x86)\Cloudbase Solutions\Cloudbase-Init\bin\|c:\Program Files (x86)\Cloudbase Solutions\Cloudbase-Init\log\|renamedadmin|1|Administrators||COM1||||||c:\Program Files (x86)\Cloudbase Solutions\Cloudbase-Init\LocalScripts\'. Action start 9:24:08: GenerateCloudbaseInitConfFileProp. MSI (s) (D8:10) [09:24:08:701]: Doing action: PyWin32PostInstallProp Action ended 9:24:08: GenerateCloudbaseInitConfFileProp. Return value 1. MSI (s) (D8:10) [09:24:08:701]: PROPERTY CHANGE: Adding PyWin32PostInstall property. Its value is '"c:\Program Files (x86)\Cloudbase Solutions\Cloudbase-Init\Python27\python.exe" "c:\Program Files (x86)\Cloudbase Solutions\Cloudbase-Init\Python27\Scripts ... (more)

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

Stats

Asked: 2014-12-10 10:16:56 +0200

Seen: 716 times

Last updated: Dec 10 '14