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


Click here to return to the 'Really run as any user?' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Really run as any user?
Authored by: mazatty on Aug 28, '05 01:03:13PM

it's certainly possible to run apps as any user. i do it all the time and haven't had any problems, not to say there aren't any. you just use sudo from the terminal with the "-u" options.

sudo -u guest /Applications/Utilities/Terminal.app/Contents/MacOS/Terminal



[ Reply to This | # ]
Really run as any user?
Authored by: dc_rees on Aug 29, '05 01:30:12AM

That's cool.

For some reason, the last time I tried that I tried specifying the path only down to application.app. I didn't think to try specifying all the way to the launch script.

Now I know how to drop privileges for web access. I can add one more layer to the wall between potentially bad sites and my machines.

---
Say yes to CPU multiculture



[ Reply to This | # ]