[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ExecResult(/command) must specify an absolute path
From: |
Mark Burgess |
Subject: |
Re: ExecResult(/command) must specify an absolute path |
Date: |
Sat, 18 Feb 2006 07:13:58 +0100 |
Please report whether this is true of the current release.
M
On Fri, 2006-02-17 at 10:00 -0500, Brian E. Seppanen wrote:
> 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
Message not available