Skip to content

Instantly share code, notes, and snippets.

@hugosenari
Last active December 25, 2015 00:19
Show Gist options
  • Save hugosenari/6886915 to your computer and use it in GitHub Desktop.
Save hugosenari/6886915 to your computer and use it in GitHub Desktop.
Linux Driver/Command that require root/sudo auth before deny access

This Idea:

Linux Driver or Command that require root or sudo before deny access.

Objective:

Create better user experience where they can try open/write anything and where is not possible try authentication/authorization before deny.

Example:

  • Today:

  • User open '/etc/hosts'

  • Change it

  • Try to save

  • Error

  • With this idea:

  • User open '/etc/hosts'

  • Change it

  • Try to save

  • 'Prompt' for authorization/authentication

  • Save or Error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment