When you add the dash to su you inherit roots enviroment rather than just the rights.
i.e. you get roots paths settings and even bash aliases exported ($PATH) variables the lot.
It gets you closer to what you would get if root had just logged in rather than just su'ed to root.
Last edited by leonscape; 02-10-2008 at 04:36 PM.
Reason: clarification
|