Ubuntu 11.04 and sudo caching

36 views
Skip to first unread message

Paul Annesley

unread,
Jun 21, 2011, 1:55:30 AM6/21/11
to babush...@googlegroups.com
Has anybody tried installing babushka on Ubuntu 11.04 Natty Narwhal?

sudo auth caching seems to be working normally:
====================
paul@natty:~$ sudo whoami
[sudo] password for paul: 
root
paul@natty:~$ sudo whoami
root
====================

But installing babushka prompts for sudo password every time it is required:
====================
paul@natty:~$ bash -c "`wget -O - babushka.me/up/hard`"
...
            existing.install_path {
              meet {
[sudo] password for paul: 
[sudo] password for paul: 
[sudo] password for paul: 
... (repeat 17 times)
[sudo] password for paul: 
              }
            } ✓ existing.install_path
====================

This continues throughout the install process.

Any ideas what could have changed in Natty?

Cheers,
Paul

Paul Annesley

unread,
Jun 21, 2011, 2:15:23 AM6/21/11
to babush...@googlegroups.com
Ah excellent - your fix does the job for the moment:
Defaults !tty_tickets

Cheers!
Paul

On Tuesday, 21 June 2011 at 4:08 PM, Ben Hoskings wrote:

Yep, it's an issue that was introduced in 11.04, it's a sudo configuration change.

The same is true for Arch Linux:


Not sure what the best approach is here.

—Ben


Ben Hoskings

unread,
Jun 21, 2011, 2:08:33 AM6/21/11
to babush...@googlegroups.com
Yep, it's an issue that was introduced in 11.04, it's a sudo configuration change.

The same is true for Arch Linux:


Not sure what the best approach is here.

—Ben


On 21/06/2011, at 3:55 PM, Paul Annesley wrote:

Ben Hoskings

unread,
Jun 21, 2011, 2:16:37 AM6/21/11
to babush...@googlegroups.com
That's a @dgoodlad special :)

On 21/06/2011, at 4:15 PM, Paul Annesley wrote:

> Ah excellent - your fix does the job for the moment:
> Defaults !tty_tickets
>
> Cheers!
> Paul
>
>
> On Tuesday, 21 June 2011 at 4:08 PM, Ben Hoskings wrote:
>
>> Yep, it's an issue that was introduced in 11.04, it's a sudo configuration change.
>>
>> The same is true for Arch Linux:
>>
>> https://github.com/benhoskings/babushka/blob/master/lib/babushka/pkg_helpers/pacman_helper.rb#L11-17
>>
>> Not sure what the best approach is here.
>>
>> —Ben
>>
>>
>> On 21/06/2011, at 3:55 PM, Paul Annesley wrote:
>>> Has anybody tried installing babushka on Ubuntu 11.04 Natty Narwhal?
>>>
>>> sudo auth caching seems to be working normally:
>>> ====================
>>> paul@natty:~$ sudo whoami
>>> [sudo] password for paul:
>>> root
>>> paul@natty:~$ sudo whoami
>>> root
>>> ====================
>>>
>>> But installing babushka prompts for sudo password every time it is required:
>>> ====================

>>> paul@natty:~$ bash -c "`wget -O - babushka.me/up/hard` (http://babushka.me/up/hard`)"


>>> ...
>>> existing.install_path {
>>> meet {
>>> [sudo] password for paul:
>>> [sudo] password for paul:
>>> [sudo] password for paul:
>>> ... (repeat 17 times)
>>> [sudo] password for paul:
>>> }
>>> } ✓ existing.install_path
>>> ====================
>>>
>>> This continues throughout the install process.
>>>
>>> Any ideas what could have changed in Natty?
>>>
>>> Cheers,
>>> Paul
>>>
>>> --

>>> To post, email babush...@googlegroups.com (mailto:babush...@googlegroups.com)
>>> To unsubscribe, email babushka_app...@googlegroups.com (mailto:babushka_app...@googlegroups.com)

>> To post, email babush...@googlegroups.com (mailto:babush...@googlegroups.com)
>> To unsubscribe, email babushka_app...@googlegroups.com (mailto:babushka_app...@googlegroups.com)

Reply all
Reply to author
Forward
0 new messages