I like to ssh between users. I usually only use su to get root (since you
can't ssh into my box as root).

*^*^*^*
Was it a dream where you see yourself standing in sort of sungod robes
 on a pyramid with a thousand naked women screaming and throwing little
pickles at you? -- Real Genius

On Thu, 21 Sep 2000 [EMAIL PROTECTED] wrote:

> Hi
> 
> try su - username. it loads all the defaults for the new user.
> 
> Haim
> 
> 
> 
> 
> 
> Stephen Bosch <[EMAIL PROTECTED]>
> Sent by: [EMAIL PROTECTED]
> 09/19/00 08:22 PM
> Please respond to expert
> 
>  
>         To:     [EMAIL PROTECTED]
>         cc: 
>         Subject:        Re: [expert] Switching from user A to user B without 
>rebooting?
> 
> 
> 
> Charles Hixson wrote:
>  
> > It partially depends on just what your purpose is in switching users. 
> The
> > easiest way is to su to the new id.  I'm not really up on Linux, but on
> > System V all one needed to do was:
> > > su newUser
> > password:
> 
> This works in Linux -- the problem I frequently encounter is that it
> inherits environment variables from the parent user.
> 
> To get around this I typically telnet to localhost.
> 
> -Stephen-
> 
> Keep in touch with http://mandrakeforum.com: 
> Subscribe the "[EMAIL PROTECTED]" mailing list.
> 
> 
> 


Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.

Reply via email to