Changeset 5bfd1ee


Ignore:
Timestamp:
Jul 15, 2013 10:05:39 AM (9 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, 9.2-release, releng/10.0, releng/10.0.1
Children:
810de8e
Parents:
727410d
Message:

When we add a user, make them apart of the vboxusers group

Location:
src-qt4
Files:
2 edited

Legend:

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

    re9326b4 r5bfd1ee  
    415415    ufile.close(); 
    416416  } 
    417   QString userCmd = " | pw useradd -n \"" + lineUsername->text() + "\" -c \"" + lineName->text() + "\" -h 0 -s \"/bin/csh\" -m -d \"/usr/home/" + lineUsername->text() + "\" -G \"wheel,operator\""; 
     417  QString userCmd = " | pw useradd -n \"" + lineUsername->text() + "\" -c \"" + lineName->text() + "\" -h 0 -s \"/bin/csh\" -m -d \"/usr/home/" + lineUsername->text() + "\" -G \"wheel,operator,vboxusers\""; 
    418418  system("cat " + ufile.fileName().toLatin1() + userCmd.toLatin1()); 
    419419  ufile.remove(); 
  • src-qt4/pc-installgui/installer.cpp

    r023bab4 r5bfd1ee  
    14801480   userList << "userShell=" + fShell; 
    14811481   userList << "userHome=/home/" + fUserName; 
    1482    userList << "userGroups=wheel,operator"; 
     1482   userList << "userGroups=wheel,operator,vboxusers"; 
    14831483   userList << "commitUser"; 
    14841484   userList << ""; 
Note: See TracChangeset for help on using the changeset viewer.