UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
In Kubuntu -- How do I attach a group I have made to the Firefox application? I need to give access to Firefox to just three users.
Where is the actual Firefox application located? I have seen all the CLI stuff for groups and I understand that; I can't seem to figure out the directory location for the application.
Sorry for such a basic question, but I am rusty ...
synergy@KLDT:~$ chgrp firefox /usr/bin/firefox
chgrp: changing group of `/usr/bin/firefox': Operation not permitted
This is the admin account I'm using; I have forgotten if it's the same as root on other distros...
If memory serves, the Ubuntus all restrict root logins by default.
Have you tried
Code:
sudo chgrp firefox /usr/bin/firefox
BTW, I don't know what you have in mind for a group name, but unless you are changing (application) firefox to group firefox, the chgrp command you show doesn't seem to makes sense to me.
But then a lot of things about life don't make sense to me....;-)
try "sudo chgrp firefox /usr/bin/firefox" and you'll be asked for your password. In Ubuntu and derivatives you down have an su command to change to super user. In this case there isn't a root login and password. If you're a member of the admin group you preceed command lines with sudo if the permissions are root.
Here's how I did it, your instructions may vary slightly with Kubuntu/KDE(I did it with Ubuntu and Gnome)... I really wasn't sure how to do this, so I created a dummy account and completed the process. If you already have the accounts set up, you'd probably only need to modify those accounts, as opposed to create a new account.
Just to be safe, any changes you make, note them, so if something goes haywire, you can go back and change them back to their original settings, but I had no noticeable problems.
Open a terminal
sudo nautilus
passwd
navigate to usr/bin
right click the Firefox link, choose Properties
Permissions(here's what mine looks like)
owner- root -Read/write
group indygunfreak(more or less my admin group)-read only
others none
Accept any changes...
System>Admin>Users and Groups
Create your account(or if it already exists, highlight, click Properties)
Click the User Privileges tab- make sure Administer the System is unchecked
Advanced Tab- Group(for me) is Users
Accept all your changes.
Log out and back in to one of the restricted accounts, and see if it worked. Note, this only restricted access to Firefox, Opera and Konq(the other two browsers on my sistem), still worked w/o issue.
Anyone with more experience than I, with a comment/concern? This seems to have done the trick.
IGF
Last edited by IndyGunFreak; 01-08-2007 at 08:58 AM.
Thanks to all for the help ... it works. I got it restricted for use by those in the group. The symlink comment was dead-on --- I was working on a link, not the real app. And thanks to IndyGF for working thru it !
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.