LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-03-2001, 12:56 PM   #1
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
cdburner for users


I have followed the xcdroast.nonroot file to the letter and I can't burn without being root.

Any ideas, any other burner program to try that gives user permission to burn a cd?
 
Old 12-03-2001, 02:07 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
gtoaster works fine as non-root

maybe yout just need to set the burner perms properly, presumably with suid set
 
Old 12-04-2001, 06:34 AM   #3
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Original Poster
Rep: Reputation: 58
Well the problem turned out to be something really stupid.


I could not get xcdroast or gtoaster to work.

After chmoding and chowning all over the place it turned out to be...

the commands were links in the /usr/bin/ directory that were piping thru the consolehelper which would always bring up the root login dialog :-)

running the commands would find the links first because /usr/bin/xcdroast was in the path before /usr/sbin/xcdroast.

the link for /usr/bin/groaster was a link piped through to /usr/bin/gtoaster-root.


Last edited by DavidPhillips; 12-05-2001 at 01:42 AM.
 
Old 11-03-2003, 12:44 PM   #4
Henry_1
LQ Newbie
 
Registered: Sep 2003
Posts: 29

Rep: Reputation: 15
Hi,

I an running into similar problem: not able to run xcdroast as non -root user. I have 0.98alpha8 version. Could you please give me tips on it?

Thanks
 
Old 11-03-2003, 03:49 PM   #5
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Original Poster
Rep: Reputation: 58
I don't have that version or know what distro you have which may make a difference.


First look at the readme file by searching for README.nonroot


locate README.nonroot


Follow the readme and you should be ok.


The problem I ran into a few years ago when this post was started is still a problem.

If you have Redhat or maybe even some other distro you need to check that you are executing the proper file.

On Redhat it's going to be /usr/sbin/xcdroast. By default /usr/bin/xcdroast will be in the path statement so that file needs to be replaced with a link to the correct file or mv the file.
check it with this command

ls -l /usr/bin/xcdroast
lrwxrwxrwx 1 root root 13 Sep 6 18:15 /usr/bin/xcdroast -> consolehelper


if you have this link to console helper you need to change it like this.

rm /usr/bin/xcdroast
ln -s /usr/bin/xcdroast /usr/sbin/xcdroast

or

cp /usr/sbin/xcdroast /usr/bin/xcdroast

or

mv /usr/sbin/xcdroast /usr/bin/xcdroaast


Then you can follow the instructions in the readme for your release

Last edited by DavidPhillips; 11-03-2003 at 03:53 PM.
 
Old 11-03-2003, 05:08 PM   #6
bones996
Member
 
Registered: Sep 2003
Location: Pennsylvania
Distribution: Debian Squeeze
Posts: 106

Rep: Reputation: 15
The newest version of x-cd-roast allows you to activate the non-root mode right from the gui, but you have to start it as root before you can configure it for other users. Actually, the one before this allowed you to do the same thing also, its so much easier than manually chmodding all over the place.
 
Old 11-03-2003, 08:24 PM   #7
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Original Poster
Rep: Reputation: 58
That's true only for the old versions,

However the current version I have does not appear to support this method of allowing users.


(Version: 0.98alpha13)


what the author says


Earlier version of X-CD-Roast needed root permissions to access the partition stuff. But because I've thrown this out there is no reason for root in the GUI. This is much safer and also disabled the need for a non-root mode. X-CD-Roast is automatically safe to be run by any user. This is possible because only the helper application will get suid-root to get access to the scsi-hardware. The tools itself will drop their root permissions as fast as possible to make it very hard to exploit them (buffer-overrun or stuff like that). Any security issues will be taken care of in the tools itself. Should be very hard to do any harm with them.

See the file README.nonroot for details.

Last edited by DavidPhillips; 11-03-2003 at 08:35 PM.
 
Old 11-03-2003, 10:36 PM   #8
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
I have 0.98alpha14 and it has the non-root user option.

Go into setup then click on users tab and look at the bottom and there should be a button "Change Non-Root configuration" from there you can select to activate non-root mode.

<edit> You have to be root to do this.

Last edited by /bin/bash; 11-03-2003 at 10:37 PM.
 
Old 01-19-2005, 02:04 PM   #9
nifflerX
Member
 
Registered: Dec 2003
Distribution: RedHat 8.0, 7.1 and Enterprise WS 3,4
Posts: 94

Rep: Reputation: 16
I've got alpha version 15 of xcdroast and Red Hat Enterprise 3 WS kernel: . E2.4.21-27.0.1.ELsmp everything works fine if I run xcdroast as root, but if I try as a normal user I don't have permissions. I can run xcdroast but the permissions problems start when I try to access the CD burner itself. I've seen other posts that say this is a change in the newer kernels not in xcdroast, but I was wondering if someone knew of a workaround to get non-root users the ability to burn DVDs again. The odd thing is non-root users can burn CDs without a problem via the Nautilis CD burner. Thanks for any and all help.


-NifflerX
 
Old 01-19-2005, 02:06 PM   #10
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
please don't drag up old threads. i think 14 months is long enough to have just started a new thread...
 
Old 01-19-2005, 02:16 PM   #11
nifflerX
Member
 
Registered: Dec 2003
Distribution: RedHat 8.0, 7.1 and Enterprise WS 3,4
Posts: 94

Rep: Reputation: 16
So does that mean you would like me to start a brand new thread with the same topic and questions as this one? I'm happy to do it I just thought that starting a new thread when one already existed was frowned upon.


-NifflerX
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
fstab cdburner flebber Slackware 13 05-05-2005 06:14 AM
cdburner not working right zeroability Linux - Newbie 4 05-17-2003 02:21 AM
cdburner reads not writes NGraphiX Linux - Hardware 1 02-28-2003 04:29 AM
Lite on cdburner not seen by cdrecord m0rl0ck Linux - Hardware 1 02-20-2003 12:23 AM
cdburner crapped out crashmeister Linux - Hardware 3 11-06-2002 09:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration