root and Lighthouse Administrator users may assume the identify of another user at the CLI (e.g. to test access permissions of targetuser) with the following command:
sudo su targetuser -s /bin/bash
Note that attempting to become another user using an alternative su or sudo invocation will result in the error: No shell access is available for this user.
Comments
0 comments
Article is closed for comments.