X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; q=dns; s=default; b=nx LH5if9QkArE29MaiO+po6vPyJL37c0svsJWpuyKi4TqpXBXWgnlthEh+N02dJFIE HsRGb2bpDyJ83g/9c+mgfXp/xyffZOcawug8cDNJndU+8aDz95lhns+omp6/loaK cPgc/Z5K/iTTa2n1ijnMLnmiD/Nz7jlSJl6lH+Y1Y= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; s=default; bh=6j5IbT6S X8+3TIan7EwUVxXj908=; b=vrQWKrGgL4lsdlp9mMfhxiIg1QzI7FeQDy0xP5ga KX1AE+rWtEFXvICX4bkZq3k8c7k72wL4eDYh5WSsZiYiBjNtmLp+M26CWeeXn8Ga Pb9ukxkKFbhfXmPWCP+LLXiwAXhtUH5gBgkW6p5ZRUZSi7RX/3YVo5Dz981LPWEd Fso= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.1 required=5.0 tests=BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=sk:raysati, U*raysatiro, raysatiroyahoocom, raysatiro AT yahoo DOT com X-HELO: mail-vk0-f51.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=KSi2aXlATeO6rqksZt5RckffpZzwFuq/DRlW3CRX9q4=; b=UhRLziy1OQe3q9LBLqGuOgum1IbufJ7LGn1vJnN8PbAiKnb7Xc6G31IohW/r5C8Y9L WwMHjIx+D9FDnfNrsZriZj6go76az3G1xelYWh/Q+k2XSbT3M7814vIv1/KV+mNHng0Q gB0RjuegmFSv82rHLvzXCvYwSntoa1H8NC+jGHRbJbsSNn6HO4DThh/qGobglVMVuC9n AxccusiHOpWuSxjPekthYiLX++sN4lBJMKjzSQJfRwXUMEzVZ+P8kwYq7aYnhcmngSax nvcnno2KNxlCHA28GiKBFH4kGxCnsaMEQk9Sk8pbs/SCPksdD5FFOqnwBblq0bnMiQJV jEQA== X-Gm-Message-State: AD7BkJLf9Pt7l275TFnT5YkxXyzdNvWPgQyH0z1a/y2c0n2Q162nNmJq7YsfLW/tGLgFB+avsKGOvyG+usIkOQ== MIME-Version: 1.0 X-Received: by 10.31.148.144 with SMTP id w138mr26469079vkd.44.1458521516517; Sun, 20 Mar 2016 17:51:56 -0700 (PDT) In-Reply-To: <56EF2579.20909@yahoo.com> References: <56EF2369 DOT 1090206 AT yahoo DOT com> <56EF2579 DOT 20909 AT yahoo DOT com> Date: Sun, 20 Mar 2016 19:51:56 -0500 Message-ID: Subject: Re: Is ping only supposed to work for admin accounts? From: Brian Mathis To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes Yes. Ping needs admin rights in all operating systems, but they have various ways to allow access, such as running suid in unix or using a special API call on Windows. If you need ping from cygwin, it's best to rely on the Windows version without installing the cygwin one. ~ Brian On Sun, Mar 20, 2016 at 5:34 PM, Ray Satiro wrote: > I just used the cygwin installer to install ping-1.0.2-1.tar.xz but it > doesn't work for limited user accounts: > > $ ping google.com > ping: socket: Operation not permitted > > 149 29930 [main] ping 11668 dup_ent: duping protoent "icmp", 0xD56580 > 46 29976 [main] ping 11668 dup_ent: protoent icmp 0x80039F64 0x1 > 21 29997 [main] ping 11668 dup_ent: duped protoent "icmp", 0x80039F50 > 21 30018 [main] ping 11668 cygwin_socket: socket (2, 3 (flags 0x0), 1) > --- Process 11668 loaded C:\Windows\SysWOW64\WSHTCPIP.DLL at 73BB0000 > 1084 31102 [main] ping 11668 __set_errno: void > __set_winsock_errno(const char*, int):235 setting errno 1 > 37 31139 [main] ping 11668 __set_winsock_errno: cygwin_socket:694 > - winsock error 10013 -> errno 1 > 57 31196 [main] ping 11668 cygwin_socket: -1 = socket(2, 3 (flags > 0x0), 1), errno 1 > > > > > > -- > Problem reports: http://cygwin.com/problems.html > FAQ: http://cygwin.com/faq/ > Documentation: http://cygwin.com/docs.html > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple