su command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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 that user...
is there some "magic" to su I don't know about?
How might I get that to work ?


Thanks,

jerry
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux