[SAC] sudo changes on trac?

Martin,

I find I am unable to sudo on the Trac VM:

warmerdam@tracsvn:~$ sudo ls
[sudo] password for warmerdam:
sudo: PERM_ROOT: setresuid(0, -1, -1): Operation not permitted
sudo: unable to open /var/lib/sudo/warmerdam/0: Operation not permitted
sudo: unable to set supplementary group IDs: Operation not permitted
sudo: unable to execute /bin/ls: Operation not permitted

Any thoughts on something that may have changed resulting in this?

Best regards,
Frank
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Software Developer

On 04/25/2015 09:10 PM, Frank Warmerdam wrote:

Martin,

I find I am unable to sudo on the Trac VM:

warmerdam@tracsvn:~$ sudo ls
[sudo] password for warmerdam:
sudo: PERM_ROOT: setresuid(0, -1, -1): Operation not permitted
sudo: unable to open /var/lib/sudo/warmerdam/0: Operation not permitted
sudo: unable to set supplementary group IDs: Operation not permitted
sudo: unable to execute /bin/ls: Operation not permitted

Any thoughts on something that may have changed resulting in this?

Best regards,
Frank

There were some Debian upgrade quirks on other machines that broke sudo
once. Maybe this is similar. Note I think your ssh key is in the root
account so you could just login to that to work around this blocker for now.

-Alex

Hi Alex, Frank,

On Sun, Apr 26, 2015 at 12:25:01AM -0700, Alex Mandel wrote:

There were some Debian upgrade quirks on other machines that broke sudo
once.

As far as I know this only affects Debian Wheezy (7) - see:

  http://wiki.osgeo.org/wiki/SAC:LDAP#Troubleshooting

[...] Maybe this is similar. Note I think your ssh key is in the root
account so you could just login to that to work around this blocker for now.

Correct. I'll try to find out what's wrong this time.

Cheers,
  Martin.
--
Unix _IS_ user friendly - it's just selective about who its friends are !
--------------------------------------------------------------------------

On Sat, Apr 25, 2015 at 09:10:40PM -0700, Frank Warmerdam wrote:

I find I am unable to sudo on the Trac VM:

It seems this was caused by me - I didn't follow my own advice. See
also:

  http://lists.osgeo.org/pipermail/sac/2012-October/004120.html

  Martin.
--
Unix _IS_ user friendly - it's just selective about who its friends are !
--------------------------------------------------------------------------

On Sat, Apr 25, 2015 at 09:10:40PM -0700, Frank Warmerdam wrote:

I find I am unable to sudo on the Trac VM:

Fixed - please test,

  Martin.
--
Unix _IS_ user friendly - it's just selective about who its friends are !
--------------------------------------------------------------------------

Martin,

Fix confirmed, thanks.

Best regards,
Frank

On Sun, Apr 26, 2015 at 12:26 PM, Martin Spott <Martin.Spott@mgras.net> wrote:

On Sat, Apr 25, 2015 at 09:10:40PM -0700, Frank Warmerdam wrote:

I find I am unable to sudo on the Trac VM:

Fixed - please test,

        Martin.
--
Unix _IS_ user friendly - it's just selective about who its friends are !
--------------------------------------------------------------------------
_______________________________________________
Sac mailing list
Sac@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/sac

--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Software Developer