On 7/10/19 2:02 AM, list.w...@gmail.com wrote:
On Tuesday, 9 July 2019 12:31:23 UTC, steve.coleman wrote:
On 7/9/19 7:25 AM, <me> wrote:
Hi, I installed a Ubuntu-14.04 minimal template from qubes.3isec.org using
$ sudo dnf install qubes-template-stretch-minimal-4.0.1-201812230252.noarch.rpm
and that works 'fabelhaft' (German for 'fabulously' :), but inside the running
template I'm asked for a password when I try to sudo my way into apt-get update.
Does anyone know the password for 'user'?
Thanks.
If you can not sudo, you can always try running your command from Dom0
as user root:
$ qvm-run -a --user root <YourTemplateNameHere> "apt-get update"
Thanks.
I not only want to update, I also want to run all other kinds of commands as
sudo. Do you think I can run any command like this inside the qube from within
dom0?
You can also run any other command as root, like "passwd user" to set
the password to a know value, or "gedit /etc/sudoers" and modify who can
sudo, add yourself to the wheel group, etc... I can't say why your
particular appvm prevents you from sudoing without testing the vm
myself, but whatever the problem is, you now have a way to get a root
shell to fix it.
hope this helps
--
You received this message because you are subscribed to the Google Groups
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/qubes-users/7aef641a-2065-ad04-8279-0de94d0c97de%40jhuapl.edu.
For more options, visit https://groups.google.com/d/optout.