I'm running cfengine-2.1.13 and I have the following in my control section
solaris.Hr09.Day17.February.Yr2006::
usera = ( ReturnsZero("/bin/getent passwd usera") )
and I'm getting the following error
cfengine::in/cfagent -i -: cf:cfengine::/var/cfengine/inputs/cf.solaris:25:
ExecResult(/command)
must specify an absolute path
I've tried also using
checklogin = ( 'passwd usera' )
usera = ( ReturnsZero("/bin/getent $checklogin") )
And that doesn't work either same error.
Anyone have any suggestions on how a call to getent which requires a
specific database reference followed by a username could be accomplish.
What I'm trying to do is determine if a user has an account on a specific
host and then take an action if they do.
Thanks,
Brian Seppanen
608.826.1464
_______________________________________________
Help-cfengine mailing list
Help-cfengine@gnu.org
http://lists.gnu.org/mailman/listinfo/help-cfengine