SUDO goof-up

Oliver Grawert hostmaster at grawert.net
Sat Oct 2 13:54:43 UTC 2004


hi,

Am Samstag, den 02.10.2004, 14:20 +0100 schrieb paul hendrick:
> you could try chown $username /usr/lib/mozilla-firefox -R
> (of course, put your users name:)
> then try opening firefox from a terminal again.
doh, thats a huge security hole.....you should _never_ "chown $USER
something" in the system root especially not with -R (recursive)!

> > > a re-install would fix that. so use synaptic to search for firefox,
> > > then mark it for re-installation.
try "sudo apt-get remove --purge mozilla-firefox" thist will remove
firefox including the system settings in /usr/lib (in case they are
broken).
have you installed extensions/themes/anything while running as root ?
if yes, remove everything remaining in the /usr/lib/mozilla-firefox

afterwards you can reinstall firefox.

if this doesn't work have a look at the owners and permissions in your
~/.mozilla  dir.

additionally mozilla will have set up a personal settings dir for root
in /root/.mozilla this one you can drop too (sudo rm -r /root/.mozilla)

ciao
	oli

ps: you shouldn't run mozilla as root ;) if it's not absolutely
neccessary (don't know why this shold be the case...).

-- 
got ubuntu ? --------------> GET UBUNTU !!!
http://www.ubuntulinux.org/





More information about the ubuntu-users mailing list