help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ExecResult(/command) must specify an absolute path


From: Brian E. Seppanen
Subject: ExecResult(/command) must specify an absolute path
Date: Fri, 17 Feb 2006 10:00:10 -0500 (EST)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]