[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Etch-backports and gpg problems (SOLVED)



David Fox wrote:
> 
> 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.
> 
>>

hmmm... How about

sudo command_1 | sudo command_2



raju
-- 
Kamaraju S Kusumanchi
http://www.people.cornell.edu/pages/kk288/
http://malayamaarutham.blogspot.com/



Reply to: