Sudo and edit other user's info.

view story

http://www.unix.com – i did a mistake. :( Code: user1 ]$ vi ~/.bashrc sudo su - user2 now , whenever I try to login to user1 , it will login to user2. How can I resolve this ? :rolleyes: N.B -- I do not have root access. -- I dont know password of user2 -- this is a virtual machine. (HowTos)