LinuxQuestions.org
Help answer threads with 0 replies.
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 11-05-2017, 08:17 PM   #1
ishr
LQ Newbie
 
Registered: Nov 2017
Posts: 1

Rep: Reputation: Disabled
break root password


Need to know how we reset the root password in ubuntu server os, which installed in a Vmware workstation.
 
Old 11-05-2017, 11:37 PM   #2
lazydog
Senior Member
 
Registered: Dec 2003
Location: The Key Stone State
Distribution: CentOS Sabayon and now Gentoo
Posts: 1,239
Blog Entries: 3

Rep: Reputation: 194Reputation: 194
Boot it into single user mode and then change the password.
 
Old 11-06-2017, 12:36 AM   #3
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 13,103

Rep: Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145
you may check the "similar threads", just scroll down
 
1 members found this post helpful.
Old 11-06-2017, 01:32 AM   #4
!!!
Member
 
Registered: Jan 2017
Posts: 666

Rep: Reputation: 289Reputation: 289Reputation: 289
Welcome to LQ, but web-search is the #1 'soft skill". DDGoo: rw init=/bin/sh
 
Old 11-06-2017, 02:37 AM   #5
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,513

Rep: Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004
You boot from the Ubuntu installer, open a chroot shell into the root directory, and run
Code:
$ passwd root
It's fairly automatic. Just choose 'rescue' from the installer boot menu.
 
Old 11-06-2017, 03:17 AM   #6
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 1,642

Rep: Reputation: 277Reputation: 277Reputation: 277
It's quite easy to break a root password, this link below will surely help if you want to break it.

http://i.imgur.com/BPGsKbc.jpg

Good luck.

Welcome to LQ!!!

Last edited by JJJCR; 11-06-2017 at 03:19 AM. Reason: edit
 
Old 11-06-2017, 03:26 AM   #7
liman
LQ Newbie
 
Registered: Oct 2017
Distribution: CentOS 7.4
Posts: 8

Rep: Reputation: Disabled
ishr I think this link below will help you:
https://askubuntu.com/questions/2400...ative-password

I didn't use ubuntu for a long time, but reading comments from link above I would say it could solve your problem.

BTW, use JJJCR's solution as the last resort .

Last edited by liman; 11-06-2017 at 03:32 AM.
 
Old 11-06-2017, 04:43 AM   #8
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 3,941
Blog Entries: 1

Rep: Reputation: 833Reputation: 833Reputation: 833Reputation: 833Reputation: 833Reputation: 833Reputation: 833
Ubuntu doesn't technically have a root password. It's meant to be used with sudo from a primary user.

$ id 1000

You can still break it though. But you have to delete the root password, at which point you can set the root password. And your drawers are down in the middle of script jr high at recess.
 
Old 11-06-2017, 08:00 AM   #9
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 9,078
Blog Entries: 4

Rep: Reputation: 3177Reputation: 3177Reputation: 3177Reputation: 3177Reputation: 3177Reputation: 3177Reputation: 3177Reputation: 3177Reputation: 3177Reputation: 3177Reputation: 3177
It's worth pointing out, as others have just said, that most distros do not have a separate password for the "root" account.

Instead, they put the first-user into the wheel group, with the "sudoers" file set-up in such a way that this user can simply sudo su, entering his own(!) password, and become "root."

(In a similar feat of short-sightedness, other types of operating systems often create "ordinary users" as "Administrators," thus also able to take full-control of the system using their own passwords.)

(Is it any wonder, then, why "rogue software from somewhere off the street" is able to do so damned much damage? Because the target user, himself, can!)

You should always practice the "Principle of Least Privilege," which stipulates that every user should have only the access rights that this user actually needs to perform its appointed function – and, more generally, should have "its own 'private things'" protected from eavesdropping (by other users), and similarly should be prevented from eavesdropping on others. A digital computer is very good at saying "No," but terrible at saying "Yes."

Last edited by sundialsvcs; 11-06-2017 at 08:01 AM.
 
  


Reply


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 break root's password? Hi_This_is_Dev Linux - Newbie 5 05-18-2009 02:37 PM
how to break the root password in Suse 10.1 olva SUSE / openSUSE 1 02-22-2009 11:26 AM
How to know when someone tried to break root password? mayank_a Linux - General 3 10-10-2005 08:51 PM
Root password: do certain characters "break" Linux? Sumleilmus Linux - Newbie 3 12-28-2004 11:41 PM

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

All times are GMT -5. The time now is 07:29 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration