Results 1 to 5 of 5
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.
- 12-25-2012 #1Linux Newbie
- Join Date
- May 2012
- Posts
- 108
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.
- 12-25-2012 #2
Consult the man page
Code:man sudo
You must always face the curtain with a bow.
- 12-26-2012 #3Just Joined!
- Join Date
- Jul 2008
- Posts
- 49
Another method
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:
The above is from Ubuntu 10.04 and should generally be functional. YMMVCode: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:~$
- 12-26-2012 #4Linux Newbie
- Join Date
- Jun 2004
- Location
- Halesowen, West Midlands, UK
- Posts
- 100
# 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
- 12-26-2012 #5
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.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


1Likes
Reply With Quote

