Commit 29b03856 authored by dalto's avatar dalto
Browse files

Merge branch 'fixbranch' into 'master'

Fix useradd

Closes #2

See merge request !1
parents eb0ea498 f27576d5
......@@ -104,7 +104,7 @@ void AddUserDialog::buttonCreate_clicked()
installActionAdd.setHelperId( QLatin1String( "org.garuda.msm.users" ) );
QVariantMap args;
QString defaultUserGroups {"video,audio,power,optical,network,lp,scanner,sys"};
args["arguments"] = QStringList() << "-m" << "-p" << "" << "-U" << "-G" << defaultUserGroups << username;
args["arguments"] = QStringList() << "-m" << "-U" << "-G" << defaultUserGroups << username;
installActionAdd.setArguments( args );
KAuth::ExecuteJob* jobAdd = installActionAdd.execute();
connect( jobAdd, &KAuth::ExecuteJob::newData,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment