making firefox available for all users
Hi Folks,
Having a bit of trouble with sharing my firefox install. I followed the guide found at kbase.redhat.com/faq/FAQ_79_4291.shtm (with the exception of not doing the install as root). I chmod 775 the executable and the directory. Made a symbolic link to /usr/local/bin from /usr/local/firefox/firefox-installer. Works fine when I'm logged in as me but when I try to use with other accounts - nada. No permission errors. Just doesn't work. Also, is there an equivalent to Windows administrator privileges in Linux (RedHat 9 )? I made myself a member of the adm and root groups but it doesn't seem to be giving me any system privileges. I'm trying to heed the warnings/advice of not logging in as root. Thanks! |
Why don't you install it as root then? If you are afraid that it messes up with your current installation, then install it into some separate directories like /opt.
As for the administrator-privileged user, just run "su" in a terminal and you will become root temporarily until you type "exit". I understand that you would like to heed the advice not to log in as root. But there are situations that you must be root, like in the installation of softwares. In most situation, "su" will be enough. But if you are interested, you can check out about sudo, which give you root priviledges temporarily. For example, when you want to rename a file owned by root, you can do this: Code:
$ su Code:
$ sudo mv /etc/fstab /etc/fstab.bak Perhaps you have a reason to still run RedHat 9, I think it is better to upgrade to more recent releases like Fedora Core 4. |
Thanks Koyi for your reply. I installed as root into /usr/local/firefox.
Code:
chmod 775 firefox Code:
chmod a+rwx /usr/local/firefox Code:
*** loading the extensions datasource |
I still don't understand why you need to create symlinks...
AFAIK, you install firefox in two ways: 1. By utilising the provided GUI installer, which is the default way. 2. By simply extracting all files into a local directory. (You need to search for it in the mozilla.org website since it is not easy to find this file...) So, I assume that you use the first way. 1. Get firefox from mozilla.org. 2. Open a terminal, go to a temporary folder, say /tmp, and run the following command to extract the downloaded file. Code:
$ tar xzvf /path/to/downloaded/firefox-1.0.7.installer.tar.gz Code:
$ cd firefox-installer Code:
$ su Code:
# exit After finishing the installation, don't forget to turn the security feature back on as a normal user. Code:
$ xhost - |
hi koyi,
thanks for your suggestions. i had no problem with the install. my problem was that after installing firefox as root, I couldn't make it available to other users. i changed permissions on the firefox executable (and made the directory readable for everyone) but it was stalling on the extensions -- just kept trying to load them. anyway, I resolved it by making the extensions executable for all. not sure if this is a security faux paus but I got it working! thanks for your help. |
bascially all that means is if someone hacks into your comptuer, they can now run firefox...
It <i>could</i> be a security risk, which is one of the reasons you aren't supposed to log in as root. If you were to give yourself supreme godlike powers, all the time, if you were hacked, people would have free reign of your machine. Which is why you aren't supposed to run as root, and besides, you can royally mess something up quite easily... I used to think it was a pain to have to run as a user and su or sudo myself root powers.. but then I realized that I could totally mess something up if I wasn't careful.... so I don't complain anymore |
All times are GMT -5. The time now is 08:38 AM. |