
Note: This doesn't stop the user from downloading a pre-compiled version of firefox (e.g. Revert changes using: sudo chmod 755 /usr/bin/firefox Only users in the webapps group may execute /usr/bin/firefox now.

If you logout/login with a different user that is not in "webapps" group, you won't be able to execute it. Disable password Caching for IE Restrict password caching in Mozilla Firefox Disable Password saving / caching in Google Chrome for Business Disable Password. Your user can execute/open firefox, others cannot. mytestuser: sudo adduser mytestuser webappsĬhange the owner and group from "root" (default) to "webapps": sudo chown webapps:webapps /usr/bin/firefox

You have to logout/login for changes to take effect. users that are created using adduser command, that login separately etc) or users that don't belong in a group (here "webapps").įind the executable file for firefox: $ which firefoxĬhange mode (user permissions) from 755 (default) to 750 (not executable and not readable by "others" except for owner and group): sudo chmod 750 /usr/bin/firefoxĬreate a group webapps: sudo addgroup webappsĪdd current user ($USER) in webapps group: sudo adduser $USER webapps You can block users (that is, system identifiable users, e.g.
