On Mon, Apr 12, 2010 at 7:06 PM, narendra sisodiya < [email protected]> wrote:
> > > On Mon, Apr 12, 2010 at 7:03 PM, irfan naseef <[email protected]>wrote: > >> >> >> On Mon, Apr 12, 2010 at 5:53 PM, narendra sisodiya < >> [email protected]> wrote: >> >>> hey i am try to run this command >>> >>> gksu -u root "echo 'nameserver 8.8.8.8' >> /etc/resolv.conf" >>> >> > > Solved > gksu -u root "sh -c 'echo nameserver 8.8.8.8 >> /etc/resolv.conf' " > > > -- > l...@iitd - http://tinyurl.com/ycueutm > Canu explain why did u use that sh -c . Actually by gksu itself, we are running that command as user root ..So why am i getting permission denied ? -- !...@n -- l...@iitd - http://tinyurl.com/ycueutm To unsubscribe, reply using "remove me" as the subject.
