[smokeping-users] remote user problem
alter3d at alter3d.ca
Tue Jul 19 14:52:52 CEST 2011
Check the man page for the sudoers file. There is a flag called
NOPASSWD that you can set on a user that means they will not be prompted
for a password when executing privileged commands. There are some
related gotchas to set it up properly though, so a read through the man
page is highly recommended.
Alternatively, script the password entry using expect. ;)
On 19/07/2011 3:50 AM, Glenn Andersson wrote:
> Well of course i can use sudo but the system will ask for password for every check, and that will make the check fail.
> If someone else have a functional idea about sudo I will gladly listen :)
> Best regards,
> Glenn Andersson
> -----Original Message-----
> From: G.W. Haywood [mailto:ged at jubileegroup.co.uk]
> Sent: den 14 juli 2011 11:07
> To: Glenn Andersson
> Cc: 'smokeping-users at lists.oetiker.ch' (smokeping-users at lists.oetiker.ch)
> Subject: Re: [smokeping-users] remote user problem
> Hi there,
> On Thu, 14 Jul 2011, Glenn Andersson wrote:
>> I use my RemoteFPing probe to do an fping on another machine (in this
>> case an OpenBSD machine). The problem is that fping can only be
>> executed as root, so my question is if someone have made this work on
>> their BSD machines?
> Can you not use Sudo?
> smokeping-users mailing list
> smokeping-users at lists.oetiker.ch
More information about the smokeping-users