On Mon, Mar 5, 2012 at 10:24 AM, Eric Schulte eric.schu...@gmx.com wrote:
Andreas Leha andreas.l...@med.uni-goettingen.de writes:
Eric Schulte eric.schu...@gmx.com writes:
Leo Alekseyev dnqu...@gmail.com writes:
I was wondering if there was an easy way to execute some shell
commands
Leo Alekseyev dnqu...@gmail.com writes:
On Mon, Mar 5, 2012 at 10:24 AM, Eric Schulte eric.schu...@gmx.com wrote:
Andreas Leha andreas.l...@med.uni-goettingen.de writes:
Eric Schulte eric.schu...@gmx.com writes:
Leo Alekseyev dnqu...@gmail.com writes:
I was wondering if there was an easy
Eric Schulte eric.schu...@gmx.com writes:
Andreas Leha andreas.l...@med.uni-goettingen.de writes:
Eric Schulte eric.schu...@gmx.com writes:
Leo Alekseyev dnqu...@gmail.com writes:
I was wondering if there was an easy way to execute some shell
commands contained in a src block as root.
Andreas Leha andreas.l...@med.uni-goettingen.de writes:
Eric Schulte eric.schu...@gmx.com writes:
Leo Alekseyev dnqu...@gmail.com writes:
I was wondering if there was an easy way to execute some shell
commands contained in a src block as root. Alternatively, is there a
quick way to export
Under Gnome, I'm using this at the beginning of a sh source block:
echo -e #! /bin/bash\n/usr/bin/gksudo -p -m Password /tmp/gksudo-stdout
chmod +x /tmp/gksudo-stdout
SUDO_ASKPASS=/tmp/gksudo-stdout sudo -A -s
Sylvain.
Leo Alekseyev dnqu...@gmail.com wrote:
I was wondering if there was an easy way to execute some shell
commands contained in a src block as root. Alternatively, is there a
quick way to export _just_ that one source block to a temp file so
that I could run it as root manually?
You could set
Leo Alekseyev dnqu...@gmail.com writes:
I was wondering if there was an easy way to execute some shell
commands contained in a src block as root. Alternatively, is there a
quick way to export _just_ that one source block to a temp file so
that I could run it as root manually?
Just call
Eric Schulte eric.schu...@gmx.com writes:
Leo Alekseyev dnqu...@gmail.com writes:
I was wondering if there was an easy way to execute some shell
commands contained in a src block as root. Alternatively, is there a
quick way to export _just_ that one source block to a temp file so
that I
I was wondering if there was an easy way to execute some shell
commands contained in a src block as root. Alternatively, is there a
quick way to export _just_ that one source block to a temp file so
that I could run it as root manually?