" If you wish to run apt-get, you will either need to grant a root
password, 'and use su'.."

In Ubuntu Core "root" user is already added but i don't know root user
password (and it dont ask me to reset root user password adduser command
just say user already present), may be i missed something very basic?

I would like to use it to install packages (i.e. sudo and other necessary,
resolving dependencies manually is tedious :( ) su asks for root password
but i dont know it.. For the same purpose i added "ubuntu" user to sudo
group (but you already clarified without sudo pakcages it would not have
any effect).

The reason i am interesting these packages from Ubuntu Core is because it
seems something really obvious to have root access in an OS,  but su asks
for password which i dont know...

Thanks,
Saqlain.

On Tue, Dec 4, 2012 at 7:14 PM, Emmet Hikory <per...@ubuntu.com> wrote:

> Saqlain Abbas wrote:
> > I have installed Ubuntu core on VM i followed instruction from
> >
> > https://wiki.ubuntu.com/Core
> >
> > I am able to boot and login, but if try apt-get install I get below
> errors,
> > my system (virgin ubuntu core) got no packages installed like synaptic
> > package manager etc
> >
> > "could not open lock file /var/lib/dpkg/lock -open (13:permission denied)
> > unable to lock the administration directory (/var/lib/dpkg) , are you
> root?"
> >
> > I can't try using "sudo" command as it is not installed on (ubuntu core).
>
>     If you wish to run apt-get, you will either need to grant a root
> password,
> and use su, or mount the filesystem on some other machine, chroot into it,
> and
> install sudo from the chroot.
>
> > [T]he user i created "ubuntu" I added it to adm and sudo groups,
> > "groups" command shows it is added to "ubuntu" "adm" and "sudo" groups.
> My
> > other part of question is as user is added to sudo group why i got no
> > "root" permission?
>
>     Because the sudo package is not installed, so there is no
> interpretation
> of the sudo group meaning anything.  While the adm group does grant the
> ability
> to access many files, it does not provide for any sort of root access.
>
> --
> Emmet HIKORY
>
> --
> Ubuntu-devel-discuss mailing list
> Ubuntu-devel-discuss@lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss
>



-- 
Kind Regards,
Saqlain Abbas.
-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss

Reply via email to