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
|
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.
