#4273 NORM Update.: Update deletes user password

Zarro Boogs per Child bugtracker at laptop.org
Sat Jun 7 12:16:37 EDT 2008


#4273: Update deletes user password
------------------------------+---------------------------------------------
  Reporter:  bert             |       Owner:  cscott          
      Type:  defect           |      Status:  new             
  Priority:  normal           |   Milestone:  Update.2 (8.2.0)
 Component:  upgrade utility  |     Version:                  
Resolution:                   |    Keywords:  relnote         
  Verified:  0                |    Blocking:                  
 Blockedby:                   |  
------------------------------+---------------------------------------------

Comment(by cscott):

 A reasonable solution would be to patch useradd in some similar way to log
 user creation for replay on first boot of the upgrade.  /etc/passwd is a
 tricky fish, because UIDs below 500 (or is it 1000 for Fedora) are
 "system" data, and UIDs above that are "user" data.  Somehow those files
 need to be split, with half managed by olpc-update and half kept in /home
 or /security.

 In some sense, what's really wanted is for /etc/password to look for login
 data for user 'XYZ' in /home/XYZ/.login-data or some such, which would
 avoid these problems and let the user more easily manipulate her own data
 w/o resort to setuid tools.  It's possible that a glibc NSS plugin could
 be designed along these lines, but that seems like a big Help Wanted task
 to me (ie, not something we're likely to get to soon).

-- 
Ticket URL: <http://dev.laptop.org/ticket/4273#comment:6>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list