Steve Scrimpshire Posted November 30, 2003 Report Share Posted November 30, 2003 Ok, both my laptop and desktop have 9.2. On my desktop, if I su to root in a console and run, say, mozilla, it runs as root with my root profile. On my laptop, it runs as my regular user. Conversely, on my laptop, running 'sudo mozilla' runs it as root, but on my desktop, it runs it as regular user. What's up with this? Quote Link to comment Share on other sites More sharing options...
Cannonfodder Posted December 2, 2003 Report Share Posted December 2, 2003 Try some tests such as deleting your user mozilla folder and see if it recreates the user folder. The goal is to confirm it is really going there and not to a copy somewhere else? Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted December 3, 2003 Author Report Share Posted December 3, 2003 I will try that, but maybe I should clarify that I know it is not running as root because it was when I tried to install optimoz and got the error 'Error: Cannot copy to /usr/lib/mozilla/chrome: permission denied" I also know because, if I have mozilla open as my user and attempt to run it as root, using whichever one fails to actual run it as root, it tells me 'Cannot use profile Default because it is already in use'. Anyway, I will try your suggestion, too. Quote Link to comment Share on other sites More sharing options...
Cannonfodder Posted December 3, 2003 Report Share Posted December 3, 2003 I really dont have an answer, just suggesting investigative work... let us know how you made out.. Quote Link to comment Share on other sites More sharing options...
mandrake_alf Posted December 25, 2003 Report Share Posted December 25, 2003 Try this.. When you use 'su' add a '-' (ie: su -) The difference is su: changes uid:gid only su - : changes uid:gid to 0, reads your bashrc, and moves you to /root directory. (much more like actually loggin in as root as opposed to just changing uig:gid) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.