Hallo, heute habe ich mich endlich mal an die Arbeit gemacht und die Soundkarte unter Linux eingerichtet. War auch alles kein Problem. Nur: Wie führe ich als user /usr/local/bin/soundon bzw. soundoff aus? Mit einem Setuid-Bit geht es nicht (offenbar können irgendwelche Module nicht geladen werden), nur mit su - root. Das ist allerdings etwas unkomfortabel. Deshalb habe ich mit visudo in Sudoers hinzugefügt: heinz ALL=NOPASSWD:/usr/local/bin/soundon Doch das führt zu der Fehlermeldung: rm: /usr/lib/oss/soundon.log: Permission denied /usr/local/bin/soundon: /usr/lib/oss/soundon.log: Permission denied ... /usr/local/bin/soundon: /usr/lib/oss/soundon.log: Permission denied Loading sndshield failed. Please read /usr/lib/oss/README for more info. /usr/local/bin/soundon: /usr/lib/oss/soundon.log: Permission denied Ich habe deshalb schon mal versuchsweise den sudoers-Eintrag auf "heinz ALL=NOPASSWD:/usr/local/bin/soundon,/usr/lib/oss/modules/sndshield" erweitert, aber die Fehlermeldung bleibt unverändert erhalten. Wie habt ihr das Problem mit dem Ein- und Ausschalten der Soundkarte gelöst? Danke und Gruß, Heinz. -- E-Mail: Heinz W. Pahlke <h.pahlke@berlin.de> Date: 08-Jan-99 Time: 13:06:45 This message was sent by XFMail via S.u.S.E. Linux 5.3 -- Um aus der Liste ausgetragen zu werden, eine Mail an majordomo@suse.com schicken, mit dem Text: unsubscribe suse-linux
On Fri, 8 Jan 1999, Heinz W. Pahlke wrote:
Wie habt ihr das Problem mit dem Ein- und Ausschalten der Soundkarte gelöst?
mit einem kleinen Script in /sbin/init.d und den Links S50/K05 in rc[23].d -- die 140 KB (davon 2x64 DMA-Puffer) habe ich auch noch :) Gerhard Sittig -- If you don't understand or are scared by any of the above ask your parents or an adult to help you. -- Um aus der Liste ausgetragen zu werden, eine Mail an majordomo@suse.com schicken, mit dem Text: unsubscribe suse-linux
"Heinz W. Pahlke" wrote:
Hallo,
heute habe ich mich endlich mal an die Arbeit gemacht und die Soundkarte unter Linux eingerichtet. War auch alles kein Problem.
Nur: Wie führe ich als user /usr/local/bin/soundon bzw. soundoff aus?
Mit einem Setuid-Bit geht es nicht (offenbar können irgendwelche Module nicht geladen werden), nur mit su - root. Das ist allerdings etwas unkomfortabel. Deshalb habe ich mit visudo in Sudoers hinzugefügt:
heinz ALL=NOPASSWD:/usr/local/bin/soundon
Doch das führt zu der Fehlermeldung:
rm: /usr/lib/oss/soundon.log: Permission denied /usr/local/bin/soundon: /usr/lib/oss/soundon.log: Permission denied ... /usr/local/bin/soundon: /usr/lib/oss/soundon.log: Permission denied Loading sndshield failed. Please read /usr/lib/oss/README for more info. /usr/local/bin/soundon: /usr/lib/oss/soundon.log: Permission denied
Ich habe deshalb schon mal versuchsweise den sudoers-Eintrag auf "heinz ALL=NOPASSWD:/usr/local/bin/soundon,/usr/lib/oss/modules/sndshield" erweitert, aber die Fehlermeldung bleibt unverändert erhalten.
Hi, schreibs doch einfach in /sbin/init.d/boot.local o habs ich gemacht. BTW: Wenn Du die susi6.0 hast sollte das nicht mehr noetig sein. o long... bernd PS: Du wartest verm. noch auf das cpio-script :-> ich habs nicht vergessen, nur keine Zeit :-)) -- Please try to boot your system outside the system, it maybe the grounding problem. -- Um aus der Liste ausgetragen zu werden, eine Mail an majordomo@suse.com schicken, mit dem Text: unsubscribe suse-linux
participants (3)
-
G.Sittig@abo.FreiePresse.DE
-
h.pahlke@berlin.de
-
Illuminatus@t-online.de