Root password needed

Message
Author
cearlp

Root password needed

#1 Post by cearlp »

Trying to apply the 'updates available' needs a password to unlock the 'default' keyring.
The only password setup during the installation of MX 14 is not the correct one.
Is there a root password and if so, where is it configured in MX 14 installation?

User avatar
anticapitalista
Developer
Posts: 4314
Joined: Sat Jul 15, 2006 10:40 am

Re: Root password needed

#2 Post by anticapitalista »

When you installed, you had to set up both username/password and a root passowrd. The installer would have failed if you didn't enter a root password.
anticapitalista
Reg. linux user #395339.

Philosophers have interpreted the world in many ways; the point is to change it.

antiX with runit - lean and mean.
https://antixlinux.com

User avatar
dolphin_oracle
Developer
Posts: 22647
Joined: Sun Dec 16, 2007 12:17 pm

Re: Root password needed

#3 Post by dolphin_oracle »

the mx installer asks you to set up two passwords. 1 for the user, and one for root. the password being asked for is the root password, which you should have set up on the same screen in the installer as the user password.

if you need to reset the root password, try this

Code: Select all

$sudo passwd root

which will first ask for the USER password, then ask for anew unix password, which will be the new root password.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Live system help document: https://mxlinux.org/wiki/help-antix-live-usb-system/

User avatar
Jerry3904
Administrator
Posts: 23453
Joined: Wed Jul 19, 2006 6:13 am

Re: Root password needed

#4 Post by Jerry3904 »

Huh. Doesn't that make an installation awfully vulnerable to hijacking?
Production: MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

User avatar
dolphin_oracle
Developer
Posts: 22647
Joined: Sun Dec 16, 2007 12:17 pm

Re: Root password needed

#5 Post by dolphin_oracle »

maybe, but you can already use sudo for just about anything.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Live system help document: https://mxlinux.org/wiki/help-antix-live-usb-system/

cearlp

Re: Root password needed

#6 Post by cearlp »

Thanks All. I did the installation but don't remember a root password being asked for...probably did a memory reset somewhere along the way?....but going into terminal and resetting root as suggested is all I need to solve my problem.

User avatar
uncle mark
Posts: 867
Joined: Sat Nov 11, 2006 9:42 pm

Re: Root password needed

#7 Post by uncle mark »

Jerry3904 wrote:Huh. Doesn't that make an installation awfully vulnerable to hijacking?
If someone has physical access and knows the user password, then it's already game over.
Custom build Asus/AMD/nVidia circa 2011 -- MX 19.2 KDE
Acer Aspire 5250 -- MX 21 KDE
Toshiba Satellite C55 -- MX 18.3 Xfce
Assorted Junk -- assorted Linuxes

User avatar
BitJam
Developer
Posts: 2303
Joined: Sat Aug 22, 2009 11:36 pm

Re: Root password needed

#8 Post by BitJam »

Jerry3904 wrote:Huh. Doesn't that make an installation awfully vulnerable to hijacking?
It requires physical access. And the user's password. With physical access alone, an intruder could reboot into a liveCD/USB and change whatever they want on the installed system.

This goes back to the "su" versus "sudo" debate. If a system is set up to use "su" instead of "sudo" then the root password is required to work on the system. With "sudo" only a user password is required (depending on how sudo is set up). The sudo approach is much more flexible and is usually considered to be more secure, especially if you have multiple users. You can easily allow users to have passwordless access to run certain command as root but still be locked out of getting root privileges in general.

Ninja'ed by uncle mark.

User avatar
joany
Posts: 235
Joined: Mon Feb 12, 2007 12:45 pm

Re: Root password needed

#9 Post by joany »

If you don't remember your root password, then "sudo anything" won't work. But you can reset a lost root password by logging in single-user mode or resetting the password file through a boot disk. See those procedures here: http://linuxgazette.net/107/tomar.html

Of course, these methods require physical access to the machine, and as others point out, physical access gives a hacker almost unlimited access (unless the HDD is encrypted).
MX-14; 3.12-0.bpo.1-686-pae kernel using 4GB RAM
2.4GHz AMD Athlon 4600+
NVidia GeForce 6150 LE; 304.121 Display Driver
You didn't slow down because you're old; you're old because you slowed down.

User avatar
BitJam
Developer
Posts: 2303
Joined: Sat Aug 22, 2009 11:36 pm

Re: Root password needed

#10 Post by BitJam »

Obligatory xkcd cartoon.

Post Reply

Return to “General”