How to Reset Root Password in Fedora Workstation 24 - 21

Published: 29 December 2014
on channel: Cloud Network
25,888
64

Hello Everyone,

How to Reset Root Password in Fedora 21,20 Workstation -- 64bit

You Can also Install in CentOS 7, Oracle Linux, Cloud Linux, Redhat Linux 6,7.

New Root or Exciting Passwd & 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 Fedora Generic Second option press "e" from Keyboard

step4 :- then you need to find for "Linux" name after that go to last line and then type

step5 :- type rw init=/bin/bash

step6 :- then type 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 :- 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/itcloudne...
Website :- http://www.cloudnetwork.in
Facebook :-   / itcloudnetwork  
Twitter :-   / itcloudnet  
Pinterset :- http://pinterset.com/itcloudnet
LinkedIn :-   / itcloudnet  
Google+ :- https://plus.google.com/u/0/107923552...
Skype Id :- cloud.network1
E-Mail Id :- [email protected]
####----------------------------------------------------------------------------------------####                         
Thanking You
Hope U Like it........


Watch video How to Reset Root Password in Fedora Workstation 24 - 21 online without registration, duration hours minute second in high quality. This video was added by user Cloud Network 29 December 2014, don't forget to share it with your friends and acquaintances, it has been viewed on our site 25,888 once and liked it 64 people.