Ask Your Question

Revision history [back]

I think you can simply do sudo su - <user>. For that you need to be in the sudoers group, you have to put yourself in /etc/sudoers. Also take take care of the hypen in the su command, without that the login script of the user you are becoming is not executed.