[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cdrecord suid on solaris9



>From: Steffen Prehn <prehn@gmx.de>

>I have a problem running cdrecord suid root on Solaris 9. On Solaris 8 the 
>same setup works.

>if I run cdrecord -scanbus as root I get the expected output:

>Cdrecord-Clone 2.01a18 (sparc-sun-solaris2.7) Copyright (C)
>1995-2003 Jörg Schilling
>Warning: Using USCSI interface.
>Using libscg version 'schily-0.7'
>scsibus0:
>        0,0,0     0) 'IBM     ' 'IC35L036UCDY10-0' 'S21E' Disk
>        0,1,0     1) 'IBM     ' 'DNES-309170     ' 'SA30' Disk
>        0,2,0     2) *
>        0,3,0     3) *
>        0,4,0     4) 'YAMAHA  ' 'CRW4416S ' '1.0j' Removable CD-ROM

>as user:
>Cdrecord-Clone 2.01a18 (sparc-sun-solaris2.9) Copyright (C)
>1995-2003 Jörg Schilling
>Warning: Using USCSI interface.
>Using libscg version 'schily-0.7'
>scsibus0:
>        0,0,0     0) '' '' '' NON CCS Disk
>        0,1,0     1) '' '' '' NON CCS Disk


>cdrecord -scanbus -V gives (the interesting parts)


>Executing 'test unit ready' command on Bus 0 Target 4, Lun 0 timeout 40s
>CDB:  00 00 00 00 00 00
>cdrecord: Not owner. test unit ready: scsi sendcmd: no error
>CDB:  00 00 00 00 00 00
>status: 0x0 (GOOD STATUS)
>cmd finished after 0.000s timeout 40s

>Looks like I don't have the rights to access the device.
>Any suggestions?


The "security" definitions did change.....

Either install scg or configure RSCSI and use cdrecored dev=REMOTE:rscsi@localhost

USCSI requires full root and cdrecord does for security reasons reset uid
after the SCSI device has been opened.

Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
       schilling@fokus.fraunhofer.de	(work) chars I am J"org Schilling
 URL:  http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily



Reply to: