Re: [opensuse] how to write a script]
17 Nov
2007
17 Nov
'07
11:24
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: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
6241
Age (days ago)
6241
Last active (days ago)
0 comments
1 participants
participants (1)
-
Ortwin Ebhardt