On Wed, January 4, 2006 13:35, ®áèek Kry¹tof said:
> This is a working setup. Note that cdrecord.mmap must be suid root too.
>
> -rws--x---  1 root cdrecording 566344 2004-06-24 /usr/bin/cdrdao
> -rwxr-xr--  1 root cdrom          133 2005-09-17 /usr/bin/cdrecord
> -rws--x---  1 root cdrecording 323540 2005-09-17 /usr/bin/cdrecord.mmap
> -rwxr-xr--  1 root cdrom       323540 2005-09-17 /usr/bin/cdrecord.shm
>
> -----Original Message-----
> From: Ernst-Magne Vindal [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, January 04, 2006 12:14 PM
> To: Lukas Ruf
> Cc: Debian User
> Subject: Re: cdrecord as user
>
>
> On Wed, January 4, 2006 11:41, Lukas Ruf said:
>>> Ernst-Magne Vindal <[EMAIL PROTECTED]> [2006-01-04 10:45]:
>>>
>>> Hi, I need help get cdrecord running as normal user.
>>>
>>> I have installed it as suid root but get access denied trying to run it
>>> as
>>> normal user. The user is in the group "cdrom"
>>>
>>
>> what is the output of 'id -a' as that user?  If it's yourself, have
>> logout out completely after having added yourself to cdrom?   You
>> could also try 'ssh localhost' and try cdrecord again.
>>
>> What were the exact error messages?
>>
>> wbr,
>> Lukas
>> --
>> Lukas Ruf   <http://www.lpr.ch> | Ad Personam
>> rbacs      <http://wiki.lpr.ch> | Restaurants, Bars and Clubs
>> Raw IP   <http://www.rawip.org> | Low Level Network Programming
>> Style  <http://email.rawip.org> | How to write emails
>>
>>
>> --
>> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
>> with a subject of "unsubscribe". Trouble? Contact
>> [EMAIL PROTECTED]
>>
>>
>
> Got it, I think....
>
> [EMAIL PROTECTED]:~$ cdrecord -scanbus
> Cdrecord-Clone 2.01.01a01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg
> Schilling
> NOTE: this version of cdrecord is an inofficial (modified) release of
> cdrecord
>       and thus may have bugs that are not present in the original version.
>       Please send bug reports and support requests to
> <[EMAIL PROTECTED]>.
>       The original author should not be bothered with problems of this
> version.
>
> cdrecord: Warning: Running on Linux-2.6.8-2-686
> cdrecord: There are unsettled issues with Linux-2.5 and newer.
> cdrecord: If you have unexpected problems, please try Linux-2.4 or
> Solaris.
> cdrecord: Warning: Linux-2.6.8 introduced incompatible interface changes.
> cdrecord: Warning: SCSI transport does no longer work for suid root
> programs.
> cdrecord: Warning: if cdrecord fails, try to run it from a root account.
> Linux sg driver version: 3.5.31
> Using libscg version 'schily-0.8'.
> scsibus0:
>         0,0,0     0) *
>         0,1,0     1) *
>         0,2,0     2) *
>         0,3,0     3) 'TEAC    ' 'CD-W512SB       ' '1.0C' Removable CD-ROM
>         0,4,0     4) *
>         0,5,0     5) *
>         0,6,0     6) *
>         0,7,0     7) *
> scsibus2:
>         2,0,0   200) 'Maxtor  ' 'OneTouch II     ' '023g' Disk
>         2,1,0   201) *
>         2,2,0   202) *
>         2,3,0   203) *
>         2,4,0   204) *
>         2,5,0   205) *
>         2,6,0   206) *
>         2,7,0   207) *
> [EMAIL PROTECTED]:~$
>
> I did chmod 4755 on /usr/bin/cdrecord, it was 4750.
> But as you can see I get warning about running it as user. I have done it
> before this change with webmin, that worked ok.
> I doing this via ssh so I will burn a test cd as soon as I get home.
>
> At least, Im able to run the command "cdrecord" :)
>
> Thanks all
>
> --
> /ernst-magne
>
>
>               **Happy New Year**
>     Webmail @ vindal.com - Debian - Apache2
> ***********************************************
>        Mailen er sendt med SquirrelMail.
>               "Webmail for nuts!"
>             http://squirrelmail.org/
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]
>
>

No problems now, but I needed to set permission like this:
[EMAIL PROTECTED]: ls -la /usr/bin/cdrecord*
-rwsr-xr-x  1 root cdrom    133 2005-01-09 17:55 /usr/bin/cdrecord
-rwsr-xr-x  1 root cdrom 348556 2005-01-09 17:55 /usr/bin/cdrecord.mmap
-rwsr-xr--  1 root cdrom 351404 2005-01-09 17:55 /usr/bin/cdrecord.shm
[EMAIL PROTECTED]:

Thanks
-- 
/ernst-magne


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to