> >
> > "echo $SHLVL" returns always "1" after a "su - ...", but another value 
> > after a "su ..." (without th dash). I thought, this was what you would like 
> > to see.
> >
> > There are several mechanism, to distinguish between the primary login shell 
> > and a "su ..." shell:
>
> I for one don't see why that might be useful:-)
>

To find out if you use the original environment or the environment of the SUed 
user.

Regards
Hubert

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to