Changeset b84dfe9


Ignore:
Timestamp:
Aug 27, 2013 9:41:24 AM (8 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, 9.2-release, releng/10.0, releng/10.0.1
Children:
5e274ef
Parents:
bfe4e62
Message:

Fix a bug running enable_user_pefs when the user may have a " in their password

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-qt4/pc-firstbootgui/firstboot.cpp

    rd277133 rb84dfe9  
    456456  // Encrypt the users home-directory? 
    457457  if ( checkEnc->isChecked() ) 
    458     system("enable_user_pefs " + lineUsername->text().toLatin1() + " " + linePW->text().toLatin1()); 
     458    system("enable_user_pefs '" + lineUsername->text().toLatin1() + "' '" + linePW->text().toLatin1() + "'"); 
    459459 
    460460  // Do we need to change the system hostname? 
Note: See TracChangeset for help on using the changeset viewer.