export apps/bins using sudo
- 主要言語
- Go
- スター
- 13k
- フォーク
- 541
- 平均マージ
- 20時間 47分
- マージ済み PR(30日)
- 4
説明
I have 2 questions related to distrobox-export using the "--sudo" flag:
1. Is it possible to specify --sudo as part of distrobox-assemble's "exported_bins" and "exported_apps"? I'm not sure if this is already possible or if it's a feature request. The following process is functional, but it would be nice to automate the process using distrobox-assemble:
- `distrobox-enter --root `
- Set the password when prompted
- Run a sudo command (in my testing, this is required; otherwise, distrobox-export hangs on `sudo -S test`)
- `distrobox-export --bin --sudo`
- `distrobox-export --app --sudo`
2. When running distrobox within Crostini, how can I configure an exported app to prompt for a sudo password via GUI?
- Example: `distrobox-export --app gparted --sudo` succeeds, but nothing happens after launching the corresponding .desktop file (presumably because there is no way for the user to enter the sudo password)
- Background information: I am running distrobox (via docker) from the default "Crostini" Linux container (Debian 12) on ChromeOS. Crostini allows sudo, but if I understand correctly, it does not actually have a root password and therefore is not compatible with other authentication methods, such as those outlined [here](https://github.com/89luca89/distrobox/blob/main/docs/useful_tips.md#using-a-command-other-than-sudo-to-run-a-rootful-container); I believe each of these methods will request the host's root password, which does not exist in Crostini.
Thank you!
コントリビューションガイド
評価
この issue はまだ評価されていません。