Re: Admin Root user [not set to default]
On Wed, Apr 09, 2025 at 10:50:54 +0100, James Freer wrote:
> I've just done my install of Debian 12 Live XFCE version.
I really don't understand why so many people do this. Why would you
install using a "Live" medium instead of the real installer?
Anyway, the Live version doesn't set a root password, and doesn't
give you the chance to set one during installation. It just assumes
you will want to use sudo for everything. But don't worry about that --
once you boot into the installed system, you can do whatever you want
to it, including setting a root password.
Just become root via sudo, and then run "passwd root". So, either of
these:
sudo passwd root
sudo -i
passwd root
The second one may be more convenient if you want to run several
commands as root instead of just one. E.g. you might want to install
a whole bunch of packages using apt or apt-get, and already being in
a root shell will make that slightly more convenient.
Reply to: