[smokeping-users] remote user problem

Peter Kristolaitis 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.  ;)

- Peter


On 19/07/2011 3:50 AM, Glenn Andersson wrote:
> Hi!
>
> 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?
>
> http://www.softpanorama.org/Access_control/sudo.shtml
> http://linux-bsd-sharing.blogspot.com/2009/03/howto-using-sudo-on-freebsd.html
>
> --
>
> 73,
> Ged.
>
> _______________________________________________
> smokeping-users mailing list
> smokeping-users at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users



More information about the smokeping-users mailing list