Running application with user privillegions.
-
No,no attacker not recieve permissions, but idea not bad. I love Qt and this function for me needed for devleopment, because user also must be entering password.
@nicholas_ru
We have given you the alternative approaches for running setuid. Qt itself is not going to add anything in this area. -
Well then my development will be limited and I'll have to look for other ways to implement it.
-
Well then my development will be limited and I'll have to look for other ways to implement it.
@nicholas_ru
Gave you the 3 ways to implement it above in https://forum.qt.io/post/837390. Don't know what other ways you want or need, don't know why you don't pursue these. You seem to ask the question but not prepared to follow the suggestions. Up to you. -
Well then my development will be limited and I'll have to look for other ways to implement it.
@nicholas_ru Since you used GParted as an example, use the same technique they use.
https://gitlab.gnome.org/GNOME/gparted/-/blob/master/src/main.cc?ref_type=heads
https://gitlab.gnome.org/GNOME/gparted/-/blob/master/org.gnome.gparted.policy.in.in?ref_type=heads -
@nicholas_ru Since you used GParted as an example, use the same technique they use.
https://gitlab.gnome.org/GNOME/gparted/-/blob/master/src/main.cc?ref_type=heads
https://gitlab.gnome.org/GNOME/gparted/-/blob/master/org.gnome.gparted.policy.in.in?ref_type=heads -
Nice to know :)
*.in.infile?!
So a file template for a file template for an actual file? :D@Pl45m4 said in Running application with user privillegions.:
Nice to know :)
*.in.infile?!
So a file template for a file template for an actual file? :DThere's never enough indirection... :-D
-
I think he wants to run a process with administrative privileges by showing a UAC (User Account Control) dialog. This is what, for example, balenaEtcher does when it needs to burn a drive. Is this correct?
-
Linus Torvalds hate C++ because it dificult and not t easy.Not UAC, read up, Linux.It so for me, i liked, Unixpled
-
Torvalds allowed Rust into the kernel (2022) but not C++.
Grandpa is doing his own thing and I stopped questioning stuff.
-
Linus Torvalds hate C++ because it dificult and not t easy.Not UAC, read up, Linux.It so for me, i liked, Unixpled
@nicholas_ru said in Running application with user privillegions.:
Linus Torvalds hate C++ because it dificult and not t easy.Not UAC, read up, Linux.It so for me, i liked, Unixpled
Don't know what you're saying, but the ability to set or change user privilege has nothing to do with C++ and really little to do with programming.
-
It's talk about them, that code must be easy, and user permissions change must be flug also easy.
-
It's talk about them, that code must be easy, and user permissions change must be flug also easy.
If changing user permissions were that easy, it would defeat its purpose.
-
It must easy for developers and users.
-
Torvalds allowed Rust into the kernel (2022) but not C++.
Grandpa is doing his own thing and I stopped questioning stuff.
@J.Hilk grandfather create for you Linux and GIT,you use it
-
I use LXDE.This is GNOME.Gvfs.I am not knowladge how understand.Paradox