Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More control over sudo #2

Open
joeyoropesa-dev opened this issue Apr 14, 2024 · 0 comments
Open

More control over sudo #2

joeyoropesa-dev opened this issue Apr 14, 2024 · 0 comments

Comments

@joeyoropesa-dev
Copy link

Can sudo configuration for allowing non-administrator accounts to elevate be added and also that for specific user we can set that password prompt will be disabled (only administrator should be able to set those settings for security reasons so that standard user itself cannot set those settings nor allow anything if administrator didn't mentioned that user in Registry first where only admins can write and change ownership of that sudo configuration directory in Registry)

To get this possible, the SudoService should work just like Sudo for Windows works. They are using some driver method to make a gate between already elevated process and non-elevated process to interact with. For example, while launching non-elevated sudo.exe provided by Microsoft, in the same time it will launch sudo.exe that have administrator privileges and give elevated console access to non-elevated console if UAC prompt responds with Yes (they added that requirement but it's not actualy required - they just added it because they don't want UAC to be bypassed due to their executable are able to elevate without UAC)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant