security> adding user or root to a group
Hello,
Is it safe to add root to a group other than its default root group? Or to change its default group to another one? Or to add a user to the root group? Mozilla Firefox has exec permission for root and its group, so I thought if root and user 1 shared the same group user1 could run the app, but this may not be safe. Thanks for your help :) |
Is it safe to add root to a group other than its default root group?
~~no Or to change its default group to another one? ~~no Or to add a user to the root group? ~~yes Mozilla Firefox has exec permission for root and its group, so I thought if root and user 1 shared the same group user1 could run the app, but this may not be safe. ~~u can change of permission of it so that other can run it Regards, Peeyush Maurya |
Many thanks, Peeyush Maurya, for your answer!
In fact you can set root as owner and root as group and still use Firefox. Firefox permissions are rather slack -- they are set to other: r-x. I'll have to see what restrictions can be made. Regards, |
Please keep in mind that a user who is added to the root group will be granted rights to most parts of the file system.
It is not advised to add a user to the root group. root on the other hand does not have to be added to a group to be able to execute a file. You may change the group (chgrp) of the firefox directory to something like users or create a new group, say, firefox and add the users who would like to use firefox. A more safe method is to #chmod -R o+rx /path/to/firefox That is, grant read and execute rights to everyone. |
Thanks ppuru for your answer.
Firefox is set to o= r+x which doesn't look to me to be safe at all, but may be necessary. I rather like the idea of adding a specific user for webbroswing. Cheers, |
Quote:
|
Quote:
what about the capabilities of user in the root group. How does it differ from root. |
All times are GMT -5. The time now is 07:41 PM. |