Gentoo Archives: gentoo-user

From: Christoph Gysin <cgysin@×××.ch>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] sudo echo cannot write to /etc/ files ?
Date: Wed, 06 Jul 2005 19:23:29
Message-Id: 42CC2D6F.7040000@gmx.ch
In Reply to: Re: [gentoo-user] sudo echo cannot write to /etc/ files ? by Holly Bostick
1 Holly Bostick wrote:
2 > Or is this not a valid proof that there are some limits left?
3
4 Not, it's not. A simple "sudo bash" will give you a root shell.
5 The problem in your example was the missing quotes:
6
7 $ sudo bash -c "/etc/init.d/samba restart"
8
9 Christoph
10 --
11 echo mailto: NOSPAM !#$.'<*>'|sed 's. ..'|tr "<*> !#:2" org@fr33z3
12 --
13 gentoo-user@g.o mailing list