How to exit "sudo" mode? #23100
-
GitHub has a so-called sudo mode which I think is a great security feature. However, after entering my password the sudo mode persists for quite a while: (emphasis added)
How can I manually exit that mode? |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 3 replies
-
Hi @sos4nt, It is currently not possible to manually exit sudo as such. If you can tell me more about how this feature would help you, I’d be happy to relay that feedback to the appropriate teams. Thanks! |
Beta Was this translation helpful? Give feedback.
-
Hi @that-pat, having to enter my password adds an extra layer of security for sudo-protected actions. And it’s quite convenient that I can temporarily remove that restriction to perform multiple such actions in succession. But removing the restriction for several hours just doesn’t feel right. (e.g. the timeout in Unix sudo defaults to 5 minutes) |
Beta Was this translation helpful? Give feedback.
-
Hi @sos4nt, Thanks for the additional information! We’re always working to improve GitHub and the GitHub Community Forum, and we consider every suggestion we receive. I’ve logged your feature request in our internal feature request list. Though I can’t guarantee anything or share a timeline for this, I have shared your suggestions regarding sudo mode with the appropriate teams for consideration. Please let me know if you have any other questions. Thanks! |
Beta Was this translation helpful? Give feedback.
-
How do I disable this “feature?” Looks like the infamous Windows “Are you sure?” dialog. It is great if you want that enabled, but super annoying when you do not. Also, it would be great if when new “features” like this are added, that they include an OFF switch by default. Getting tired of the “we know better than you” security nanny posture. |
Beta Was this translation helpful? Give feedback.
-
Hi there @breyn407 and welcome 👋t3: Are you looking to disable this feature after you’ve authorized it or prevent it from popping up entirely? |
Beta Was this translation helpful? Give feedback.
-
This is a very annoying feature... I'm trying to add a collaborator and its redirecting me to the sudo mode blog... I haven't been able to do any work |
Beta Was this translation helpful? Give feedback.
Hi @sos4nt,
Thanks for the additional information! We’re always working to improve GitHub and the GitHub Community Forum, and we consider every suggestion we receive. I’ve logged your feature request in our internal feature request list. Though I can’t guarantee anything or share a timeline for this, I have shared your suggestions regarding sudo mode with the appropriate teams for consideration.
Please let me know if you have any other questions.
Thanks!