On 9/23/07, Marc Shapiro <[EMAIL PROTECTED]> wrote:

> If I had run as root, it probably would have worked, but I used sudo.
> This only runs the first command as root (I believe), so the command
> 'apt-key add - ' was run as a normal user and did not like that.  Using

It might be worth mentioning that "sudo" doesn't work across pipes:

For instance:

sudo command_1 | command_2

The first command will be run as root, but the second will be run with
normal user permissions. You can probably get around that by enclosing
the entire pipechain in quotes, but there's sometimes when just
entering su for the command and exiting su when finished is easier.

>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to