-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need to fix the bug that keeps asking for the password when adjusting the date and time #165
Comments
Can normal users adjust the machine-wide time without needing sudo on FreeBSD? |
That is clearly un unexpected result, ask for Password yes but in loop no .... I do not like that password ask, the window look worng and pop too mush, both trouble make a bad result ask you movie show. In general that is it window it should pop: That is the small lock on the left bottom it make the job. That tool in my scope i'll fork it under contruction and take a look ... i post here news. Enjoy !!! |
I just have create a draft pull request #170. |
I can confirm the trouble
My frist idea was to use a QProcess class for emit needed signals, then keep the control of what happen or not in the App. Brieff i got the root cause, and a hammer for speack with ... Frist step is to migrate to a True View system then separate the GUI to a .ui file. Just in case something still move, the backend will use a dedicated threads and the only one object it can speack with it will be the Controller. About security. Basically i do my best to push the responssability of the askpass somewhere else of the application. |
I Share to link here about how FreeDesktop want deal with App privilege. https://www.freedesktop.org/software/polkit/docs/latest/ and a Qt Binding (Not KAuth) https://api.kde.org/polkit-qt-1/html/ The BSD Native pakage: https://freebsd.pkgs.org/13/freebsd-amd64/polkit-qt-1-0.114.0.pkg.html If remenber well Politkit was near a gas engine, and it do not exist a python binding.... Just to know. it have a raison about why sudo is use for permission ? that is two different method. sudo change the user for execute a action (Then start in amount of the application) In general the permission esclation is not under the app responssability. |
Please do not use PolKit in helloSystem. https://github.com/helloSystem/hello/wiki/Welcome-and-unwelcome-technologies |
Yes i got it. I have read that page, The line about polkit look a bit worng to me , Only pkexec is similar to sudo, THAT THE ONLY ONE SIMILARITY .... doas is similar to sudo where polkit is not... I do my best to use Sudo, trust me i'll not doing dangerous thing for the system. My reaction is about the confusion about Sudo / Polkit: everyone show screenshoot or execpt the result of the PolKit Auth Agent .... Here will use Askpass the result will be totally different. For me and unfortunally it do not exist alternative to Polkit .... And Sudo or Doas are NOT... Personally i simply hate lot polkit... i'm force to install it, but it have choise and no alternative .... KDE, XFCE, GNOME use it .... My reaction will be all time that confusion will be done. The troouble is not relatif to GNU/Linux... Just install KDE/GNOME or XFCE on th BSD machine, it will work only because polkit is use .... We are in front of a maturity touble. Are we shure about a Desktop exist without polkit ? why that ? All the trouble look to be confusion about Sudo is similar to Polkit.... |
Life is much more pleasant once one stops using software that one thinks one is "forced" to. (This was a reason for me to start helloSystem - get rid of everything I don't like. ;-) |
We'll found a way by the door or the window.... |
PC-1-screen0.webm
Need to fix the bug that keeps asking for the password when adjusting the date and time
Originally posted by @louies0623 in #163 (comment)
The text was updated successfully, but these errors were encountered: