Re: Troubles using sudo and pear

From: Date: Wed, 09 Feb 2005 14:37:52 +0000
Subject: Re: Troubles using sudo and pear
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-17453@lists.php.net to get a copy of this message
Hi, Could robert@linux:~> sudo bash <do your stuff> exit be acceptable ? I must admit I don't really understand your "parallel PEAR install" problem à+ -- bertrand Gugger (toggg) Robert Munteanu wrote: > Hi all, > > I am trying to run pear as a regular user ( wheel group ) through > sudo, and it seems to create a parallel PEAR install. > > Symptoms: > > robert@linux:~> sudo pear install -o phpdocumentor > downloading PhpDocumentor-1.2.3.tgz ... > Starting to download PhpDocumentor-1.2.3.tgz (2,656,621 bytes) > .............................................................................................................................................................................................................................................................................................................................................................................................................................done: > 2,656,621 bytes > downloading Archive_Tar-1.2.tgz ... > Starting to download Archive_Tar-1.2.tgz (14,792 bytes) > ...done: 14,792 bytes > install ok: Archive_Tar 1.2 > > robert@linux:~> sudo pear list > Installed packages: > =================== > Package Version State > Archive_Tar 1.2 stable > PhpDocumentor 1.2.3 stable > robert@linux:~> > > Running pear as root gives me the correct package listing. > > I am running pear 4.3.4 (RPMs) on Suse 9.1 with a fresh PEAR install. > > How can I manage PEAR with sudo ( su - is not acceptable) ? > > Thanks, > > Robert >

« previous php.pear.general (#17453) next »