On Sun, Jul 15, 2001 at 10:47:24PM -0700, Mark Wagnon wrote: > On 07/16/01 07:20:47 +0200, Joost Kooij wrote: > > > > Better is: add your user to the cdrom group and chmod the device to that > > group instead of disk. > > Thanks for the heads up. I know how to add a user to a group, but how > does one remove a user from a group? I'm looking at the man page for > usermod right now, and not really feeling too confident that it's > going to do what I want. I don't want to remove myself from other > groups, especially my default group. Have a look at the attached mail that I send you. HTH
-- Gerard
>From robi Mon Jun 18 22:33:14 2001 Return-Path: <[EMAIL PROTECTED]> Delivered-To: [EMAIL PROTECTED] Received: from pop.free.fr by localhost with POP3 (fetchmail-5.3.3) for [EMAIL PROTECTED] (single-drop); Mon, 18 Jun 2001 22:33:14 +0000 (GMT) Received: (qmail 16449 invoked from network); 17 Jun 2001 23:50:37 -0000 Received: from murphy.debian.org (216.234.231.6) by mrelay2-2.free.fr with SMTP; 17 Jun 2001 23:50:37 -0000 Received: (qmail 23773 invoked by uid 38); 17 Jun 2001 23:50:11 -0000 X-Envelope-Sender: [EMAIL PROTECTED] Received: (qmail 23722 invoked from network); 17 Jun 2001 23:50:09 -0000 Received: from studsv07.studserv.uni-stuttgart.de (129.69.21.37) by murphy.debian.org with SMTP; 17 Jun 2001 23:50:09 -0000 Received: from c5lx [129.69.192.25] by studsv07.studserv.uni-stuttgart.de with ESMTP (SMTPD32-6.06) id A22E3262004A; Mon, 18 Jun 2001 01:50:06 +0200 Received: from tma by c5lx with local (Exim 3.12 #1 (Debian)) id 15BmKH-00005y-00 for <debian-user@lists.debian.org>; Mon, 18 Jun 2001 01:51:29 +0200 Date: Mon, 18 Jun 2001 01:51:29 +0200 To: debian-user@lists.debian.org Subject: Re: XMMS: root can / user can not listen Audio CDs Message-ID: <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <[EMAIL PROTECTED]>; from [EMAIL PROTECTED] on Sun, Jun 17, 2001 at 06:39:07PM -0400 From: Thomas Martin <[EMAIL PROTECTED]> Resent-Message-ID: <[EMAIL PROTECTED]> Resent-From: debian-user@lists.debian.org X-Mailing-List: <debian-user@lists.debian.org> archive/latest/153582 X-Loop: debian-user@lists.debian.org Precedence: list Resent-Sender: [EMAIL PROTECTED] Status: RO X-Status: A Content-Length: 1395 Lines: 40 On Sun, Jun 17, 2001 at 06:39:07PM -0400, David Z Maze wrote: > Thomas Martin <[EMAIL PROTECTED]> writes: > TM> Adding user to group DISK solved my problem. > > You almost definitely don't want to add users to group disk, since > that gives them read/write access to raw devices for all of your disks > (meaning that they can directly read the bits off the hard disk, > meaning that they can effectively ignore filesystem permissions). > Better to change the group owner of your cdrom device to 'cdrom' with > chgrp, and then add users to group 'cdrom'. > > -- > David Maze [EMAIL PROTECTED] http://people.debian.org/~dmaze/ > O.k. Gerard -- glad to help also a bit: I removed user "tma" from group "disk" by gpasswd -d tma disk and I changed the owner of my cdrom-drive "/hdc" (until now owner being "disk") by chgrp -c cdrom /dev/hdc to "cdrom" (adding -c for getting informed what happens) User tma has been a member of group "cdrom" before so after these changes XMMS now may be enjoyed by tma too without letting him destroy important data. Thanks also to you David for your valuable advice. This was my first time on this list and I am impressed by speed and quality of answers. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]