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]