This is an useful trick specially when we have specific users for certain services - like app servers- the idea is to login temporally as another user in a terminal, do whatever you have to do and then logout, so, the steps are:
1. open a terminal
2. type: sudo -u myuser02 zsh
3. whoami
That's it, in this case, I use zsh as another terminal, you may use what you like.
Really useful, at least for me
Best
No hay comentarios:
Publicar un comentario