[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: Root login from remote system



On Mon, 7 Jun 1999, VaibhaV Sharma wrote:

> when u log in as root u get the environment settings as of the root and u
> get the home directory as that of root but when u do su u get priviledges
> equivlent to root but your home dir etc would be by deffault that of your
> username by which u logged in and environment also would be the older one.


No. That's not the case.
When you do "su - [username]", you get the default settings of the
"username". And if the username is missing, the default is the root login.
The "-" is important here ...

regards,
jaju


- --------------------------------------------------------------------
For more information on Linux in India visit http://www.linux-india.org/
Linux India is NOT a forum for Microsoft/India/Pakistan/US/UK bashing.
Flame baits will not be tolerated.  If you can appreciate satire read
http://www.templetons.com/brad/emily.html

------------------------------