How to start a bash shell for another user

Hi.

Sorry to bother you, but I’m not able to find the correct yunohost command to start a bash shell for another user.

Can anyone help me please.

Thanks.

su otheruser

The debian way.
The method proposed by @otm33 or sudo -iu username

Thanks, but I’m searching for anything related to “sudo yunohost….shell…”, without the need to know the password - that I don’ have.

Ok. From your admin user

sudo -iu root
sudo -iu otheruser

“Sorry, user admin is not allowed to execute ‘/bin/bash’ as friendica on…”

:wink:

Need the yunohost command string to do it.

Your admin user is the user account you use to administer your server.

Ah, you need the shell of an app user : sudo yunohost app shell friendica

Found it myself - thanks for helping.

“sudo yunohost app shell friendica” is the magic command