From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1MmYKW-0007Y8-Gy for garchives@archives.gentoo.org; Sat, 12 Sep 2009 19:32:16 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 06E5AE076C; Sat, 12 Sep 2009 19:32:15 +0000 (UTC) Received: from mail-fx0-f211.google.com (mail-fx0-f211.google.com [209.85.220.211]) by pigeon.gentoo.org (Postfix) with ESMTP id C1914E076C for ; Sat, 12 Sep 2009 19:32:14 +0000 (UTC) Received: by fxm7 with SMTP id 7so1331125fxm.34 for ; Sat, 12 Sep 2009 12:32:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=mIM1uaVw5Wm8yjTiYdsmXENk1vivfmdrq6d4QVRLfek=; b=SsmD2HCFO3lxzkK8LnoA9J400/GvIi9B3Vx4H+hw/6QYqZLy/8GYc3FSkzX+gR2cE8 TKbzbthjwaQLk0rAqBjwJ4wUkIwzBLfui70f2s/suXwhBgN/I4TUTEpHac/Uj84q/o5G XUlQR1Jq1/W2UV4LquTFAPBgvoQjr+kVVOPJU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to:mime-version :content-type:content-transfer-encoding:message-id; b=mIGKQqJL0i9hOD2LBNSWgtR10YAnJKnKZfZu4twomgMCAyqpKJnOAQASYdHllQqZ3e unP9sEJGM+jNZYJgd8vFVXj05HHXlNT1WcBBj268KzOgHlN/2FJwZmuwaCrzpWXdzh/B 8vgn93WPIFSc1lwzcJIRSudEdzDHZ/o697yXc= Received: by 10.86.227.1 with SMTP id z1mr3425257fgg.56.1252783934237; Sat, 12 Sep 2009 12:32:14 -0700 (PDT) Received: from energy.localnet (energy.heim10.tu-clausthal.de [139.174.197.94]) by mx.google.com with ESMTPS id 3sm1813531fge.18.2009.09.12.12.32.13 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 12 Sep 2009 12:32:13 -0700 (PDT) From: Volker Armin Hemmann To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] How would I disable Flash (oand other things) for a single account? Date: Sat, 12 Sep 2009 21:32:09 +0200 User-Agent: KMail/1.12.1 (Linux/2.6.31r4; KDE/4.3.1; x86_64; ; ) References: <5bdc1c8b0909111724u6f9870fei7a1a97d9894b04ca@mail.gmail.com> <200909122041.52058.volkerarmin@googlemail.com> <5bdc1c8b0909121152n2e63af14ofd4d32f799a8abaa@mail.gmail.com> In-Reply-To: <5bdc1c8b0909121152n2e63af14ofd4d32f799a8abaa@mail.gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <200909122132.09781.volkerarmin@googlemail.com> X-Archives-Salt: ba74d830-f50f-4219-8be2-f10ee57fd31d X-Archives-Hash: cd5b70894689bde5bf3c4a41b09292a2 On Samstag 12 September 2009, Mark Knecht wrote: > On Sat, Sep 12, 2009 at 11:41 AM, Volker Armin Hemmann > > 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.