Persistent mode appends sudoers on each boot

Bug #175159 reported by era
2
Affects Status Importance Assigned to Milestone
casper (Ubuntu)
Fix Released
Undecided
Colin Watson

Bug Description

Binary package hint: casper

Gutsy persistent live USB stick here.

I noticed that the /etc/sudoers file on the casper-rw partition appears to be amended on each boot. I removed some fifteen progressively shorter instances of "NOPASSWD: NOPASSWD: NOPASSWD: ALL" from mine, but it's growing again.

I only noticed because something had added parts of some log file to my /etc/sudoers and when I trimmed those, I also took out a large amount of duplicated chaff.

Related branches

Revision history for this message
era (era) wrote :

Oh yeah, as usual, sorry if casper is not the correct package for this.

Revision history for this message
Colin Watson (cjwatson) wrote :

Thanks for your report; I've committed a fix for Hardy.

Changed in casper:
assignee: nobody → kamion
status: New → Fix Committed
Revision history for this message
Colin Watson (cjwatson) wrote :

casper (1.113) hardy; urgency=low

  [ Tollef Fog Heen ]
  * dpkg-divert away update-initramfs as it's useless on live CDs and
    annoying when people install LVM and similar tools in order to rescue
    a system. LP: #150188

  [ Colin Watson ]
  * Adjust /etc/sudoers editing code so that it doesn't repeatedly add
    "NOPASSWD:" in persistent mode (LP: #175159).
  * Avoid ejecting the CD if booting from an ISO image rather than from a
    physical CD (thanks, Agostino Russo; LP: #176014).

 -- Colin Watson <email address hidden> Wed, 19 Dec 2007 09:17:50 +0000

Changed in casper:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.