How can I create a user account with restricted access? I’m looking to create what might be called a “guest” account on other platforms. I basically want this user to only be able to access applications that I specify, and that is it. The user should also not be able to change any configuration settings and should definitely not be able to access a terminal prompt.
All users are limited, in that they do not have admin rights. And any configuration a user changes will only apply to that user login. You can make further changes to user accounts in Yast as an admin.
Ok well let me rephrase my question:
In the Yast admin panel, how can I remove a user’s permission to access a certain program. For example, what if I don’t want a certain user to access openoffice?
Start with the menu editor and delete any entry you don’t want them to have access to. While it won’t disallow access to applications via the command line it will keep 99% of the people from accessing them.
On Mon, 2009-03-02 at 18:26 +0000, jon11848 wrote:
> How can I create a user account with restricted access? I’m looking to
> create what might be called a “guest” account on other platforms. I
> basically want this user to only be able to access applications that I
> specify, and that is it. The user should also not be able to change any
> configuration settings and should definitely not be able to access a
> terminal prompt.
AppArmor may be your friend here. You can create a new bash program
for example, and execute (profile) it under AppArmor’s watch, accessing
only the things you want the application to be able to access.
Just a suggestion. I’ve used this to create some nice custom
I think what you are actually looking for is a deeper understanding of linux file permissions. Every file has an owner and belongs to one or more groups. For each of these it has three permission settings, read, write, and execute. Each file also has a separate permission set for everyone else. To properly tighten up the security of your system like you want it, you’ll need to understand these settings and make changes to them to suit your needs.
I wont get into any details because its a rather in depth subject, I couldn’t explain it as good as the man pages, and you might get enough functionality out of one of the other suggestions, but if you want to take the time to do it properly, and you don’t mind learning new things, check out the man and info pages for chmod and chown, and don’t do anything on your system until you understand what you are doing. Experiment first with a live CD, or install an OS on a usb drive if you have one and boot into that. That way, you won’t kill your system while you’re learning.
Once you properly understand permissions and groups, you’ll be able to get exactly the functionality you are after, and you will have learned a valuable skill. Best of luck to you.
Search yast software managment for kiosktool it will do what you want.
kiosktool is for KDE; try Pessulus if you run Gnome
Linux.com :: Lock down the GNOME desktop with Pessulus