Switching users


Newer platforms, v6+ platforms specifically, permit switching users from the account user from the terminal. Once switched to the user, you assume the permission rights as this user, including the ability to remove files.


Use su to switch users from the main user. You will not be required to enter the account password on v6+ platforms. You can also use sudo rm to remove files; be careful: any file can be removed! Before switching users, you will be prompted to enter your account password.


To switch users (from admin user to “troy”):

su troy

To remove all files under /home/matt (as admin user):

sudo rm -rf /home/troy
Updated on July 14, 2019

Was this article helpful?

Related Articles

Need Support?
Can’t find the answer you’re looking for? Don’t worry we’re here to help! If you get an error, visit https://lithiumhosting.com/support instead.
Contact Support