⚠️ Forum Maintenance: Feb 6th, 8am - 14pm (UTC+2)
Changing User or root password through Qt app
chronix last edited by
I wrote an Qt app that creates new user in linux system!
Simply taking in input and gives it to a bash script as argument which runs the command useradd
all that is ok and working great
bt im not able to update password for the newly created user
how can i do that?
thanks all! :D
It's outside Qt scope, you need to use something like "KDE's AuthorizationAgent dialog":http://docs.kde.org/stable/en/kde-workspace/PolicyKit-kde/authorizationagent-dialog.html or implement your own thing