Have a look at /etc/security/console.perms.d/50-default.perms - you have
to change this, I believe RHEL uses pam_console..
Regards,
Daniel
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jos Vos
Sent: Sunday, April 20, 2008 10:51 PM
To: Red Hat Enterprise Linux 5 (Tikanga) discussion mailing-list
Subject: Re: [rhelv5-list] How to use sound as non-logged-in user
On Mon, Apr 21, 2008 at 04:12:50AM +0800, John Summerfield wrote:
> >Is there a way to access the sound device as another non-root user,
> >apart from the user that is logged in (via a graphical session)?
>
> sudo?
> su?
> chmod (to set set setuid) and chown (to set user)?
OK, it looks like my question was not clear enough.
When user X is logged in (via a graphical session), running a command as
another user (via text console, after su, via vnc etc.) doesn't see any
sound devices. I chmod'ed some audio/dsp/snd devices to 666, but then
I get some an about an IPC semaphore.
I explicitly want to run the sound-producing command as the other user,
so su/sudo'ing from that other user to the logged-in user is not an
option.
--
-- Jos Vos <[EMAIL PROTECTED]>
-- X/OS Experts in Open Systems BV | Phone: +31 20 6938364
-- Amsterdam, The Netherlands | Fax: +31 20 6948204
_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list
_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list