Find the answer to your Linux question:
Results 1 to 5 of 5
Like Tree1Likes
  • 1 Post By Lakshmipathi
Hi , How to check the SUDO version on Linux server ? Any command is available ? Please post it here. Regards, Aparna....
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    May 2012
    Posts
    110

    SUDO version,how to check ?


    Hi ,

    How to check the SUDO version on Linux server ?

    Any command is available ?

    Please post it here.

    Regards,
    Aparna.

  2. #2
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,356
    Consult the man page
    Code:
    man sudo
    You must always face the curtain with a bow.

  3. #3
    Just Joined!
    Join Date
    Jul 2008
    Posts
    54

    Another method

    Quote Originally Posted by redhat70 View Post
    How to check the SUDO version on Linux server ?

    Any command is available ?
    I do not disagree with the above answer, but it is possible for the man page to not be current, which means not giving the correct answer. Another method may be:

    Code:
    tom@Owl:~$ which sudo
    /usr/bin/sudo
    tom@Owl:~$ file /usr/bin/sudo
    /usr/bin/sudo: setuid ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15, stripped
    tom@Owl:~$
    The above is from Ubuntu 10.04 and should generally be functional. YMMV

  4. #4
    Linux Newbie
    Join Date
    Jun 2004
    Location
    Halesowen, West Midlands, UK
    Posts
    107
    # sudo -V
    Sudo version 1.8.6p3
    Configure options: --host=x86_64-suse-linux-gnu --build=x86_64-suse-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --libexecdir=/usr/lib/sudo --docdir=/usr/share/doc/packages/sudo --with-noexec=/usr/lib/sudo/sudo_noexec.so --with-pam --with-ldap --with-selinux --with-linux-audit --with-logfac=auth --with-insults --with-all-insults --with-ignore-dot --with-tty-tickets --enable-shell-sets-home --enable-warnings --with-sendmail=/usr/sbin/sendmail --with-sudoers-mode=0440 --with-env-editor --without-secure-path --with-passprompt=%p's password: --with-timedir=/var/lib/sudo
    Sudoers policy plugin version 1.8.6p3
    Sudoers file grammar version 42

  5. #5
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,757
    Quote Originally Posted by Toadbrooks View Post
    but it is possible for the man page to not be current, which means not giving the correct answer
    I think ,what Irithori really meant - is to find this piece of info. from the man page.

    -V The -V (version) option causes sudo to print its version string and the version string of the security policy plugin and any I/O plugins. If the
    invoking user is already root the -V option will display the arguments passed to configure when sudo was built and plugins may display more verbose
    information such as default options.
    drl likes this.
    First they ignore you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -----
    FOSS India Award winning ext3fs Undelete tool www.giis.co.in. Online Linux Terminal http://www.webminal.org

Posting Permissions

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