NetBSD-Users archive

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

Re: Switching user and environment variables to root to install packages



Really?
After "su -" with root password the installation of a package worked, so maybe 
the variables were inherited.
Anyway thank you for all your advices, I will try the various suggested options.

Rocky



> Sent: Wednesday, July 02, 2014 at 2:28 PM
> From: "Brett Lymn" <blymn%internode.on.net@localhost>
> To: "NetBSD Users Mailing List" <netbsd-users%netbsd.org@localhost>
> Subject: Re: Switching user and environment variables to root to install 
> packages
>
> On Wed, Jul 02, 2014 at 11:31:32PM +1200, Chris Bannister wrote:
> > 
> > Try 'su -'
> > The '-' should inherit the environment.
> > 
> 
> No. It does exactly the opposite.
> 
> -- 
> Brett Lymn
> Let go, or be dragged - Zen proverb.
> 


Home | Main Index | Thread Index | Old Index