[ale] Redirection using sudo...?

Michael B. Trausch fd0man at gmail.com
Tue Jun 13 13:40:57 EDT 2006


On Tue, June 13 2006 13:23, you wrote:
>
> You can do this:
>
> sudo bash -c 'echo "newvalue" > /sys/something'
>
> I think the reason your other attempts failed is because you assumed
> that sudo always runs a shell as root.  By default it directly execs
> the command you give it, with no interceding shell.
>

A-ha!  That works.  Thanks... I will have to remember that.  That is 
probably the one thing that I hadn't tried.  :)

	- Mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available




More information about the Ale mailing list