Hello,

I want a script that does this as a user:

rcalsasound restart
tuxtype

I'm not quite sure I understand this. Do you want this script to be run from a user doing stuff as root or do you want to run this script doing stuff as a specified user?

If the second, you could run the script as root and use su (not sudo):

su alsauther -lc "rcalsasound restart"
su alsauser -lc tuxtype

tt,
Ortwin


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to