[linux-audio-dev] jack and setuid

conrad berhörster conrad.berhoerster at gmx.de
Wed Nov 2 11:21:21 UTC 2005


Hello Lists, 
I don't know, where ich can fix my little problem. Maybe i 've missed some 
explanations and/or haven't read my mails good enough. anyway, i try to 
install a linuxbox for audio on slackware
i have installed slackware and patching the kernel 2.6.14 vanilla with 
patch-2.6.14-rt2. Then i installed the set_rtlimits1.1.0 software, because 
Slackware has no PAM. 
First. this must be all for audio in realtime , is this right?? 

then i have to set the setuid. aus root i have done
bash-3.00$ su
Password:
bash-3.00#  chmod ugo+s /usr/local/bin/jackd
bash-3.00# exit
bash-3.00$ ls -la /usr/local/bin/jackd
-rwsr-sr-x  1 root root 206476 2005-11-01 15:23 /usr/local/bin/jackd
bash-3.00$ whoami
soundroom
bash-3.00$ jackd -dalsa&
[1] 3202
bash-3.00$ jackd 0.100.0
Copyright 2001-2005 Paul Davis and others.
jackd comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details

JACK compiled with System V SHM support.
loading driver ..
creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit
control device hw:0
configuring for 48000Hz, period = 1024 frames, buffer = 2 periods
nperiods = 2 for capture
nperiods = 2 for playback


bash-3.00$ ps -aux
[..]
root      3202  0.0  0.4 10472 2380 pts/1    S    12:03   0:00 jackd -dalsa
root      3203  0.0  0.4 10472 2380 pts/1    R    12:03   0:00 jackd -dalsa
root      3204  0.0  0.4 10472 2380 pts/1    S    12:03   0:00 jackd -dalsa
root      3205  0.0  0.4 10472 2380 pts/1    S    12:03   0:00 jackd -dalsa
root      3206  0.2  0.4 10472 2380 pts/1    S    12:03   0:00 jackd -dalsa
[..]

bash-3.00$ jack_lsp
JACK server not running

why i can't use jack an normal user? what have i missed? why there are 5 
processes of jack? is this a secure way? do i need every application as suid?  




More information about the Linux-audio-dev mailing list