PDA

View Full Version : [SOLVED] Disable run Dropbox for some user


orrie
January 29th, 2009, 09:22 AM
I will now show you guys how to disable the nautilus-plugin Dropbox for some users and enable it for some users.

1. Add an group (dropbox).
2. Change owner on libary-files.
3. Change mode on libary-files.
4. Add the user that want's to use Dropbox to an group.

Be aware that you have to be root before doing this.

Do this in the terminal:

$ sudo addgroup dropbox
$ sudo chown root:dropbox /usr/lib/nautilus/extensions-2.0/libnautilus-dropbox.*
$ sudo chmod 640 /usr/lib/nautilus/extensions-2.0/libnautilus-dropbox.*
$ sudo adduser <user> dropbox


<user> is the username for the user that want's to be running Dropbox at startup.
If there are more users that want's to use Dropbox do step 4 again.

And if you want a script doing this for you, you can check it out here (http://projects.orrie.org/?p=news&category=script&project=disable-dropbox&do=read).

jaygo
February 19th, 2009, 05:35 PM
how would you disable dropbox for root?

orrie
February 19th, 2009, 05:41 PM
how would you disable dropbox for root?

In this guide I have shown how to disable it for normal users.
Since the owner of the files matching /usr/lib/nautilus/extensions-2.0/libnautilus-dropbox.* is root in the group dropbox you wouldn't be able to disable it for the root user.

binbash
February 20th, 2009, 06:17 AM
I was looking for this, helped me a lot