Wednesday, September 03, 2008

Logging in as another user

Please don't use this to become root, see further down in the page for more information about that.

sudo -i -u username

For example to become the user amanda for tape management purposes.

sudo -i -u amanda
The password being asked for is your own, not amanda's.

No comments: