Commit 3f30e8af authored by Ramon Buldó's avatar Ramon Buldó

Users: don't add user to disk and storage group

add users to sys, permission to administer cups

fix https://github.com/manjaro/manjaro-settings-manager/issues/114
parent 88f9d2d3
......@@ -103,7 +103,7 @@ void AddUserDialog::buttonCreate_clicked()
KAuth::Action installActionAdd( QLatin1String( "org.manjaro.msm.users.add" ) );
installActionAdd.setHelperId( QLatin1String( "org.manjaro.msm.users" ) );
QVariantMap args;
QString defaultUserGroups {"video,audio,power,disk,storage,optical,network,lp,scanner"};
QString defaultUserGroups {"video,audio,power,optical,network,lp,scanner,sys"};
args["arguments"] = QStringList() << "-m" << "-p" << "" << "-U" << "-G" << defaultUserGroups << username;
installActionAdd.setArguments( args );
KAuth::ExecuteJob* jobAdd = installActionAdd.execute();
......
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