[Novalug] su, su - , etc (was time off by an hour)
Beartooth
karhunhammas@Lserv.com
Fri Feb 2 11:46:39 EST 2007
On Thu, 1 Feb 2007, donjr wrote:
> On Thu, 2007-02-01 at 12:42 -0800, Beartooth wrote:
[...]
>> OK -- and what, besides the directory you're in, is the
>> technical meaning of "environment"? It's not a term I had even
>> heard of.
>
> You might try the command:
> apropos environment
Wow!
> Which came up on my system with a number of hints. Some of
> which where:
>
> man 7 environ
> The variable environ points to an array of strings called
> the ?environment?. ....
>
> man env
> env - run a program in a modified environment
>
> man su
> su is used to become another user during a login session. Invoked
> without a username, su defaults to becoming the super user. The
> optional argument - may be used to provide an environment similar to
> what the user would expect had the user logged in directly.
>
> In other words:
> The 'environment? is the entire current picture for that user
> at that given movent.
I think I'm starting to get it. Many thanks!
--
Beartooth Staffwright, PhD, Neo-Redneck Linux Convert
What do they know of country, who only country know?
More information about the Novalug
mailing list