Re: Changing Forgotten Root Password

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jul 30, 2010 at 4:22 PM, Craig White <craigwhite@xxxxxxxxxxx> wrote:
> On Fri, 2010-07-30 at 16:18 -0400, binarynut@xxxxxxxxxxx wrote:
>> Fedora 11, 12
>>
>> Changing Forgotten Root Password.
>>
>> Starting computer and going into Single User Mode and deleting the "x"
>> in /etc/passwd and restarting computer and login as "root" and add new
>> root password, does that still hold true for FC10, 11, 12
>>
>> /etc/passwd
>>
>> root:x:0:0:root:/root:/bin/bash
> ----
> don't manually edit /etc/passwd, /etc/group, /etc/shadow at all
>
> simply start in 'Single User Mode' and type 'passwd' - it will ask for a
> new password for root user

If you have set up your boxes to require the root password to boot
into single-user mode, you have to net-boot (or cd-boot), mount the
root partition, chroot, blank out the root password (I prefer deleting
root's password in /etc/shadow to the "x" deletion described by the
OP), and run passwd.
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux