(apologies for messing up the threading.)
> From: Josh Glover jmglov at gmail.com
> Date: Thu Dec 11 12:31:23 GMT 2008
>[ ... ]
> I get around this problem like this:
>> sudo -v && echo reno | sudo tee /proc/sys/net/ipv4/tcp_congestion_control
cute. in this case, a simpler solution
(assuming 'bash' is one of yer allowed
commands) is:
sudo bash -c 'echo ... >FILE'
there's an equivalent example in the sudo(1)
manual page (end of the "EXAMPLES" section).
for more complicated things, you can use a
here document, e.g.:
sudo -s <<EOF
... a complex script ...
EOF
back to my networking problem — the initial
indications is it's not a MUA problem (using
'claws' instead of Kmail also fails ;-\ ).
cheers!
-blf-
--
"How many surrealists does it take to | Brian Foster
change a lightbulb? Three. One calms | somewhere in south of France
the warthog, and two fill the bathtub | Stop E$$o (ExxonMobil)!
with brightly-coloured machine tools." | http://www.stopesso.com
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!