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
To change to a different user and create a session as if the other user had logged in from a command prompt, type "su -" followed by a space and the target user's username. Type the target user's password when prompted.
Select Start , right-click the account name icon (or picture), then select Switch user. Select the Start button on the taskbar. Then, on the left side of the Start menu, select the account name icon (or picture) > Switch user > a different user.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With