Default Password Of CentOS 7 Images Inside Http://cloud.CentOS.org/

Home » CentOS » Default Password Of CentOS 7 Images Inside Http://cloud.CentOS.org/
CentOS 3 Comments

Hi, I’m trying to to use the CentOS 7 images provided by http://cloud.CentOS.org/, this works fine when using CentOS user to SSH in with keys, but I’m trying to create a new image base on it, so does it have default password I can use to login to the console, before I can configure the network setting inside.

Thanks!
-Ryan

3 thoughts on - Default Password Of CentOS 7 Images Inside Http://cloud.CentOS.org/

  • Hello,

    I believe the root password is disabled (also SSH password logins). What you can do is boot in single user (init=/bin/sh) and unlock the password, set a custom password etc.

    HTH
    Lucian

  • Will “$ sudo passwd” work? It does with some live CD distros.

    —–BEGIN PGP SIGNATURE—

  • Thanks, I just use qemu-nbd mount the image, and modified the shadow file.

    Sent from my BlackBerry 10 smartphone. From: Nux!‎
    Sent: 2015年3月24日星期二 3:36
    To: CentOS mailing list Reply To: CentOS mailing list Subject: Re: [CentOS] default password of CentOS 7 images inside http://cloud.CentOS.org/

    Hello,

    I believe the root password is disabled (also SSH password logins). What you can do is boot in single user (init=/bin/sh) and unlock the password, set a custom password etc.

    HTH
    Lucian


    Sent from the Delta quadrant using Borg technology!

    Nux!
    http://www.nux.ro

    —– Original Message —–