erlug
[Top] [All Lists]

Re: [Erlug] cdrecord

To: erlug@xxxxxxxxxxxxxx
Subject: Re: [Erlug] cdrecord
From: Pier Luigi Fiorini <plfiorini@xxxxxxxxx>
Date: 15 Feb 2002 21:53:48 +0100
> ma Set UID fa funzionare l'eseguibile come da root anche se nego i permessi 
> agli altri utenti??

Estratto da man cdrecord:

If you don't want to allow users to become root on your system, cdrecord
may safely be installed suid root. This allows all users or a group of
users with no root privileges to use cdrecord. Cdrecord in this case
checks, if the real user would have been able to read the specified
files. To give all user access to use cdrecord, enter:

       chown root /usr/local/bin/cdrecord

       chmod 4711 /usr/local/bin/cdrecord

To give a restricted group of users access to cdrecord enter:

       chown root /usr/local/bin/cdrecord

       chgrp cdburners /usr/local/bin/cdrecord

       chmod 4710 /usr/local/bin/cdrecord

and add a group cdburners on your system.

Never give write permissions for non root users to the /dev/scg? devices
unless you would allow anybody to read/write/format all your disks.

Le man pages sono (quasi) sempre la risposta ad ogni dilemma.



<Prev in Thread] Current Thread [Next in Thread>