Reputation: 183
I need command to known the command, which switch between users in command prompt. Im using CentOS 6.5 and Putty. Does anybody know this command? Thanks for help
Upvotes: 18
Views: 114249
Reputation: 341
First use man to learn tutorial about su then implement.
man su
then use a below-mentioned command to switch between users.
su root
password :
[root@localhost ~]$
##now enjoy your commands.
Upvotes: 3
Reputation: 536
You can use su to change to another user:
su <username>
for more help with the su command, you can read the man page via the man command:
man su
Upvotes: 30