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

On Mon, Jul 07, 2014 at 07:26:11PM +0200, Rocky Hotas wrote:
> Really?

really.  try it yourself and/or check the man page.  Do a "su -" and
check the environment using env.

> After "su -" with root password the installation of a package worked, so 
> maybe the variables were inherited.

they shouldn't be - perhaps it just works without them or you have
inserted them into root's environment another way.

Brett Lymn
Let go, or be dragged - Zen proverb.

Home | Main Index | Thread Index | Old Index