W willybNL macrumors 6502 Original poster May 22, 2007 #1 In windows and linux I'm able to run programs as other users. Eg. I want to start mail as user '2', while being logged in as user 1. Howto? Or something like 'fast changing user' while the other stays login... how to?
In windows and linux I'm able to run programs as other users. Eg. I want to start mail as user '2', while being logged in as user 1. Howto? Or something like 'fast changing user' while the other stays login... how to?
Mitthrawnuruodo Moderator emeritus May 22, 2007 #2 willybNL said: Or something like 'fast changing user' while the other stays login... how to? Click to expand... System Preferences -> Accounts -> Login options: Check "Enable fast user switching"
willybNL said: Or something like 'fast changing user' while the other stays login... how to? Click to expand... System Preferences -> Accounts -> Login options: Check "Enable fast user switching"
tyr2 macrumors 6502a May 22, 2007 #3 If it's just one command you want to run as another user use sudo. 'sudo -u theusername thecommand'
W willybNL macrumors 6502 Original poster May 22, 2007 #4 tyr2 said: If it's just one command you want to run as another user use sudo. 'sudo -u theusername thecommand' Click to expand... Yep... but how to this graphically in finder? or in the dock.
tyr2 said: If it's just one command you want to run as another user use sudo. 'sudo -u theusername thecommand' Click to expand... Yep... but how to this graphically in finder? or in the dock.
epochblue macrumors 68000 May 22, 2007 #5 willybNL said: Yep... but how to this graphically in finder? or in the dock. Click to expand... AFAIK, the only way to do this is to use fast user switching or write some kind of AppleScript or Automator Action that uses the sudo -u command underneath.
willybNL said: Yep... but how to this graphically in finder? or in the dock. Click to expand... AFAIK, the only way to do this is to use fast user switching or write some kind of AppleScript or Automator Action that uses the sudo -u command underneath.
S SC68Cal macrumors 68000 May 22, 2007 #6 tyr2 said: If it's just one command you want to run as another user use sudo. 'sudo -u theusername thecommand' Click to expand... No, no no! Log into user 2 in terminal. Don't use sudo! Just use fast user switching.
tyr2 said: If it's just one command you want to run as another user use sudo. 'sudo -u theusername thecommand' Click to expand... No, no no! Log into user 2 in terminal. Don't use sudo! Just use fast user switching.
MagicUK macrumors regular May 22, 2007 #7 Okay so you have described what, now describe how. So we are logged on as user 1 how do we invoke a terminal session as another user? Please be gentle.
Okay so you have described what, now describe how. So we are logged on as user 1 how do we invoke a terminal session as another user? Please be gentle.
S SC68Cal macrumors 68000 May 22, 2007 #9 MagicUK said: Okay so you have described what, now describe how. So we are logged on as user 1 how do we invoke a terminal session as another user? Please be gentle. Click to expand... open terminal type Code: login user2
MagicUK said: Okay so you have described what, now describe how. So we are logged on as user 1 how do we invoke a terminal session as another user? Please be gentle. Click to expand... open terminal type Code: login user2