Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

grub.cfg not updated if superuser line is deleted but not the password line. #35

Open
apuks opened this issue Jun 21, 2018 · 2 comments

Comments

@apuks
Copy link

apuks commented Jun 21, 2018

ver 3.0.1
grub_user{'adminuser':
password => "${passwd}",
superuser => true,
}

Admin deleted "set superusers" line from /boot/grub2/grub.cfg and /etc/grub.d/02_puppet_managed_users but not the password_pdkdf2 lines

Puppet never updates either file after this.

Deleting the password_pdkdf2 fixes the issue

@a-dekker
Copy link

I also noticed that the content of 02_puppet_managed_users is not (puppet) managed as expected.

@ssm
Copy link

ssm commented Jun 15, 2020

If the grub_user is created only with the "password" parameter, and "superuser" parameter is added later, the user is not added to the list of superusers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants