Linux mint user and password

Linux Mint Forums

Welcome to the Linux Mint forums!

Live Session User — su password?

Live Session User — su password?

Post by Topher_Linux » Fri May 16, 2014 1:51 pm

I’m running Linux Mint 16 Mate on a flashdrive. Because of this it was not installed like normal, but instead boots up to the Live user account. It was created with the Universal USB installer. (http://www.pendrivelinux.com/universal- . -as-1-2-3/)

When playing around with terminal I’ve run into a hitch with the password. I’ve never set one, and everything I’ve tried doesn’t work. (I’ve tried «password», «root», just pressing Enter, ect. )

Does anyone know what the default password is for a Live session user in Linux Mint 16?

Re: Live Session User — su password?

Post by xenopeek » Fri May 16, 2014 5:31 pm

Re: Live Session User — su password?

Post by Mute Ant » Fri May 16, 2014 5:44 pm

Re: Live Session User — su password?

Post by Topher_Linux » Mon May 19, 2014 12:48 pm

Hmm. so far no luck with any of those answers. Maybe I should explain what I am trying to do.

So I’m booted to the Live user account off a flashdrive like I wrote earlier. Now I am trying to install Pale Moon for Linux. I’ve download the file ‘pminstaller-0.1.3.tar.bz2’, extracted it, and then read the README. The readme tells me to install the program by typing «su -c ./pminstaller.sh» from the terminal.

But when I do this is asks for a password. None of the passwords I’ve tried have worked. I tried entering no password and just pressing enter. I’ve already tried «password» and «passwd». Every time it gives me the error «su: Authentication failure»

Other commands I’ve tried.
sudo -c ./pminstaller.sh
sudo -i -c ./pminstaller.sh
sudo -i ./pminstaller.sh
su -i -c ./pminstaller.sh
su -i ./pminstaller.sh

So far, none of those have worked. Unless I am doing something wrong here. Does anyone know what I might be overlooking?

Re: Live Session User — su password?

Post by Reorx » Mon May 19, 2014 12:55 pm

If that doesn’t work, try > logout and then log in as user mint. pw should be blank but if that doesnt work, try «mint» as the pw.

Full time Linux Mint user since 2011 — Currently running mostly LM19C and a little LM20C.

Re: Live Session User — su password?

Post by Topher_Linux » Mon May 19, 2014 2:21 pm

«mint», «Mint», and «MINT» don’t work.

If I try to Logout and then Switch User it places me on a screen where I can’t do anything except to Shutdown, Suspend, or Restart.

Re: Live Session User — su password?

Post by Mute Ant » Mon May 19, 2014 3:31 pm

Читайте также:  Как сбросить пароль суперпользователя linux

Источник

Reset the password for ROOT or any user


I am sure that people in the know can restore almost any password, it is important to know HOW. But I was wondering just how to recover passwords in my favorite OS is Linux Mint. In this article we will focus on the recovery of lost passwords for Linux Mint.
So, the following method is good because it is done very quickly and allows you to change the password to one or more users. On my operating system as most people have only one user, therefore the password root changing along with the password of the Main user.
That is, if I change the password to my single user l4l, then user root will automatically change the password. On other operating systems, I think the user root as separately. In any case I am not interested in, the main thing here everything is convenient and WORKS))))

First way
Let’s start, we need to get into the boot menu of GRUB. When the computer boots, hold down the “SHIFT” key. In the grub boot loader to select the desired OS and press “E” to edit the boot.

Next we need at the end of the kernel line, after quiet splash add rw init=/bin/bash and press “F10” to boot.

In this case, after the kernel is loaded, the control immediately proceeds to bash that allows you to change the passwords for all users. A working example can be seen in the picture below. Just write the command:

Restart the computer and can use the new password.
Second way
Recently read about another method of password recovery. Starts the same way, we need to enter GRUB

Once selected, you will see a window with many options, but for password recovery, you only need one – root

If you do not know your user name(perhaps you want to hack someone else’s computer), then enter the command

Источник

How to Reset a Forgotten Root Password in Linux Mint

It’s not unusual for users to forget their root passwords. It’s a common occurrence especially if you haven’t logged in as the root user for a long period of time. It can happen to the best of us. But don’t worry. In this guide, we will walk you through how you can reset a forgotten root password in Linux Mint.

To get started, power on or reboot your Linux Mint system. After a few seconds, you should get a grub menu on the screen as shown below.

Linux Mint Grub Menu

On the first highlighted option, press ‘e’ on the keyboard to edit the grub parameters. You should get the screen shown below.

Linux Mint Grub Parameters

Next, scroll down using the arrow down cursor key until you get to the line beginning with ‘linux’ . Navigate until you get to the ro quiet splash section and add rw init=/bin/bash .

Change Linux Mint Grub Parameter

Then press ctrl + x or hit F10 to boot into a single-user mode as shown below.

Linux Mint Single-User Mode

To reset the forgotten root password in Linux Mint, simply run the passwd root command as shown.

Specify the new root password and confirm it. If the password matches, you should get a ‘password updated successfully‘ notification.

Reset Root Password in Linux Mint

And finally, press Ctrl + Alt + Del to exit and reboot Linux Mint. You can now log in as the root user using the newly created password. And that’s how you can reset a forgotten root password om Linux Mint.

If You Appreciate What We Do Here On TecMint, You Should Consider:

TecMint is the fastest growing and most trusted community site for any kind of Linux Articles, Guides and Books on the web. Millions of people visit TecMint! to search or browse the thousands of published articles available FREELY to all.

Читайте также:  Сочетание клавиш windows 10 для скриншота экрана

If you like what you are reading, please consider buying us a coffee ( or 2 ) as a token of appreciation.

We are thankful for your never ending support.

29 thoughts on “How to Reset a Forgotten Root Password in Linux Mint”

It’s not working in Linux Mint 19.2.

Does not work in Linux Mint LMDE.

Thank you very much I won’t have done it without you.

Do not need to reboot just type:

After sudo su type your user’s password to enter super user then try the procedure on it.

Works on my Linux mint 19.3 cinnamon 🙂

Way to go Quantro !

sudo passwd root works in some cases in the single-line command given.

If the system’s superuser and other system users are the same people, passwords for superuser and regular username with restricted permissions are different in both users.

I was resetting the root password on my Linux Mint 20.1 Ulyssa 64-bit version earlier last month with a single-line comment

I think it worked very well.

Before I used Ubuntu variant Lubuntu 14 on my second Linux laptop brand new in the year 2005 and there was the solution by mounting your hard drive with reading and writing permissions before changing the password command in Recovery mode but like in this James Kiarie great blog post article, you have to reboot your system holding SHIFT-key.

It’s not necessary anymore for Mint users’ to reboot the whole system I think nowadays.

This option and possibility to reset admin’s and superusers passwords in Ubuntu and Mint make it there’s no way to use Mint or Ubuntu system in industrial use due to security issues what makes sense when Linux/Unix System Administration comes to industrial zone (For ie. Small company’s server for it needs excluding traffic outside of office’s IT Infra).

Does not quite work in Linux Mint 20 in single-user mode,

The solution, after doing: passwd root
do passwd your username

with your username (no caps) I suggest you set both the same password.

I have an added problem it says I was successful at changing my password but it still doesn’t work to log in. Is there a way to eliminate the password? I have not been able to get into my computer for a while now.

Running Linux Mint 20 updated on 1/1/2021 in single-user mode requiring entry of user password. Followed your instructions exactly and everything went as described. Entered and confirmed a new password and got “Password Successfully Changed”.

Used F10 key to continued booting. Got Enter the Password login screen and entered the new password. It said “the wrong password” I tried the new password several times and still got “the wrong password” — So I entered the OLD password and log-in proceeded as normal. Did several reboots including one from the power-down state — no luck. The new password is not recognized by the OLD password is.

So, as of January 1, 2021, the Grub modification of the root password does not seem to work. There is only one user on the system, so unless I don’t understand something the root password should be the Username password, right?

I have tried everything possible to change the login password on my laptop, with no results. I’m using Linux mint 19.3 cinnamon. Any suggestions out there!!

Thank you so much. Problem solved, thanks to your article.

You are very much welcome,

Got something to say? Join the discussion. Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Читайте также:  Запрос wmi версия windows 10

Источник

Linux Mint Forums

Welcome to the Linux Mint forums!

Installation screen expects Username and Password?

Installation screen expects Username and Password?

Post by TonyMi » Wed Jun 13, 2012 9:00 am

I’ve decided to give LMDE 2012 (32 bit) a try on an old laptop before installing on my main system.

The DVD has booted, no problem but I cannot get to install the system since Linux Mint is expecting a Username and Password in the Welcome screen. Well I do not have these since the installation hasn’t taken place so they do not exist. I’ve tried the usual of root and administrator in various combinations but without being able to get in. Does anyone have a clue as to what the username and password should be?

Also whilst writing, should I choose MATE or CINNAMON? (if I get that far), I’ve not yet found a good comparison to help me decide which is the best way to go.

Many Thanks, Tony.

Re: Installation screen expects Username and Password?

Post by Bonsaii » Wed Jun 13, 2012 9:48 am

Hi,
as you can read here:

Login and password for the live session

The Live session should log you in automatically. If it doesn’t, or if you need to login manually (for instance, to try out Cinnamon), you can use the following credentials:

For the username, type “mint”
For the password, if asked, just press Enter.

Re: Installation screen expects Username and Password?

Post by TonyMi » Wed Jun 13, 2012 10:52 am

Re: Installation screen expects Username and Password?

Post by nsbaba » Mon Aug 13, 2012 8:21 am

I tried to install Linux mint 32bit Mate on my HP Pavilion dv2000, using DVD, but the installer is asking for user name and password, as per the suggestion by the forum I tried user name «mint» (without quotes) and for password just pressed «Enter» The Login screen is showing wrong username and password. Would anyone help me install Linux mint on my personal box, I don’t have Internet connection to the box.

I tried on virtual box in DELL Vostro on windows 7. successfully installed and simply awesome

Thanks in advance.

Re: Installation screen expects Username and Password?

Post by Cocolate » Sat Jun 14, 2014 9:05 pm

Man seriously? Why is there a login username and pass and then I cant find jack about it online as to how to login?

Ive tried like 20 different logins and read at least 20 search results. Whats the deal? What is the login?

Re: Installation screen expects Username and Password?

Post by Spearmint2 » Sat Jun 14, 2014 9:50 pm

Login and password for the live session

The Live session should log you in automatically. If it doesn’t, or if you need to login manually (for instance, to try out Cinnamon), you can use the following credentials:

For the username, type «mint»
For the password, if asked, just press Enter.

Re: Installation screen expects Username and Password?

Post by Cocolate » Mon Jun 16, 2014 9:18 pm

Hi thanks everyone. It was asking me for login credentials because I created the USB as ext 4. I did that because it didnt seem like it was working when I was trying ext 2 (its been a while since I made a live usb so I forgot if it was ext 2 or ext 4). When I changed it to ext 2 it took me to the live desktop as default. I made it as ext 4 because on ext 2 the USB looked like it froze at 65% I finally ended up leaving it when it did the same on ext 4 and after about 15min it completed.

Thanks for your help. It was just a Live USB creation error

Источник

Оцените статью