Wednesday, August 12, 2015

Switch user centos6




If you need to switch users just use the command su -


Currently I am logged in as root so I am going to switch user to clado

[root@server183 /]# su - clado

[clado@cladosolutions ~]$

Now I am switching back to root

[clado@cladosolutions ~]$ su -
Password:

root@cladosolutions ~

As root is the administrator account we do not need the password to switch to a normal account


No comments:

Post a Comment