Git Product home page Git Product logo

gnsu's Introduction

About

gnsu allows a permitted user to execute a command with superuser privileges, or as any other user. gnsu shows a graphical dialog requesting the user password to allow the execution of the specified command.

As gnsu uses sudo as its backend, the password that you need to provide is your current user's password, not the root user password. In any case, the user name whose password you need to enter is shown in the gnsu graphical dialog.

The user, or a group the user is part of, has to be allowed access to launching applications using sudo. This can be accomplished by editing the /etc/sudoers file using the visudo command. For example, adding the following line somewhere in the /etc/sudoers file will allow user george to run any command using sudo and by extension, gnsu:

george ALL=(ALL) ALL

Note that you can use any option that sudo has with gnsu, as gnsu passes all arguments it is given to sudo. For example, you can use the sudo option -u to run a command as another user, instead of running it as the superuser, which is the default behaviour. Consult the sudo man page for more details about those options.

HINT: symlinking gnsu to gksu/gksudo will allow you to use the gnsu in place of those commands.

gnsu's People

Contributors

gapan avatar jrd avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

jrd

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.