Ask Your Question
0

Restricting users to only games and educational programs

asked 2012-06-09 06:35:37 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

I have Fedora 17 and have multiple users 3 children. When they log in I would like for them to only have access to the Games and Educational programs. How do I set this up

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
0

answered 2012-08-07 18:37:32 -0500

aatdark gravatar image

i'm not sure if this would work, i only did some short tests:

every application shortcut in F17 is in

/usr/share/applications/

you can change the ownership of all the file to only your username:

sudo chown root:<yourusename> /usr/share/applications/*
sudo chmod o-r  /usr/share/applications/*

then you have to "whitelist" every entry you want to show them with:

(for example gnome mines game)

sudo chmod o+r /usr/share/applications/gnome-gnomine.desktop

I don't know how old your kids are, but THIS METHOD ONLY HIDES the shortcuts from the Applications menu (Activities -> Application). If you know the name of the programm you can start it anyway.

I don't give ANY guarantees that this won't break your computer!

The easiest way would be to tell your kids where to find the games and stuff they are interrested in. (Activities -> Application, and then on the right hand side categories)

edit flag offensive delete link more
0

answered 2012-08-05 01:45:21 -0500

Astroe gravatar image

I'm sure there's a way to do exactly what you're looking for, but the only way I can think of is by restricting access to applications individually with chmod.

You could do this by first finding out which directory the applications reside (most usually sit in /usr/bin) with the command "which 'application name'" ie. "which firefox" which would return a line like "/usr/bin/firefox"

You'd either have to change directory to /usr/bin with "cd /usr/bin" or enter the full path in the commands below.

Then you'd take ownership of the application by executing "chown 'application name' 'your user name'" ie. "chown /usr/bin/firefox admin"

Then you'd change the permissions on the file with the command "chmod 755 'application name'"

I'm sure there are pages out there that would explain permissions a little better, but for simplicities sake, 755 would allow you to execute it, but no one else.

As stated previously, there might be a better way to do this as this method is rather work intensive and prone to error (if you leave an application out for instance) but that's how I know how to do it :/

edit flag offensive delete link more
0

answered 2012-08-08 15:04:52 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

You could install one spin Fedora for children called SOAS and create a dual boot

http://spins.fedoraproject.org/soas/

http://www.youtube.com/watch?v=yI6KPiPAVXs

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-06-09 06:35:37 -0500

Seen: 246 times

Last updated: Aug 08 '12