- From: AJ Christensen <
>
- To: "
" <
>
- Subject: [chef] Re: Adding user via 'users' removed vagrant from sudo list
- Date: Wed, 25 Feb 2015 14:13:14 +1300
Manage the rules for the kitchen user's sudo allowance via your sudo
cookbook authorization attributes. You told it to remove the kitchen
user's sudo allowance.
cheers,
--aj
On Wed, Feb 25, 2015 at 1:56 PM, Anthony Kong
<
>
wrote:
>
I wonder what is the best way to add an additional user to a VM box.
>
>
I have added a dependency on 'users' to my cookbook and this
>
>
include_recipe "users"
>
>
>
to my default.rb in my cookbook.
>
>
I have also created a data bag to hold the user details.
>
>
>
>
When I run kitcken converge, it stuck at
>
>
>
-----> Chef Omnibus installation detected (install only if missing)
>
>
>
for a long time.
>
>
>
When I do 'kitichen login' to check, I find that user vagrant can no longer
>
do sudo without prompting for password.
>
>
>
How can i add a user without destroying existing configuration?
>
>
>
Cheers, Tony
>
>
Archive powered by MHonArc 2.6.16.