On Samstag 12 September 2009, Mark Knecht wrote: > On Sat, Sep 12, 2009 at 11:41 AM, Volker Armin Hemmann > > <volkerar...@googlemail.com> wrote: > > On Samstag 12 September 2009, Mark Knecht wrote: > >> Is it possible to shut off all multimedia stuff for a single account? > >> It's doesn't have to be securely off, just off, so if it cannot be > >> done by meddling with group membership then doing something in a root > >> owned bash file that executes when the user logs in even that's fine > >> with me. (Uh - even I don't know much about what Linux/Gnome does when > >> a user logs in so I'll get to learn a bit also!) > >> > >> I've removed the user account from the audio, video and games groups. > >> When playing YouTube stuff sound is gone but the Flash video is still > >> there. Can I stop that from working. maybe by changing paths if > >> there's not an easier way to do it? > >> > >> Thanks, > >> Mark > > > > put all users except the one into one group. > > > > change ownership of flash and multimedia stuff to that group. > > change permissions, make flash and multimedia stuff only owner and group > > readable/executable. > > > > Everybody can use flash and multimediastuff except that user > > Makes sense. thanks. > > What happens after an emerge that updates the files? I have to go back > in and change owner:group on the files again? > > I'm sure you're right and this is probably the right way to do it. > > Thanks, > Mark >
you could either add it to a cron job or run a little script that you run after every emerge.