Thursday, February 28, 2013

How to change the currant user to different user in Ubuntu

When you working,sometimes you may need to change current user to some other user.Here the procedure you need to follow is simple.In bash console in Ubuntu

$ sudo su            (you need to enter the root password)
$ su - {username} 

example:

$ su - testuser

Done!



No comments:

Post a Comment