LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   how to restrict access to one application only? (https://www.linuxquestions.org/questions/linux-general-1/how-to-restrict-access-to-one-application-only-62536/)

randomx 05-29-2003 02:30 PM

how to restrict access to one application only?
 
Hi guys,

Pretend it's an internet cafe running on Linux. You don't want your customers to shutdown, reboot, halt, or even run applications **except** Mozilla. In other words, user foo logs on, and he can only surf the 'net.

How do you do that? What commands, parameters, files do I need to modify?


Thanks,
RandomX

Crashed_Again 05-29-2003 02:32 PM

Well, normal users do not have shutdown, reboot, or halt privelages by default. If Mozilla is the only application you have installed then of course that would be the only app they would be able to run.

Another thing you could do would be to chroot the user and then provide whatever applications you want them to be able to run in there /bin .


All times are GMT -5. The time now is 06:36 PM.