You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In oslogin.go#L79 we correctly guard the call to accountsMgr.set() on OS Login being enabled, however on main.go#L118 we don't do this check first resulting in /etc/sudoers.d/google_sudoers being created even when the user does not use OS Login.
This creates challenges for customers who use Puppet to manage the /etc/sudoers.d directory. Puppet deletes this file and then the agent recreates it causing churn.
The text was updated successfully, but these errors were encountered:
patelne
pushed a commit
to patelne/guest-agent
that referenced
this issue
Feb 17, 2022
In oslogin.go#L79 we correctly guard the call to
accountsMgr.set()
on OS Login being enabled, however on main.go#L118 we don't do this check first resulting in/etc/sudoers.d/google_sudoers
being created even when the user does not use OS Login.This creates challenges for customers who use Puppet to manage the
/etc/sudoers.d
directory. Puppet deletes this file and then the agent recreates it causing churn.The text was updated successfully, but these errors were encountered: