Need some Help? Have a tip to share?

Email me at MacTipper@gmail.com, or, leave a comment!

MacTipper Recommends Dropbox!


Dropbox is by far the most useful app I have ever had the pleasure of owning. Best of all, it's free! Check it out here!

6/29/09

Run Shell Commands as Different User

If you use the command line often, you might have wanted to run a command as a different user on the machine. For example, you can quit running applications or browse the user's file system.

To do this, open Terminal.app and use the "su" command. For example, if I wanted to use my "coolkid" account, I would use:

su coolkid

You'll then need to enter in the user's password.

0 comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Subscribe Via Email!

Enter your email address:

Delivered by FeedBurner