Wednesday, August 30, 2006

 

changing to a non root user

when you are logged on as a normal user and you want to change to a different user you need to execute the following command.

you first log in to the linux box as user1
than at command prompt type the following command
user1@/>sudo bash
password :
now at the prompt type the following
root@>su user2

user2@> --- now u are user 2

Comments: Post a Comment



<< Home

This page is powered by Blogger. Isn't yours?