Re: Connect with another user in Konsole
Hi,
On Sat, Mar 01, 2003 at 09:19:11AM +0000, Alan Chandler wrote:
> > Use 'su'.
> To be more exact
>
> su - <user>
>
> The "-" is necessary to cause a new login - you will be prompted
> for the users password, and the standard files (like .bash_profile)
> will be executed.
>
> su <user>
>
> just switches to the user without running through the login setup.
>
To be even more exact :) :
with '-' su calls (exec()) shell with parameter --login,
without '-' su calls (exec()) shell without this parameter
And login-shell behaves differently as non-login-shell (profiles...)
Bye.
--
+----------------------------------+
| Martin Kacerovsky |
| e-mail : wizard(AT)matfyz(DOT)cz |
| home : http://wizard.matfyz.cz |
+----------------------------------+
Reply to: