Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Run applications as another user without switching' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Run applications as another user without switching
Authored by: dpwk on May 24, '04 05:53:19PM
You could also use su user -c "command" like so:
su -c loa "open /Applications/TextEdit.app"
many ways to do this. This tells su to issue the single command in the quotation marks as the user specified. After the command exits, you are dropped back into your own shell.

---
gigabling megashiznit

[ Reply to This | # ]