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


Chronological Thread 
  • From: Ranjib Dey < >
  • To: " " < >
  • Subject: [chef] Re: which resource to use to create a user like this "ORAINST ALL= NOPASSWD: /bin/su - orainst"
  • Date: Thu, 26 Feb 2015 14:45:20 -0800

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.

§