Re: root password

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

 



On 02/07/2012 04:01 AM, Tim wrote:
> On Mon, 2012-02-06 at 22:28 -0600, Steven Stern wrote:
>> The right way is to boot into single user mode. These will also work
>> if your account has sudo access
>>  
>> sudo su -
>>  
>> or
>>  
>> sudo /etc/shadow
>>  
>> and remove the root password, then login as root and reset the
>> password
>>  
>> or
>>  
>> sudo passwd root
> 
> Seems like you're all (the different solutions offered by various
> people) doing much more than you need to.  If you do manage to boot into
> the single user mode, you will typing in a terminal as the root user.
> All you have to do, next, is use the "passwd" command by itself, and
> enter a new password.  There's no need to su or sudo, nor edit any files
> where passwords are stored.
> 

Sometimes, one is not able to reboot.

-- 
-- Steve
-- 
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
Have a question? Ask away: http://ask.fedoraproject.org


[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