Re: [CentOS] su command

2014-05-08 Thread Les Mikesell
On Thu, May 8, 2014 at 8:57 AM, Jerry Geis wrote: > I am running pulseaudio on centOS 6.5 > audio works fine as the user. > running the command > aplay /usr/share/sounds/alsa/Front_Center.wav > works fine. > > when I login as root and run the command > su user -c "aplay /usr/share/sounds/alsa/Fron

Re: [CentOS] su command

2014-05-08 Thread Steve Lindemann
On 5/8/2014 7:57 AM, Jerry Geis wrote: > I am running pulseaudio on centOS 6.5 > audio works fine as the user. > running the command > aplay /usr/share/sounds/alsa/Front_Center.wav > works fine. > > when I login as root and run the command > su user -c "aplay /usr/share/sounds/alsa/Front_Center.wav

[CentOS] su command

2014-05-08 Thread Jerry Geis
I am running pulseaudio on centOS 6.5 audio works fine as the user. running the command aplay /usr/share/sounds/alsa/Front_Center.wav works fine. when I login as root and run the command su user -c "aplay /usr/share/sounds/alsa/Front_Center.wav" it does not work. I thought su actually runs as tha