-
Notifications
You must be signed in to change notification settings - Fork 20
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
Issue with user #176
Comments
for me neither work: first one
second one:
Second one format seems to be wrong, I changed it to be a proper yaml:
And that gave me the same error as the first one |
I'm not sure why the formatting got wonky with the second one but the indents are correct when I go to edit them. I would update the |
I don't know what the problem is but you shouldn't need that |
After talking during office hours I would agree based on the code you shared. However, I still think there's an underlying issue here just haven't had time to circle back around to get more clarifying details about what it is. I'll probably need to strip it down to the bare minimum that causes the issue I'm seeing to rule out causes. |
I have tested this sudo access with |
closing? |
A few things, it was apparent that setting the user to |
on
I get: kairos@localhost:~> groups
kairos admin
kairos@localhost:~> sudo whoami
root
kairos@localhost:~> whoami
kairos (I assume the user didn't get the The above config fixes the error Itxaka was getting by making |
@jimmykarily That very well could be the issue, this bug never stopped the installation just resulted in an OS that had a user but no passwordless sudo. I'm curious if the goal for yip is to be closely tied to |
cloud-config format VS yip format? we parse them differently IIRC so maybe one accepts the string format and one the list? |
There isn't enough data to find what actually went wrong. I'll close this but feel free to re-open if there something more that allows us to reproduce and debug. |
The above works giving this user sudo permissions but the following doesn't
At first I thought this was related to setting the authorized_key using github but that's not the case.
The text was updated successfully, but these errors were encountered: