Pages

Search This Blog

Thursday, January 21, 2010

How to sudo in unix

What is Sudo?

How to Sudo?
For login as another user use the below command in the command line,
$ sudo -u user_name -H bash

--Replace user_name with the user name you want to sudo to

This will prompt for your password. If you are listed in the sudoer list then you would be logged in as user_name upon successful credentials.

No comments:

Post a Comment

Followers

Contributors