LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-04-2020, 08:30 PM   #1
eco_bach
Member
 
Registered: Dec 2016
Posts: 242

Rep: Reputation: Disabled
Can't change login pw


Ubuntu MATE 18.04 LTS. Have forgotten my login PW so have attempted to change it following these directions https://itsfoss.com/how-to-hack-ubuntu-password/

Boot into recovery mode
Get into shell prompt
$ mount -rw -o remount /
$ passwd jim
$ new password
$ new password
$ exit
Then booted normally. However it didn't work. My new pw that is.

Am I at least correct in assuming my username is correct?



What should I try next? Any feedback welcome!
Attached Thumbnails
Click image for larger version

Name:	ubuntu.jpg
Views:	18
Size:	236.7 KB
ID:	33339  
 
Old 06-04-2020, 09:06 PM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
If user jim did not exist on this PC, you would have seen an error message when trying to change the password.

Perhaps your keyboard layout is different in recovery mode than in graphics mode. Try a very simple password such as "aaaa" (as superuser, you can set passwords that would normally not be accepted due to lack of complexity) that is not affected by layouts.
 
1 members found this post helpful.
Old 06-04-2020, 10:10 PM   #3
eco_bach
Member
 
Registered: Dec 2016
Posts: 242

Original Poster
Rep: Reputation: Disabled
So I assume my issue is disk space. I logged into text terminal and freed up some space in /home but still showing 100% usage in / (root)

What is the safest way to free up space in root from the text terminal?
 
Old 06-04-2020, 11:58 PM   #4
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by eco_bach View Post
So I assume my issue is disk space. I logged into text terminal and freed up some space in /home but still showing 100% usage in / (root)

What is the safest way to free up space in root from the text terminal?
First, find out where the space is used up. In your case, /home seems to be a separate filesystem (quite common), so that removing files from there doesn't help.

To see how much space is used by the various directories on the root file system, you can run the command du -sx /*. The -s option generates a summary, the -x option prevents from reporting space on other filesystems.

After that, analyze the filesystems with the largest space usage until you find a directory from where it is safe to remove files and that occupies a good chunk.

If you need help with that, start by sharing the output of that command.
 
1 members found this post helpful.
Old 06-05-2020, 02:17 PM   #5
eco_bach
Member
 
Registered: Dec 2016
Posts: 242

Original Poster
Rep: Reputation: Disabled
Thanks! Turns out I simply needed to get into trash in root user and delete some of the files.
 
1 members found this post helpful.
Old 06-05-2020, 02:35 PM   #6
sevendogsbsd
Senior Member
 
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,252

Rep: Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010
FYI: root should never have trash so this tells me a graphical session is being used as root or no? I would advise against ever using a graphical session as root but it's your call.
 
1 members found this post helpful.
  


Reply

Tags
login password, ubuntu


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to change login screen and login box....?? dEnDrOn Linux - Newbie 44 07-08-2011 03:42 AM
how to disable "last login log" & disable "last login message" when start login. hocheetiong Linux - Newbie 4 02-08-2011 05:35 AM
Change Fedora Login Screen to KDE login screen ada601 Linux - Software 2 08-15-2004 05:07 PM
How 2 change from Gnome Login to KDE login Swene Linux - General 7 05-13-2002 12:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration