Add new admin user via chef 12 CLI


#1

How do I create a user with chef 12 and give that user admin rights? The
docs have you create user first, and then create an org and associate the
user as admin in that org. Well, I did that, and now I’d like to create
another admin user. However, since the org has already been created, what
do I do? How do I add another admin to an existing org?

Doug


#2

Hi Douglas,

Try the org-user-add command with the --admin flag:

https://docs.chef.io/ctl_chef_server.html#org-user-add

Cheers,

Steven

On Fri, Jan 23, 2015 at 7:38 PM, Douglas Garstang
doug.garstang@gmail.com wrote:

How do I create a user with chef 12 and give that user admin rights? The
docs have you create user first, and then create an org and associate the
user as admin in that org. Well, I did that, and now I’d like to create
another admin user. However, since the org has already been created, what do
I do? How do I add another admin to an existing org?

Doug