Skip to main content
added 5 characters in body
Source Link
MC68020
  • 8.7k
  • 3
  • 25
  • 52

I was learning rust. I am building a simple GUI application that scrapes through aur and installinstalls a package. I am using tauri for GUI.

So, to install an aur application, I will run makepkg -si inside the package directory. But, it asks for root password in the middle of installinginstallation. After searching web, I came to know, I can use pkexec to ask password graphically but pkexec is like using sudo and running makepkg as sudo is not allowed.

Any idea of what should iI do? IsAre there any articles where iI can look into it?

I was learning rust. I am building a simple GUI application that scrapes through aur and install a package. I am using tauri for GUI.

So, to install an aur application, I will run makepkg -si inside the package directory. But, it asks for root password in the middle of installing. After searching web, I came to know, I can use pkexec to ask password graphically but pkexec is like using sudo and running makepkg as sudo is not allowed.

Any idea what should i do? Is there any articles where i can look into it?

I was learning rust. I am building a simple GUI application that scrapes through aur and installs a package. I am using tauri for GUI.

So, to install an aur application, I will run makepkg -si inside the package directory. But, it asks for root password in the middle of installation. After searching web, I came to know, I can use pkexec to ask password graphically but pkexec is like using sudo and running makepkg as sudo is not allowed.

Any idea of what should I do? Are there any articles where I can look into ?

Source Link

How to ask for root password from the user for my GUI app which pipes it to makepkg?

I was learning rust. I am building a simple GUI application that scrapes through aur and install a package. I am using tauri for GUI.

So, to install an aur application, I will run makepkg -si inside the package directory. But, it asks for root password in the middle of installing. After searching web, I came to know, I can use pkexec to ask password graphically but pkexec is like using sudo and running makepkg as sudo is not allowed.

Any idea what should i do? Is there any articles where i can look into it?