D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Advice - Root Log-in

 

David Bell wrote:
> On Friday 31 March 2006 22:18, Neil Williams wrote:
> 
>> IMNSHO anyone who runs user-level-only packages as the root user does not
>> *deserve* root access in the first place.
> 
> Thanks for all that Neil.  The reason why I asked in the first place was that 
> I installed Kubuntu (twice) yesterday using the *expert* option, merely to 
> have more control during the installation process, which also makes provision 
> for a root password.  Both times I found that SUDO was broken and using SU + 
> root password didn't work for some tools. 

Just chipping in a bit late here, as usual...

The reason "su + root password doesn't work for some tools..." is
usually because "su" on it's own escalates privilege, swaps identity,
but doesn't change environment. "su -" also runs root's login script, so
you'll get root's $PATH, etc. if you use that.

jd



--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe. FAQ: www.dcglug.org.uk/linux_adm/list-faq.html