LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 05-10-2016, 02:07 PM   #1
drmeyers381
LQ Newbie
 
Registered: May 2016
Posts: 2

Rep: Reputation: Disabled
Changing login User Name and Password


I was given a desktop computer and it has Ubuntu MATE installed but it has the last owners name and password for bootup. I have no way of knowing the password so I would like to know how to change it. Thank you. David

Last edited by drmeyers381; 05-10-2016 at 02:12 PM.
 
Old 05-10-2016, 02:21 PM   #2
dab1414
Member
 
Registered: May 2011
Location: OK, USA
Distribution: Slackware 14.1_64
Posts: 76

Rep: Reputation: 52
Try this LINK
 
Old 05-10-2016, 02:29 PM   #3
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
Blog Entries: 2

Rep: Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567
Hi.

Best to reinstall a new OS, check out the first link in my signature.

Have fun!
 
Old 05-10-2016, 05:41 PM   #4
slac-in-the-box
Member
 
Registered: Mar 2010
Location: oregon
Distribution: slackware64-15.0 / slarm64-current
Posts: 779
Blog Entries: 1

Rep: Reputation: 432Reputation: 432Reputation: 432Reputation: 432Reputation: 432
As Jamison2000e said, it is basically best to reinstall and start with a clean system.

However, if you wanted to actually change the login user and password, you will have to start from an install dvd or usb, or a live distro usb or dvd, and then find a command line and "mount" the internal drive on the computer, and "chroot" into it. Then you can use "useradd" and "passwd" to set up a new user... you can modify the permissions and ownerships on the old users home directory so the new user can acccess it, using "chown" and "chmod". These words in quotes are common system admin commands in linux, and there is plenty of documentation on them. It's pretty technical. But changing someone's userid and password, without knowing their password, should be technical.
 
Old 05-10-2016, 05:47 PM   #5
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
Blog Entries: 2

Rep: Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567
Unless more info; like did the person it came from have something illegal on it or did you steal it and so on times infinity, (no offence as we don't know? ) That's why cracking passwords is against LQ rules.

Last edited by jamison20000e; 05-10-2016 at 09:44 PM.
 
1 members found this post helpful.
Old 05-10-2016, 06:14 PM   #6
slac-in-the-box
Member
 
Registered: Mar 2010
Location: oregon
Distribution: slackware64-15.0 / slarm64-current
Posts: 779
Blog Entries: 1

Rep: Reputation: 432Reputation: 432Reputation: 432Reputation: 432Reputation: 432
Quote:
That's why cracking passwords is against LQ
rules.

Sry... I didn't know that; but it definitely makes sense.
 
2 members found this post helpful.
Old 05-10-2016, 06:37 PM   #7
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
Blog Entries: 2

Rep: Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567
There was a post not long ago where someone's spouse (and administrator) passed away , we can normally retrieve data running live. https://en.wikipedia.org/wiki/Live_CD
 
Old 05-10-2016, 08:03 PM   #8
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 2,149

Rep: Reputation: 449Reputation: 449Reputation: 449Reputation: 449Reputation: 449
Lightbulb

Quote:
Originally Posted by drmeyers381 View Post
I was given a desktop computer and it has Ubuntu MATE installed but it has the last owners name and password for bootup. I have no way of knowing the password so I would like to know how to change it. Thank you. David
If you don't need any data, as other suggested do a re-installation.

If you need the data as long as the hard drive is not encrypted then try using a live CD.

Good luck!!
 
Old 05-11-2016, 07:28 PM   #9
drmeyers381
LQ Newbie
 
Registered: May 2016
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thanks to all that replied. I was able to contact the person that gave me the computer and he forgot to give me the password so now all is well.
 
  


Reply



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
Ubuntu 11.04 encrypted LVM password not working after user login password change prateekm21 Linux - Security 0 10-29-2011 01:20 PM
Cannot login to ftpserver (vsftpd) after changing user password MZehv Linux - Newbie 3 10-22-2009 12:23 PM
User friendly message to user on password changing tanveer Linux - General 2 02-24-2009 07:56 AM
Can't login after changing password zwtint Linux - Software 1 02-18-2007 01:56 PM
changing the password of a user sadiboyz Linux - Newbie 2 04-21-2003 02:22 PM

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

All times are GMT -5. The time now is 01:07 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