$ sudo -s
[sudo] password for srf:
sudo: setresuid(ROOT_UID, ROOT_UID, ROOT_UID): Operation not permitted
sudo: unable to open /var/lib/sudo/srf/3: Operation not permitted
sudo: unable to set gid to runas gid 0: Operation not permitted
sudo: unable to execute /usr/local/bin/bash: Operation not permitted
Seems to work for users that are not in LDAP, and also if you modify /etc/ldap.conf so your name service lookups connect to the LDAP server without using SSL.
Have tried using libnss-ldapd rather than libnss-ldap, which was a fix to a previous ldap/ssl bug. No change here.
Confirming:
$ sudo -s sudo/srf/ 3: Operation not permitted bin/bash: Operation not permitted
[sudo] password for srf:
sudo: setresuid(ROOT_UID, ROOT_UID, ROOT_UID): Operation not permitted
sudo: unable to open /var/lib/
sudo: unable to set gid to runas gid 0: Operation not permitted
sudo: unable to execute /usr/local/
Seems to work for users that are not in LDAP, and also if you modify /etc/ldap.conf so your name service lookups connect to the LDAP server without using SSL.
Have tried using libnss-ldapd rather than libnss-ldap, which was a fix to a previous ldap/ssl bug. No change here.
ProblemType: Bug 20110809- 3 20110809- 3 4.dfsg- 3ubuntu4 ture: amd64 en_GB.UTF- 8 en_GB.UTF- 8 en_GB.UTF- 8 en_GB.UTF- 8 /usr/local/ bin/bash en_GB.UTF- 8 =en_GB. UTF-8 ION=en_ GB.UTF- 8 en_GB.UTF- 8 en_GB.UTF- 8 ature: Ubuntu 3.2.0-23.36-virtual 3.2.14
ApportVersion: 2.0.1-0ubuntu7
Architecture: amd64
Date: Fri May 11 16:31:08 2012
Dependencies:
coreutils 8.13-3ubuntu3
debconf 1.5.42ubuntu1
dpkg 1.16.1.2ubuntu7
gcc-4.6-base 4.6.3-1ubuntu5
libacl1 2.2.51-5ubuntu1
libattr1 1:2.4.46-5ubuntu1
libbz2-1.0 1.0.6-1
libc-bin 2.15-0ubuntu10
libc6 2.15-0ubuntu10
libdb5.1 5.1.25-11build1
libgcc1 1:4.6.3-1ubuntu5
liblzma5 5.1.1alpha+
libpam-modules 1.1.3-7ubuntu2
libpam-modules-bin 1.1.3-7ubuntu2
libpam0g 1.1.3-7ubuntu2
libselinux1 2.1.0-4.1ubuntu1
multiarch-support 2.15-0ubuntu10
perl-base 5.14.2-6ubuntu2
tar 1.26-4ubuntu1
tzdata 2012b-1
xz-utils 5.1.1alpha+
zlib1g 1:1.2.3.
DistroRelease: Ubuntu 12.04
InstallationMedia: Ubuntu-Server 12.04 LTS "Precise Pangolin" - Release amd64 (20120424.1)
Package: sudo 1.8.3p1-1ubuntu3
PackageArchitec
ProcEnviron:
LANGUAGE=en_GB:en
LC_TIME=
LC_MONETARY=
TERM=xterm
PATH=(custom, no user)
LC_ADDRESS=
LC_TELEPHONE=
LANG=en_GB.UTF-8
SHELL=
LC_NAME=
LC_MEASUREMENT
LC_IDENTIFICAT
LC_NUMERIC=
LC_PAPER=
ProcVersionSign
SourcePackage: sudo
Tags: precise
Uname: Linux 3.2.0-23-virtual x86_64
UpgradeStatus: No upgrade log present (probably fresh install)