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
removing the netdata installation step avoids solving the underlying problem.
the underlying problem is the user is being prompted for the sudo password, even though they're part of the sudo group.
need to add this to /etc/sudoers.d/some-file:
username ALL=(ALL) NOPASSWD:ALL
replace the literal string username with the username and put this into any file in /etc/sudoers.d/ (must be done as sudo, obviously).
This is already configured for the ubuntu user by the cloud-init process on AWS nodes, which we've been taking advantage of and sidestepping the user creation process.
adding user to a group - automation step does not work
have to create user, and home directory (otherwise, mkdir /home/username, chown username:username /home/username)
have to do a useradd, then do a usermod for ubuntu group, then a usermod for sudo group
but then the netdata installer asks for a sudo password, and ruins the headless installation process.
why is this being done by the user if it requires sudo?
The text was updated successfully, but these errors were encountered: