LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-13-2005, 01:40 AM   #1
jayhel
Member
 
Registered: Nov 2004
Location: Montreal
Distribution: Slackware 14.1
Posts: 161

Rep: Reputation: 15
How to put artswrapper suid root?


Hi!

I don't understand what is meant by suid root...

Is this chmod 777?

Tks,

JL
 
Old 09-14-2005, 10:11 AM   #2
dunric
Member
 
Registered: Jul 2004
Distribution: Void Linux, former Slackware
Posts: 498

Rep: Reputation: 100Reputation: 100
Why do you require to set suid bit on it ?
I'd suggest to read some documentation before doing such dangerous things or your system may get hosed.
Start with man 2 setuid.
Btw. owner must be root (chown root <file>) and suid/sgid/sticky bits are in last octal number (chmod 4??? <file>).
 
Old 09-19-2005, 08:43 AM   #3
frozenJim
LQ Newbie
 
Registered: Sep 2005
Location: Montreal, Canada
Distribution: Gentoo
Posts: 1

Rep: Reputation: 0
I have seen this question before, but still don't know the answer.

Arts seems to insist that you have suid set on (see link Linux-software->arts problem ).

Currently I am looking at the "aRts Status" dialog which says:
Quote:
Artsd should run with realtime scheduling, but it does not (Is artswrapper suid root?).
The aRts sound daemon will not autosuspend right now because there are active modules.
Other users complain that they are unable to have sound from more than one software at a time because artswrapper is not "suid root".

I also find that the aRts devices are not 100% immediate in their response - which is vital if you are actually using aRts to do anything important.

So this is a good question - and it deserves a good answer. I will keep researching but sure wouldn't mind the advice of someone who KNOWS the answer. I suspect that anyone doing serious recording will have solved this one long ago .

For now, I'm going to try going the suid route recommended finally by javaree in the link above:
Quote:
CD to the directory where artswrapper is located (/opt/kde/bin here)
As root type
chmod u+s artswrapper

The thing is: arts wants real-time priority, but you can only set that when running as root. As most people disapprove of 'regular' programs running as root, artswrapper comes into play. artwrapper runs as root (because of the chmod above), sets the real time priority, and then starts arts in this priority (as noon-root) before it exits.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
smbmnt must be installed suid root figadiablo Linux - Networking 29 08-09-2007 11:12 PM
insecurity in suid-to-root prabhatsoni Linux - Security 5 11-13-2004 03:57 AM
Only root can do that! (but i made it SUID root ?) qwijibow Linux - General 4 07-07-2004 10:51 AM
xterm installs suid root? infamous41md Linux - Security 2 01-18-2004 12:08 PM
how to set artswrapper suid root ? chokecherry Linux - General 3 11-27-2003 03:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:37 PM.

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