[chef] Re: Re: which resource to use to create a user like this "ORAINST ALL= NOPASSWD: /bin/su - orainst"


Chronological Thread 
  • From: Medya < >
  • To:
  • Subject: [chef] Re: Re: which resource to use to create a user like this "ORAINST ALL= NOPASSWD: /bin/su - orainst"
  • Date: Thu, 26 Feb 2015 16:54:25 -0600

do u have an example of the usage?

On Thu, Feb 26, 2015 at 4:45 PM, Ranjib Dey < " target="_blank"> > wrote:
use the sudoer lwrp with custom erb template and variables

On Thu, Feb 26, 2015 at 1:32 PM, Medya < " target="_blank"> > wrote:
the user resource does not do what I wanna do

I wanna have the following in my soduers file

User_Alias     FULLTIMERS = appsautm"
User_Alias      ORAINST = orainst"
FULLTIMERS      ALL =NOPASSWD: ALL
ORAINST    ALL=(orainst) NOPASSWD: ALL
ORAINST    ALL= NOPASSWD: /bin/su - orainst

I looked at the sudoer's cookbook but I didnt figure out how to use it





Archive powered by MHonArc 2.6.16.

§