I would like an other way to change my current user than by GUI.

It would be great that if you can change the user as fast as you can your login shell by chsh.

How can you change the user in OS X's terminal?

link|improve this question

feedback

migrated from stackoverflow.com Jun 9 '11 at 12:55

This question came from our site for professional and enthusiast programmers.

2 Answers

up vote 4 down vote accepted

Normal Unix would do that with 'su' meaning 'super user'.

Something like

su - otherusername

GUI applications might or might not work, I don't know on OSX...

link|improve this answer
Thank you for your answer! – Masi Jul 30 '09 at 18:10
feedback

su actually means “substitute user”.

Use su -l USERNAME to simulate a full shell logon that changes your variables and sets you to the user's home directory.

Type man su for other options.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.