Some beginner questions...

Alexander Neundorf neundorf at kde.org
Sat Mar 5 17:17:33 GMT 2022


On Sonntag, 21. November 2021 21:38:14 CET Albert Astals Cid wrote:
> El diumenge, 21 de novembre de 2021, a les 18:20:08 (CET), Alexander 
Neundorf va escriure:
...
> > Is there a reason why less, vi and mc are not part of the image ?
> > They make working in the container much nicer :-)
> 
> You can always
>   sudo apt install vim
> no?

I get errors:
I have no name!@8fdf0c048ce2:~$ sudo apt-get install vim
sudo: you do not exist in the passwd database
I have no name!@8fdf0c048ce2:~$ 

When mounting /etc/passwd into the container I get the following:

alex at 792716dfb133:~$ sudo apt-get install vim
[sudo] password for alex: 
Sorry, try again.
[sudo] password for alex: 
Sorry, try again.
[sudo] password for alex: 
sudo: 3 incorrect password attempts

When also mounting my /etc/sudoers into the container, I get a parsing error 
from sudo, probably because Ubuntu sudo is slightly different from OpenSUSE 
sudo ?

What's the recommended way to do that ?

Thanks
Alex





More information about the KDE-Android mailing list