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 this case, user1 will have correct authorized keys from foo & bar data bag items.
But the user2, which should have only the foo key, inherit of user1 allowed users. So instead of having only the public key for foo, there is also the bar public key and a duplicate foo public key added to the authorized_keys file..
Any idea?
The text was updated successfully, but these errors were encountered:
Sliim
added a commit
to sliim-cookbooks/user-ssh-keys
that referenced
this issue
Apr 23, 2017
I have a bug when I want to set allowed_users for multiple users :
Example :
In this case,
user1
will have correct authorized keys fromfoo
&bar
data bag items.But the
user2
, which should have only thefoo
key, inherit ofuser1
allowed users. So instead of having only the public key forfoo
, there is also thebar
public key and a duplicatefoo
public key added to theauthorized_keys
file..Any idea?
The text was updated successfully, but these errors were encountered: