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 1MmXi9-0002rD-7x for garchives@archives.gentoo.org; Sat, 12 Sep 2009 18:52:37 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 91A1DE07B1; Sat, 12 Sep 2009 18:52:35 +0000 (UTC) Received: from mail-yw0-f204.google.com (mail-yw0-f204.google.com [209.85.211.204]) by pigeon.gentoo.org (Postfix) with ESMTP id 74A04E07B1 for ; Sat, 12 Sep 2009 18:52:35 +0000 (UTC) Received: by ywh42 with SMTP id 42so3096150ywh.30 for ; Sat, 12 Sep 2009 11:52:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=W1o50RBhYZpprNwrtVK9zIhKboa3iavlpYt9NCHaZg4=; b=RwWOJSXOrQGiP9NDs13s5+9OIdctVDwkvjT6kvhRnr06tct+6u/XsdNVBo5mNAg3U5 VWdyt3rxpOSIPt9qon4jGbypDG7KCIeHntCQDu65dQfqo534xT5cleUqj8BBIHNVTSDf umE23K55uNrwrdkXUw84gq9hNQm9ileAX0Gcg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=sYu58SmyK5pm01/Gv0LOYSNnR6ymn8S95XfhfXu3lLweId35FRT4jr2hF6JygutcBm AOuRWfCApp90B8aaECHWUJGw2pHSZ1Dnhi3ybDGR4cKGnNRyrkjzknfiW5X+5EQ1/xUE 8Ab/aqAykKN+K/4d2Vj4hY6j4Foz3TLON81Gw= 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 Received: by 10.150.119.23 with SMTP id r23mr7102983ybc.169.1252781555209; Sat, 12 Sep 2009 11:52:35 -0700 (PDT) In-Reply-To: <200909122041.52058.volkerarmin@googlemail.com> References: <5bdc1c8b0909111724u6f9870fei7a1a97d9894b04ca@mail.gmail.com> <200909122041.52058.volkerarmin@googlemail.com> Date: Sat, 12 Sep 2009 11:52:35 -0700 Message-ID: <5bdc1c8b0909121152n2e63af14ofd4d32f799a8abaa@mail.gmail.com> Subject: Re: [gentoo-user] How would I disable Flash (oand other things) for a single account? From: Mark Knecht To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: 5cc36f0d-7950-406f-a00c-6af4aeb801b4 X-Archives-Hash: 4721843635efddd281307a6aafc9c63f 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