Our website uses necessary cookies to enable basic functions and optional cookies to help us to enhance your user experience. Learn more about our cookie policy by clicking "Learn More".
The SU command lets you switch the current user to any other user. if You need to run a command as a different(non-root) user, use the -I [username] option to specify the user account. Additionally, su can also be used to change to a different shell interpreter on the fly.