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 1DqFUX-000684-71 for garchives@archives.gentoo.org; Wed, 06 Jul 2005 19:23:29 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j66JLg11004956; Wed, 6 Jul 2005 19:21:42 GMT Received: from mail.gmx.net (pop.gmx.net [213.165.64.20]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j66JCvxG017907 for ; Wed, 6 Jul 2005 19:12:58 GMT Received: (qmail invoked by alias); 06 Jul 2005 19:13:52 -0000 Received: from 84-72-131-49.dclient.hispeed.ch (EHLO [10.0.0.3]) [84.72.131.49] by mail.gmx.net (mp014) with SMTP; 06 Jul 2005 21:13:52 +0200 X-Authenticated: #1076219 Message-ID: <42CC2D6F.7040000@gmx.ch> Date: Wed, 06 Jul 2005 21:13:51 +0200 From: Christoph Gysin User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050403) X-Accept-Language: en-us, en 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 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] sudo echo cannot write to /etc/ files ? References: <42CBE237.7050508@planet.nl> <1120659727.13823.8.camel@capella.catmur.co.uk> <42CBF0B1.1020308@planet.nl> <20050706151218.GA19645@valinor.dynalias.net> <42CBF8A3.6050103@gmx.ch> <42CC01C5.10905@planet.nl> <42CC2148.3080405@asmallpond.org> <42CC24AD.70705@planet.nl> In-Reply-To: <42CC24AD.70705@planet.nl> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Archives-Salt: 7e441221-8ab0-4c5c-8b63-51f4112492c2 X-Archives-Hash: b1cecef51caf9f1197e361ca32c60587 Holly Bostick wrote: > Or is this not a valid proof that there are some limits left? Not, it's not. A simple "sudo bash" will give you a root shell. The problem in your example was the missing quotes: $ sudo bash -c "/etc/init.d/samba restart" Christoph -- echo mailto: NOSPAM !#$.'<*>'|sed 's. ..'|tr "<*> !#:2" org@fr33z3 -- gentoo-user@gentoo.org mailing list