-
Notifications
You must be signed in to change notification settings - Fork 41
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
remote invocation via SSH #129
Comments
it should be related to dnfdaemon iirc, @Conan-Kudo what do you think? |
I don't know how yumex-dnf enabled that model, but at least from the dnfdaemon side, it should be possible, provided you have a working CLI polkit agent. From the output shown here, it sounds like you don't? |
Just a question, with ssh -X ... did you run dndragora using X (so Qt or Gtk?) or the ncurses one? |
invoking dnfdragora without options --qt --gtk --ncurses does the same as |
note: and by the way.. @anaselli i wish for the Christmas a sambaconfig *looking like a cat/dog/Guinea pig with big eyes* pleeeeeaaasseee |
I have no idea what a 'CLI polkit agent' is for. Is this another layer of authentication on top of the usual sudo/sudoers/wheel method ? If yes, i would like to get rid of it |
yes usually Qt is the default, but it depends on display availability (I mean X). Honestly i haven't found that is issue by using X forwarding... but only using ncurses, that's why rights escalation is granted by an extra dialog (for user or root password) that cannot run over the ncurses main one (i.e. dnfdragora)
The reason why i said above. |
@peter-gsellmann, this is something like a command line (cli) policy kit, something like a "firewall" for internal files.. by "sudo passwd root" can you set a rootpassword, later can you go in as root with this: best |
Are we approaching a solution? |
With the hint to the 'polkit'-demon i was able to find the solution: on target system create file
copied from: ArchWiki It would be very helpful if this or a more specific file could be included in the RPM |
For security reasons, this will not be included in the package, but you are free to configure your system accordingly. |
i do
ssh -X fedora29machine dnfdragora
and select one or more packages to install.When i 'apply', the transaction preview pops up, then 'ok', but nothing is installed.
When i do the same on the local screen, a login-prompt pops up and the transaction succeeds.
This login-prompt is missed in the remote usecase.
When i do
ssh fedora29machine dnf -y install popt-devel
it succeeds, because i am in the wheel-group with NOPASSWD set.The old yumex-dnf had an option 'run backend with sudo' so i can do
ssh -X oldmachine yumex
and install packages as i want.Is it planned so this usecase is also possible with dnfdragora ?
Addendum 2019-02-12:
The following comes from stdout/stderr:
is there any env-variable i can set to get more detailed output?
The text was updated successfully, but these errors were encountered: