[smokeping-users] remote user problem
Glenn Andersson
glenn.andersson at axis.com
Tue Jul 19 15:13:38 CEST 2011
Yea im using the NOPASSWD flag at the moment but the problem is that smokeping itself doesnt send the sudo command to the remote machine.
Brgds
Glenn
-----Original Message-----
From: smokeping-users-bounces+glenn.andersson=axis.com at lists.oetiker.ch [mailto:smokeping-users-bounces+glenn.andersson=axis.com at lists.oetiker.ch] On Behalf Of Peter Kristolaitis
Sent: den 19 juli 2011 14:53
To: smokeping-users at lists.oetiker.ch
Subject: Re: [smokeping-users] remote user problem
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-free
> bsd.html
>
> --
>
> 73,
> Ged.
>
> _______________________________________________
> smokeping-users mailing list
> smokeping-users at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
_______________________________________________
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