SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
Re[2]: Cant find host problem
Author Message
Post Re[2]: Cant find host problem 
Thanks Craig,

it was just a problem of permissions on ping. I've switched them to
normal but something was still turning them back so I've done some
checking in cron and found what was turning permissions on /bin/ping
back to the default (ie: setuid root). It was a scipt named msec
that's run every minute by cron. It's a security feature in MDK 10.0
(and RedHat I think) that keep file/directory permissions up-to-date
following a special file (perm.4). I've modified it and everything
is fine now.

Thaks for this wonderful program.

Milos Jariabka


Le lundi 2 août 2004 à 21:51:41, vous écriviez :

CB> Milos Jariabka writes:

I'm running the 2.1.0 version on MDK 10.0 and I have a little problem
with permissions I think. Here is the result from the FAQ test for
finding a host :

[backuppc < at > queribus /]$ /opt/BackupPC/bin/BackupPC dump -v -f amandine
Name server doesn't know about amandine; trying NetBios
cmdSystemOrEval: about to system /usr/bin/nmblookup amandine
cmdSystemOrEval: finished: got output querying amandine on 192.168.0.255
192.168.0.1 amandine<00>

NetBiosHostIPFind: found IP address 192.168.0.1 for host amandine
cmdSystemOrEval: about to system /bin/ping -c 1 192.168.0.1
cmdSystemOrEval: finished: got output ping: icmp open socket: Operation not permitted

CheckHostAlive: first ping failed (512, ) no ping response

ping: icmp open socket: Operation not permitted
I've tried the ping -c 1 192.168.0.1 as root and it worked, so do you
know what group permissions do I have to add to the "backuppc" user so
he can do a ping ? Or is it something else?

CB> On many systems ping is installed as u+s root (ie: setuid root).
CB> What are the permissions on your ping?

CB> Another alternative is to disable the ping by setting:

CB> $Conf{PingCmd} = '/bin/true';

CB> Craig




-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB