Which resource to use to create a user like this "ORAINST ALL= NOPASSWD: /bin/su - orainst"

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

use the sudoer lwrp with custom erb template and variables

On Thu, Feb 26, 2015 at 1:32 PM, Medya medya.gh@gmail.com 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

do u have an example of the usage?

On Thu, Feb 26, 2015 at 4:45 PM, Ranjib Dey dey.ranjib@gmail.com wrote:

use the sudoer lwrp with custom erb template and variables

On Thu, Feb 26, 2015 at 1:32 PM, Medya medya.gh@gmail.com 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