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


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

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.

§