Lost Password in Linux Centos

Boot from cd rom using dvd centos installation and write “linux rescue” enter the following  command until mount file image “chroot /mnt/sisimage/

Edit /etc/shadow to remove

if you can do this, just type “passwd” once you are in and change it to whatever you like. Or just edit /etc/shadow to remove the password field: move to just beyond the first “:” and remove everything up to the next “:”. With vi, that would be “/:” to move to the first “:”, space bar once, then “d/:” and ENTER. You’ll get a warning about changing a read-only file; that’s normal. Before you do this, /etc/shadow might look like:

root:$1$8NFmV6tr$rT.INHxDBWn1VvU5gjGzi/:12209:0:99999:7:-1:-1:1074970543
bin:*:12187:0:99999:7:::
daemon:*:12187:0:99999:7:::

adm:*:12187:0:99999:7:::

and after, the first few lines should be:

root::12209:0:99999:7:-1:-1:1074970543
bin:*:12187:0:99999:7:::
daemon:*:12187:0:99999:7:::
adm:*:12187:0:99999:7:::
You’ll need to force the write: with vi, “:wq!”.

write “Exit’. system automatically restart.

2,768 thoughts on “Lost Password in Linux Centos

  1. film porno

    Together with every thing which seems to be developing inside this specific area, all your viewpoints are generally very radical. However, I appologize, because I can not give credence to your whole theory, all be it stimulating none the less. It seems to us that your remarks are generally not entirely justified and in fact you are generally your self not even wholly convinced of your assertion. In any case I did appreciate reading it.

  2. uluri

    Hi there, I do think your blog could possibly be having web browser compatibility issues. When I take a look at your site in Safari, it looks fine however, when opening in I.E., it has some overlapping issues. I merely wanted to provide you with a quick heads up! Besides that, great site.

  3. tree disease diagnosis near me

    I blog quite often and I truly appreciate your content. This article has truly peaked my interest. I am going to bookmark your website and keep checking for new information about once per week. I subscribed to your RSS feed too.

  4. video porno

    There are some fascinating deadlines in this article but I don?t know if I see all of them center to heart. There’s some validity however I’ll take hold opinion until I look into it further. Good article , thanks and we would like more! Added to FeedBurner as effectively

  5. situs bokep

    We are a gaggle of volunteers and opening a new scheme in our community. Your web site offered us with valuable information to work on. You’ve done an impressive job and our whole group shall be grateful to you.

  6. tree impact assessment report

    Right here is the perfect blog for anybody who really wants to understand this topic. You understand so much its almost tough to argue with you (not that I personally will need to…HaHa). You certainly put a brand new spin on a topic which has been written about for years. Great stuff, just great!

  7. personel alım ilanları

    The next time I read a blog, I hope that it won’t disappoint me just as much as this particular one. I mean, I know it was my choice to read through, nonetheless I genuinely thought you would probably have something useful to talk about. All I hear is a bunch of moaning about something that you could possibly fix if you weren’t too busy searching for attention.

  8. kontol kuda

    Hey! Do you know if they make any plugins to safeguard against hackers? I’m kinda paranoid about losing everything I’ve worked hard on. Any suggestions?

  9. link bokep

    whoah this weblog is fantastic i really like studying your articles. Stay up the great paintings! You understand, many persons are searching around for this information, you could aid them greatly.

  10. private driver transfer

    Right here is the right site for anybody who hopes to understand this topic. You realize a whole lot its almost tough to argue with you (not that I really will need to…HaHa). You certainly put a new spin on a topic that has been written about for ages. Excellent stuff, just excellent.

  11. San Antonio Welding Company

    An interesting discussion is definitely worth comment. I do believe that you ought to publish more about this topic, it may not be a taboo matter but typically people do not speak about such issues. To the next! Cheers!

Leave a Reply

Your email address will not be published. Required fields are marked *