Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
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