Home > How To > How To change the user after login
How To change the user after login
Some Unix servers allow the SFTP server binary to be run under a different user using the sudo command. This is only possible if the server does not prompt the user to enter a password for the new user. This is the case if the logged in user is listed in the /etc/sudoers file.
To change the command that is executed to start the SFTP server follow these steps: