[chef] Re: RE: Re: Re: [chef-client] how to create a client without root permissions


Chronological Thread 
  • From: Sean OMeara < >
  • To: " " < >
  • Subject: [chef] Re: RE: Re: Re: [chef-client] how to create a client without root permissions
  • Date: Tue, 22 Jul 2014 10:28:08 -0500

sudo rights default the whole point of not having root, don't they?

sudo chef-client is as good as having root.

sudo <text editor> is as good as having root.

sudo vi /tmp/wat
<esc>:!/bin/bash
bash-3.2#





On Tue, Jul 22, 2014 at 10:09 AM, Esaraju, Raju (GE Healthcare, consultant) < " target="_blank"> > wrote:

Get the Sudo Rights to your user.

 

 

 

Regards,

Anjaneya Raju.E

cid:image001.jpg@01CED4A1.D69F4B70

 

From: Ana Ferreira [mailto: " target="_blank"> ]
Sent: Tuesday, July 22, 2014 8:33 PM
To: " target="_blank">
Subject: [chef] Re: Re: [chef-client] how to create a client without root permissions

 

yes i know, but i cant have root acess on these machines.

with that information i could not understand how to set up the client nor the comunication between client and server.. because all the comunication use Knife. 
could you give me some guidance?

 

Ana Sofia

 

On Tue, Jul 22, 2014 at 3:23 PM, Julian C. Dunn < " target="_blank"> > wrote:

It's not recommended, because you won't be able to do many things
(example: manage services, install packages, etc.). That said:
http://docs.opscode.com/ctl_chef_client.html#run-as-non-root-user

You also can't use the standard bootstrap procedure, because you need
root privileges (or at least sudo) to install Chef Client on the box.

- Julian


On Tue, Jul 22, 2014 at 6:57 AM,  < " target="_blank"> > wrote:
> Hello,
>
> I m trying to create a client, that runs SLES 11, with non-root permission.
> I use de knife bootstrap to create the nodes, but in this situation it does t
> seems correct. because it need the user to be root.
>
> Can someone guide me on how to do this.
>
> Thank you


--
[ Julian C. Dunn < " target="_blank"> >          * Sorry, I'm    ]
[ WWW: http://www.aquezada.com/staff/julian    * only Web 1.0  ]
[ gopher://sdf.org/1/users/keymaker/           * compliant!    ]
[ PGP: 91B3 7A9D 683C 7C16 715F 442C 6065 D533 FDC2 05B9       ]

 





Archive powered by MHonArc 2.6.16.

§