|
|
Launch GUI programs as root
Well this is basic, but I thank you all for it - the tip to change appearance of the root worked fine and is great, but I have another Q:
Launch GUI programs as root
Is is possible to open an App as a different user than the current or root? For example if I want to just quickly change another users prefs or manage his iTunes Library?
I know "su benny" then "open -a iTunes" does not work, but is there not a workaround? Try: su - user That should ensure that not only are you running as that user, but with that user's environment variables as well. from man su: -l Simulate a full login. The environment is discarded except for HOME, SHELL, PATH, TERM, and USER. HOME and SHELL are modified as above. USER is set to the target login. PATH is set to ``/bin:/usr/bin''. TERM is imported from your current environ- ment. The invoked shell is the target login's, and su will change directory to the target login's home directory. This option is identical to just passing "-", as in "su -". Usr bin Login ---
|
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.05 seconds |
|