How to create a client without root permissions

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

It's not recommended, because you won't be able to do many things
(example: manage services, install packages, etc.). That said:

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, anasofia1072@gmail.com 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 jdunn@aquezada.com * Sorry, I'm ]
[ WWW: Julian Dunn's Blog - Commentary on media, technology, and everything in between. * only Web 1.0 ]
[ gopher://sdf.org/1/users/keymaker/ * compliant! ]
[ PGP: 91B3 7A9D 683C 7C16 715F 442C 6065 D533 FDC2 05B9 ]

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 jdunn@aquezada.com wrote:

It's not recommended, because you won't be able to do many things
(example: manage services, install packages, etc.). That said:
Chef Infra Client (executable)

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, anasofia1072@gmail.com 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 jdunn@aquezada.com * Sorry, I'm ]
[ WWW: Julian Dunn's Blog - Commentary on media, technology, and everything in between. * only Web 1.0 ]
[ gopher://sdf.org/1/users/keymaker/ * compliant! ]
[ PGP: 91B3 7A9D 683C 7C16 715F 442C 6065 D533 FDC2 05B9 ]

Get the Sudo Rights to your user.

Regards,
Anjaneya Raju.E
[cid:image001.jpg@01CED4A1.D69F4B70]http://www.techmahindra.com/

From: Ana Ferreira [mailto:anasofia1072@gmail.com]
Sent: Tuesday, July 22, 2014 8:33 PM
To: chef@lists.opscode.com
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 <jdunn@aquezada.commailto:jdunn@aquezada.com> wrote:
It's not recommended, because you won't be able to do many things
(example: manage services, install packages, etc.). That said:
Chef Infra Client (executable)

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, <anasofia1072@gmail.commailto:anasofia1072@gmail.com> 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 <jdunn@aquezada.commailto:jdunn@aquezada.com> * Sorry, I'm ]
[ WWW: Julian Dunn's Blog - Commentary on media, technology, and everything in between. * only Web 1.0 ]
[ gopher://sdf.org/1/users/keymaker/http://sdf.org/1/users/keymaker/ * compliant! ]
[ PGP: 91B3 7A9D 683C 7C16 715F 442C 6065 D533 FDC2 05B9 ]

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

sudo chef-client is as good as having root.

sudo is as good as having root.

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

On Tue, Jul 22, 2014 at 10:09 AM, Esaraju, Raju (GE Healthcare, consultant)
Raju.Esaraju@ge.com wrote:

Get the Sudo Rights to your user.

Regards,

Anjaneya Raju.E

[image: cid:image001.jpg@01CED4A1.D69F4B70] http://www.techmahindra.com/

From: Ana Ferreira [mailto:anasofia1072@gmail.com]
Sent: Tuesday, July 22, 2014 8:33 PM
To: chef@lists.opscode.com
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 jdunn@aquezada.com
wrote:

It's not recommended, because you won't be able to do many things
(example: manage services, install packages, etc.). That said:
Chef Infra Client (executable)

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, anasofia1072@gmail.com 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 jdunn@aquezada.com * Sorry, I'm ]
[ WWW: Julian Dunn's Blog - Commentary on media, technology, and everything in between. * only Web 1.0 ]
[ gopher://sdf.org/1/users/keymaker/ * compliant! ]
[ PGP: 91B3 7A9D 683C 7C16 715F 442C 6065 D533 FDC2 05B9 ]

If you can't have root access, then what are you actually going to be able
to manage with Chef?

--
~~ StormeRider ~~

"Every world needs its heroes [...] They inspire us to be better than we
are. And they protect from the darkness that's just around the corner."

(from Smallville Season 6x1: "Zod")

On why I hate the phrase "that's so lame"... http://bit.ly/Ps3uSS

On Tue, Jul 22, 2014 at 8:02 AM, Ana Ferreira anasofia1072@gmail.com
wrote:

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 jdunn@aquezada.com
wrote:

It's not recommended, because you won't be able to do many things
(example: manage services, install packages, etc.). That said:
Chef Infra Client (executable)

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, anasofia1072@gmail.com 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 jdunn@aquezada.com * Sorry, I'm ]
[ WWW: Julian Dunn's Blog - Commentary on media, technology, and everything in between. * only Web 1.0 ]
[ gopher://sdf.org/1/users/keymaker/ * compliant! ]
[ PGP: 91B3 7A9D 683C 7C16 715F 442C 6065 D533 FDC2 05B9 ]

the all point of my project is to optimize the instalation process of a
program that has to be install without root privileges.

On Tue, Jul 22, 2014 at 4:39 PM, Morgan Blackthorne stormerider@gmail.com
wrote:

If you can't have root access, then what are you actually going to be able
to manage with Chef?

--
~~ StormeRider ~~

"Every world needs its heroes [...] They inspire us to be better than we
are. And they protect from the darkness that's just around the corner."

(from Smallville Season 6x1: "Zod")

On why I hate the phrase "that's so lame"... http://bit.ly/Ps3uSS

On Tue, Jul 22, 2014 at 8:02 AM, Ana Ferreira anasofia1072@gmail.com
wrote:

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 jdunn@aquezada.com
wrote:

It's not recommended, because you won't be able to do many things
(example: manage services, install packages, etc.). That said:
Chef Infra Client (executable)

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, anasofia1072@gmail.com 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 jdunn@aquezada.com * Sorry, I'm ]
[ WWW: Julian Dunn's Blog - Commentary on media, technology, and everything in between. * only Web 1.0 ]
[ gopher://sdf.org/1/users/keymaker/ * compliant! ]
[ PGP: 91B3 7A9D 683C 7C16 715F 442C 6065 D533 FDC2 05B9 ]

Files, directories, templates, execution of local commands, unpacking
of archives via ark, etc.

You can point configure knife and chef-client to use locations in your
home directory instead of the defaults (/etc/chef)

-s

On Tue, Jul 22, 2014 at 10:39 AM, Morgan Blackthorne
stormerider@gmail.com wrote:

If you can't have root access, then what are you actually going to be able
to manage with Chef?

--
~~ StormeRider ~~

"Every world needs its heroes [...] They inspire us to be better than we
are. And they protect from the darkness that's just around the corner."

(from Smallville Season 6x1: "Zod")

On why I hate the phrase "that's so lame"... http://bit.ly/Ps3uSS

On Tue, Jul 22, 2014 at 8:02 AM, Ana Ferreira anasofia1072@gmail.com
wrote:

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 jdunn@aquezada.com
wrote:

It's not recommended, because you won't be able to do many things
(example: manage services, install packages, etc.). That said:
Chef Infra Client (executable)

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, anasofia1072@gmail.com 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 jdunn@aquezada.com * Sorry, I'm ]
[ WWW: Julian Dunn's Blog - Commentary on media, technology, and everything in between. * only Web 1.0 ]
[ gopher://sdf.org/1/users/keymaker/ * compliant! ]
[ PGP: 91B3 7A9D 683C 7C16 715F 442C 6065 D533 FDC2 05B9 ]

Ana, here are some doc about it.

-s

On Tue, Jul 22, 2014 at 10:47 AM, Sean OMeara someara@opscode.com wrote:

Files, directories, templates, execution of local commands, unpacking
of archives via ark, etc.

You can point configure knife and chef-client to use locations in your
home directory instead of the defaults (/etc/chef)
client.rb

-s

On Tue, Jul 22, 2014 at 10:39 AM, Morgan Blackthorne
stormerider@gmail.com wrote:

If you can't have root access, then what are you actually going to be able
to manage with Chef?

--
~~ StormeRider ~~

"Every world needs its heroes [...] They inspire us to be better than we
are. And they protect from the darkness that's just around the corner."

(from Smallville Season 6x1: "Zod")

On why I hate the phrase "that's so lame"... http://bit.ly/Ps3uSS

On Tue, Jul 22, 2014 at 8:02 AM, Ana Ferreira anasofia1072@gmail.com
wrote:

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 jdunn@aquezada.com
wrote:

It's not recommended, because you won't be able to do many things
(example: manage services, install packages, etc.). That said:
Chef Infra Client (executable)

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, anasofia1072@gmail.com 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 jdunn@aquezada.com * Sorry, I'm ]
[ WWW: Julian Dunn's Blog - Commentary on media, technology, and everything in between. * only Web 1.0 ]
[ gopher://sdf.org/1/users/keymaker/ * compliant! ]
[ PGP: 91B3 7A9D 683C 7C16 715F 442C 6065 D533 FDC2 05B9 ]

at the moment it requires a person doing the all process, step-by-step.
but as i said i don t have root privileges.

So i need to create the node without root permissions. can someone guide me?

On Tue, Jul 22, 2014 at 4:46 PM, Ana Ferreira anasofia1072@gmail.com
wrote:

the all point of my project is to optimize the instalation process of a
program that has to be install without root privileges.

On Tue, Jul 22, 2014 at 4:39 PM, Morgan Blackthorne <stormerider@gmail.com

wrote:

If you can't have root access, then what are you actually going to be
able to manage with Chef?

--
~~ StormeRider ~~

"Every world needs its heroes [...] They inspire us to be better than we
are. And they protect from the darkness that's just around the corner."

(from Smallville Season 6x1: "Zod")

On why I hate the phrase "that's so lame"... http://bit.ly/Ps3uSS

On Tue, Jul 22, 2014 at 8:02 AM, Ana Ferreira anasofia1072@gmail.com
wrote:

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 jdunn@aquezada.com
wrote:

It's not recommended, because you won't be able to do many things
(example: manage services, install packages, etc.). That said:
Chef Infra Client (executable)

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, anasofia1072@gmail.com 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 jdunn@aquezada.com * Sorry, I'm ]
[ WWW: Julian Dunn's Blog - Commentary on media, technology, and everything in between. * only Web 1.0 ]
[ gopher://sdf.org/1/users/keymaker/ * compliant! ]
[ PGP: 91B3 7A9D 683C 7C16 715F 442C 6065 D533 FDC2 05B9 ]

Well, you need to have root privileges on the server to at least
install the Chef Client software, just like any other package. Once
the Chef Client software is installed you can proceed with the
directions on the documentation site as sent previously.

  • Julian

On Tue, Jul 22, 2014 at 11:50 AM, Ana Ferreira anasofia1072@gmail.com wrote:

at the moment it requires a person doing the all process, step-by-step.
but as i said i don t have root privileges.

So i need to create the node without root permissions. can someone guide me?

On Tue, Jul 22, 2014 at 4:46 PM, Ana Ferreira anasofia1072@gmail.com
wrote:

the all point of my project is to optimize the instalation process of a
program that has to be install without root privileges.

On Tue, Jul 22, 2014 at 4:39 PM, Morgan Blackthorne
stormerider@gmail.com wrote:

If you can't have root access, then what are you actually going to be
able to manage with Chef?

--
~~ StormeRider ~~

"Every world needs its heroes [...] They inspire us to be better than we
are. And they protect from the darkness that's just around the corner."

(from Smallville Season 6x1: "Zod")

On why I hate the phrase "that's so lame"... http://bit.ly/Ps3uSS

On Tue, Jul 22, 2014 at 8:02 AM, Ana Ferreira anasofia1072@gmail.com
wrote:

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 jdunn@aquezada.com
wrote:

It's not recommended, because you won't be able to do many things
(example: manage services, install packages, etc.). That said:
Chef Infra Client (executable)

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, anasofia1072@gmail.com 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 jdunn@aquezada.com * Sorry, I'm ]
[ WWW: Julian Dunn's Blog - Commentary on media, technology, and everything in between. * only Web 1.0 ]
[ gopher://sdf.org/1/users/keymaker/ * compliant! ]
[ PGP: 91B3 7A9D 683C 7C16 715F 442C 6065 D533 FDC2 05B9 ]

--
[ Julian C. Dunn jdunn@aquezada.com * Sorry, I'm ]
[ WWW: Julian Dunn's Blog - Commentary on media, technology, and everything in between. * only Web 1.0 ]
[ gopher://sdf.org/1/users/keymaker/ * compliant! ]
[ PGP: 91B3 7A9D 683C 7C16 715F 442C 6065 D533 FDC2 05B9 ]