DebianThis forum is for the discussion of Debian 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.
Hello, we have a public computer at work which you can use for net surfing and people keep changing it's options so we thought about installing a linux on it to prevent people from changing options on their own.
So i installed debian on it, but is it possible to only allow users to use web browser and everything else would require root password? Because you can still change background and other things that you shouldn't.
I also tried to look for a more suitable distro for public computer use but couldn't find any, so it's either debian or win2k/xp.
If you use another window manager than KDE or Gome, people won't be able to change the background
but will have a clean interface. Try icewm, for instance, it works just like XP, with a taskbar and a launch
button. In the 'Themes', you even have one option which makes it look like WinXP.
Users can't change much things, only root can.
Hmmm, afaik, if you add different users, EACH one will have his/her own options. IOW, the browser will have ONLY the properties each different user chose and none other. Of course, i don't use KDE or Gnome, so i can't opine about it; but i would assume it's the same. I use IceWM and my wife uses Fluxbox, our options in Firefox, Thunderbird, and XFE are different and remain so.
You can also set X to fire up that app only... no wm, no widgets, no nothing. You'd just create a .xinitrc file for the user and make it contain:
exec firefox
or whatever app you're using. In the above case, all you'll see on the screen is firefox and its menus. NO titlebar, no borders, no nothing. In some cases you can specifiy the screen size (1024x768, etc) for the app, but that's not always the case.
Another option is to use a LiveCD distribution like Knoppix or Mepis. Put this computer on the outside of a firewall so only web browsing is allowed through (i.e. to prevent users from trying to access your internal computer network).
You'd want the computer to have a fast CD-ROM drive, but no hard drive. Users can change settings and such on a temporary basis, but there's no permanent storage so all settings reset to default just by rebooting the computer.
Icewm is my desktop of choice much faster and cleaner than KDE/Gnome. The only way to change things is by editing the text files the settings are based on. You can even get rid of all the menu shortcuts and only leave the webbrowser. Then use Firefox and set it up in kiosk mode so noone can change any of its settings.
if you make a user As preferences owned by user B and only give user A read permissions. you can effectively prevent that user from changing anything. (it would make sense for user B to be root, since you'd have to use superuser priveleges to set up such a scheme anyway.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.