Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
i've read this article http://www.redhatmagazine.com/2007/0...boot-problems/ it describe, how can i use GRUB. I have a question. Can i change root password from GRUB, how? Can is overwrite the password file, and where stores the system the password?
answer somebody, who really know this... please
GRUB cannot be used to change system configuration, passwords, etc.
There are a minimum of two ways to get into a system when you have lost the password:
Boot into single-user mode--stop the GRUB countdown by hitting tab, edit the kernel line adding the word "single" at the end, and then boot.
Boot from a live CD (eg your install CD), mount the partition containing /etc, and edit the /etc/passwd file to remove the first "x" in the entry for root. The modified entry will read--in part--"root:: "
Or just remove the harddisk, plug it into another pc, mount the filesystem where shadow file is in and clear the root password..put the disk back and enjoy. Of course encrypting the disk makes this a bit more difficult, but generally people just don't take the time and trouble, and so the world is open..