[NTLUG:Discuss] Re: SuSE 9 or 9.1 PATH environment changes after su

James Taylor tophatjames at yahoo.com
Fri Sep 10 11:31:45 CDT 2004


On Fri, 2004-09-10 at 11:06, terry wrote:
...  snip ...
> My question is, (and I know I'm probably showing my ignorance here, 
> but), in what case would it be better to use su without - ?

When you want to test out something that a particular user does and keep
their environment variables set as that user, but run them as a
different user to see whether the problem is with privs or with the
environment variables that are set...  for example:

su 
su user2 





More information about the Discuss mailing list