Results 1 to 5 of 5

Thread: Comparison_of_privilege_authorization_features: su, sudo, gksudo

  1. #1
    Join Date
    Jun 2009
    Beans
    Hidden!
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Lightbulb Comparison_of_privilege_authorization_features: su, sudo, gksudo

    Comparison_of_privilege_authorization_features

    http://en.wikipedia.org/wiki/Sudo

    http://en.wikipedia.org/wiki/Gksudo

    http://en.wikipedia.org/wiki/Su_(Unix)

    http://en.wikipedia.org/wiki/Compari...ation_features


    one should understand the differences between these...


    .
    Link: Help Vampires? * * * Please Edit First Post Title With "[SOLVED]" When It Is!
    MANDATORY INFORMATION: make, model/build number, OSes, software, accessories
    /customizations/modifications/peripherals/etc...and a DETAILED account of difficulties!

  2. #2
    Join Date
    May 2008
    Location
    United Kingdom
    Beans
    5,263
    Distro
    Ubuntu

    Re: Comparison_of_privilege_authorization_features: su, sudo, gksudo

    Thanks for that.

    I understand that it is always safe to use gksudo, even with a command line, whereas sudo and gksu are not always safe (e.g. if running Firefox as root).
    Always make regular backups of your data (and test them).
    Visit Full Circle Magazine for beginners and seasoned Linux enthusiasts.

  3. #3
    Join Date
    Jun 2009
    Beans
    Hidden!
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Comparison_of_privilege_authorization_features: su, sudo, gksudo

    gksudo...super-user-do

    current user(whoami) must be on super-user list


    gksu...substitute-user(perhaps "super-user" on some systems)

    current user is substituted with user specified during "su" call

    if no substitute is specificied AND current user is on super-user list then perhaps this successfully changes privileges

    still, better to actually call specifically what you intend

    hence, the original discussions regarding "sudo" and "gksudo"

    .
    Link: Help Vampires? * * * Please Edit First Post Title With "[SOLVED]" When It Is!
    MANDATORY INFORMATION: make, model/build number, OSes, software, accessories
    /customizations/modifications/peripherals/etc...and a DETAILED account of difficulties!

  4. #4
    Join Date
    Feb 2007
    Location
    Romania
    Beans
    Hidden!

    Re: Comparison_of_privilege_authorization_features: su, sudo, gksudo

    In Ubuntu, gksudo is a symbolic link to gksu:
    Code:
    ls -al /usr/bin/gksudo 
    lrwxrwxrwx 1 root root 4 2009-07-21 10:36 /usr/bin/gksudo -> gksu
    The default authentication mode is sudo, but one should be able to change it to su by running gksu-properties.

  5. #5
    Join Date
    May 2008
    Location
    United Kingdom
    Beans
    5,263
    Distro
    Ubuntu

    Re: Comparison_of_privilege_authorization_features: su, sudo, gksudo

    Quote Originally Posted by sisco311 View Post
    In Ubuntu, gksudo is a symbolic link to gksu...
    The default authentication mode is sudo, but one should be able to change it to su by running gksu-properties.
    Thank you, two new things that I've learned!
    Always make regular backups of your data (and test them).
    Visit Full Circle Magazine for beginners and seasoned Linux enthusiasts.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •