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


Click here to return to the 'Fails if Finder user is not current user' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Fails if Finder user is not current user
Authored by: persson on Oct 30, '02 01:40:55PM

I am assuming that your goal was to run a program from the command line that the user who is current logged in would see.

If you are an admin (and therefore in the "admin" group which has an entry in /etc/sudoers):

sudo open <whatever you want>

or (perhaps safer since the command will not run as root but as the logged in user):
sudo -u <loggedInUsername> <whatever you want>



[ Reply to This | # ]
Fails if Finder user is not current user
Authored by: daedalus921 on Jun 04, '03 10:42:44PM

Then is there any good way to send a message to the admin of a remote computer through an alert/dialog box? I know 'write' and 'talk' work perfectly well, but only if the person's got Terminal open.



[ Reply to This | # ]