From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1DqAbo-0007DJ-So for garchives@archives.gentoo.org; Wed, 06 Jul 2005 14:10:41 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j66E7a3p000963; Wed, 6 Jul 2005 14:07:36 GMT Received: from mail.bway.net (xena.bway.net [216.220.96.26]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j66E2f32025537 for ; Wed, 6 Jul 2005 14:02:42 GMT Received: (qmail 87044 invoked by uid 0); 6 Jul 2005 14:03:33 -0000 Received: from unknown (HELO ida.bway.net) (216.220.96.4) by smtp.bway.net with (EDH-RSA-DES-CBC3-SHA encrypted) SMTP; 6 Jul 2005 14:03:33 -0000 Date: Wed, 6 Jul 2005 10:02:43 -0400 (EDT) From: "A. Khattri" To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] sudo echo cannot write to /etc/ files ? In-Reply-To: <42CBE237.7050508@planet.nl> Message-ID: References: <42CBE237.7050508@planet.nl> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archives-Salt: 9ae1a495-3962-4571-a645-271b44661968 X-Archives-Hash: 1e8f4eddee98ae63bdcce220a4e4ec13 On Wed, 6 Jul 2005, Holly Bostick wrote: > Echo is in the sudo-ed group, and echo isn't the problem-- the problem > is that permission is refused to write to the file itself (which is an > error *from* echo, so it would seem that echo itself is OK as far as > sudo goes). Which means that I have to su anyway, to echo to the file, > which really isn't the point of the exercise. What is in /etc/sudoers? Either the problem is there or maybe its because in some shells, echo is a built-in command and in others its not (so /bin/echo comes into play). -- -- gentoo-user@gentoo.org mailing list