How to Reset Root/Hostname Password in Ubuntu Server 15.04 (Vivid Vervet)

Channel:
Subscribers:
25,100
Published on ● Video Link: https://www.youtube.com/watch?v=Oo8xxPYpBTk



Category:
Tutorial
Duration: 4:22
3,430 views
6


Hello Everyone,

In this tutorial,

Let Us Reset Root Password & Forgetter…

To Fix Broken Sudo.......

Errors that you are getting..........

Error 1:- you may notice an error saying you're not in the sudoers file and the incident is going to be reported.

Error 2:- sorry user usuario is not allowed to execute '/usr/bin/passwd root' as root on.

Error 3:- Give root password for maintenance (or type Control-D to continue)
SOLVING ERROR 3 BY BELOW STEP FOLLOW
Step1 :- fsck (First You need to Check file checking error, if doesn't solve follow below step)
Step2 :- mount -t proc proc /proc
Step3 :- mount -o remount, rw / or mount -ro remount,rw /
Step4 :- passwd vi /etc/default/locale
Step5 :- sync reboot
Step6 :- reboot

or option(above doesn't solve follow below step)

Step7 :- mount | grep ' on / '
That command produces something like /dev/sda1 on / type ext4 (rw,errors=remount-ro,commit=0) as the output
Step8 :- sudo mount /dev/sda1 /mnt
Replace /dev/sda1 with the device name of the partition containing your Ubuntu system's root filesystem, if different.
Step9 :- sudo mount /dev/sda1 /mnt
Step10 :- passwd root
Step11 :- exit
Step12 :- sudo umount /mnt
Step13 :- exit
Step14 :- reboot

Cause and symptoms :-

the /etc/sudoers file has been altered to no longer allow users in the admin group to escalate privilege

the permissions on the /etc/sudoers file are changed to something other than 0440
a user who should not have been has been taken out of the admin group.

By above error and cause can be done by following steps.....

To Reset Root Passwd

step1 :- Restart your server or desktop

step2 :- press continue shift untill boot menu show

step3 :- select ubuntu generic second option press Enter

step4 :- then select root shell press Enter

step5 :- type mount -o rw,remount /

step6 :- sudo passwd root or passwd
assign passwd and then repeat again the same passwd

Note :- inplace of root you can set your username or hostname any name that You assign during Installation OR Login.

You can also Create NEW USER
step7 :- sudo adduser username (Replace USERNAME with your username)
Step8 :- sudo passwd username

If you don't know your username, you can get a list of users on the system by running:
Step9 :- ls /home


NOTE :- For Any Clarification Please Below

Comment,
Like and
Share us and help us to spread.

####--------------------------------------------------------------------------------------####
Subscribe :- http://www.youtube.com/user/itcloudnet?sub_confirmation=1
Website :- http://www.cloudnetwork.in
Facebook :- http://facebook.com/itCloudNetwork/
Twitter :- http://twitter.com/itcloudnet
Pinterset :- http://pinterset.com/itcloudnet
LinkedIn :- http://in.linkedin.com/pub/itcloudnet
Google+ :- https://plus.google.com/u/0/107923552480070716949/posts
Skype Id :- cloud.network1
E-Mail Id :- itcloudnet@gmail.com
####----------------------------------------------------------------------------------------####

Thanking You
Hope U Like it........




Other Videos By Cloud Network


2015-05-06How to Install VMware Workstation 11 to Create Virtual Machines on Ubuntu 15.04/15.10
2015-05-06Top 5 things to do after installing Ubuntu 15.04(Vivid Vervet) - Workstation
2015-04-29How to Install Dropbox 3.4.4 (Latest Version) in Ubuntu Desktop 15.10, Debian 8 & Linux Mint 17.2
2015-04-29How to Install Python 3.4.3 (Latest Version) in Ubuntu Desktop 15.10, Debian 8 & Linux Mint 17.2
2015-04-29How to Install Virtual Box in Mac OS X(Yosemite 10.10.2, Snow Leopard, Tiger, Mountain Loin)
2015-04-29How to Share Files & Folders and Connect to Others System in Mac OS X Yosemite 10.10.2
2015-04-29How to Install Skype 4.3 in Ubuntu Desktop 16.04, Debian 8 & Linux Mint 17.3
2015-04-24How to Upgrade Ubuntu Desktop 14.04/14.10 to Ubuntu 15.04 (Vivid Vervet)
2015-04-24How to Make a Full Screen Resolution in Ubuntu Desktop 15.10/14.04, Debian 8 & Linux Mint 17.2
2015-04-24How to Install Ubuntu Server 15.04 (Vivid Vervet) in Virtual Box - 64Bit
2015-04-23How to Reset Root/Hostname Password in Ubuntu Server 15.04 (Vivid Vervet)
2015-04-23How to Install Ubuntu 15.04 Live Desktop in Virtual Box
2015-04-23How to Install Ubuntu Releases 15.04 on Virtual Box with Full Screen Resolution - 64bit or 32bit
2015-04-23How to Install Ubuntu Desktop 15.04 (Vivid Vervet) in Oracle Virtual Box with Full Screen Resolution
2015-04-21How to Update Micromax Yureka (Kitkat 4.4.4 to Android 5.2) CyanogenMod 12.1 ROM
2015-04-17How to Install Mtop MySQL Database Server Monitoring in RHEL Linux 7, CentOS 6 & Fedora 21/22/23
2015-04-17How to Install VnStat PHP a Web Based Interface for Monitoring Network Bandwidth Usage on CentOS 7
2015-04-17How to Install VLC Media Player 2.2 in Ubuntu Desktop 14.04/15.04, Debian 8 & Linux Mint 17.2
2015-04-17How to Install Telegram Messenger Application on Fedora 17-23 Workstation
2015-04-175 Interesting Command Line Tips and Tricks in Redhat Linux 6, CentOS 7 & Fedora 21/22/23
2015-04-17How to Generate, Encrypt, Decrypt Random Passwords on RHEL Linux 7, CentOS 6 and Fedora 17-21



Tags:
CentOS
Oracle
Linux
64-bit Computing
Vervet Monkey (Organism Classification)
Ubuntu (Operating System)
Ubuntu Server
Superuser
Tutorial
Desktop
Computer
How-to (Website Category)
Basic
Ubuntu Software Center (Software)
ubuntu
Ubuntu One (Software)
Computers
Software (album)
Linux Kernel (Software)
Password
Hostname