In some cased, I'd like just to open an extra tab with extra privileges instead of a second terminal with these permissions. There are a few solutions to overcome this: 1) Windows terminal, does support to open a new console with administrative privileges, however, this will end up into a new windows terminal being opened, or 2) a tool called gsudo can be used to run a certain script, shell or command with admin privleges. When admin privileges are required, vscode or Windows terminal often gets opened with these privileges and is not closed afterwards. Aside from forgetting it, I dislike that from a security perspective as well. I often forget to open my windows terminal with admin privileges, or to open vscode with admin privileges. For the platform that I often work with, it is required that some tasks are run with administrative privileges.
0 Comments
Leave a Reply. |