Results 1 to 6 of 6

Thread: LiveCD Installer Asks Root Password

  1. #1

    Default LiveCD Installer Asks Root Password

    The installer asks for root password live cd.
    Yast asks for root password on live cd.
    How could i make it stop ?
    Thanks and regards...

  2. #2
    Join Date
    Jul 2008
    Location
    Seattle, WA
    Posts
    17,043

    Default Re: LiveCD Installer Asks Root Password

    On Tue, 12 Jun 2012 12:36:04 +0000, tony almeida wrote:

    > The installer asks for root password live cd.
    > Yast asks for root password on live cd.
    > How could i make it stop ?


    You could try and set the password to an empty string.

    But the LiveCD logs in as a non-root user, and root privs are needed to
    run the installation - that's why it asks.

    Jim



    --
    Jim Henderson
    openSUSE Forums Administrator
    Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

  3. #3

    Default Re: LiveCD Installer Asks Root Password

    Quote Originally Posted by hendersj View Post
    On Tue, 12 Jun 2012 12:36:04 +0000, tony almeida wrote:

    > The installer asks for root password live cd.
    > Yast asks for root password on live cd.
    > How could i make it stop ?


    You could try and set the password to an empty string.

    But the LiveCD logs in as a non-root user, and root privs are needed to
    run the installation - that's why it asks.

    Jim



    --
    Jim Henderson
    openSUSE Forums Administrator
    Forum Use Terms & Conditions at openSUSE Forums FAQ
    thanks for the answer mr. @hendersj
    i tried to set empty password but it still asks the password. i still need the press ok button without password.
    suse studio does not let me autologin root permissions or give user id 0
    in a regular live cd of opensuse, live cd installer does not ask password for yast and live installer
    so there must be a way to do it
    and there is no operation system in history of operating systems that asks a password to be installed
    suse studio must had to do it's own.
    i am sorry for agression but maybe Linus Torvalds was right.
    opensuse has some bullshi* of security rules

  4. #4
    Join Date
    Jul 2008
    Location
    Seattle, WA
    Posts
    17,043

    Default Re: LiveCD Installer Asks Root Password

    On Tue, 12 Jun 2012 14:16:03 +0000, tony almeida wrote:

    > suse studio does not let me autologin root permissions or give user id 0
    > in a regular live cd of opensuse, live cd installer does not ask
    > password for yast and live installer so there must be a way to do it and
    > there is no operation system in history of operating systems that asks a
    > password to be installed suse studio must had to do it's own.


    Keep in mind that a LiveCD is intended to show you a running system, and
    best practices are to not login to the GUI as root but as a normal user.

    That said, perhaps you can use the post-build script to modify the
    behaviour so you don't have to enter a password.

    Jim



    --
    Jim Henderson
    openSUSE Forums Administrator
    Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

  5. #5

    Default Re: LiveCD Installer Asks Root Password

    Quote Originally Posted by hendersj View Post
    On Tue, 12 Jun 2012 14:16:03 +0000, tony almeida wrote:

    > suse studio does not let me autologin root permissions or give user id 0
    > in a regular live cd of opensuse, live cd installer does not ask
    > password for yast and live installer so there must be a way to do it and
    > there is no operation system in history of operating systems that asks a
    > password to be installed suse studio must had to do it's own.


    Keep in mind that a LiveCD is intended to show you a running system, and
    best practices are to not login to the GUI as root but as a normal user.

    That said, perhaps you can use the post-build script to modify the
    behaviour so you don't have to enter a password.

    Jim



    --
    Jim Henderson
    openSUSE Forums Administrator
    Forum Use Terms & Conditions at openSUSE Forums FAQ
    thanks for the answer mr. @hendersj
    i agree that LiveCD is intended to show us a running system.
    But I strictly say that again
    there is no operation system in history of operating systems that asks a password to be installed
    anyway opensuse live cd does not ask for root password on live-cd installer
    it uses a normal account named linux and autologin it in first boot.
    so you are right, i have to
    use the post-build script to modify behaviour to prevent to ask a password.
    the question is
    what would that post-build script be ?
    thanks and regards...

  6. #6
    Join Date
    Jul 2008
    Location
    Seattle, WA
    Posts
    17,043

    Default Re: LiveCD Installer Asks Root Password

    On Tue, 12 Jun 2012 17:56:02 +0000, tony almeida wrote:

    > anyway opensuse live cd does not ask for root password on live-cd
    > installer it uses a normal account named linux and autologin it in first
    > boot. so you are right, i have to use the post-build script to modify
    > behaviour to prevent to ask a password.
    > the question is what would that post-build script be ?


    It looks like the difference between the 12.2 liveCD and a 12.1 installed
    system I checked is a pam configuration item.

    On the LiveCD take a look at /etc/pam.d/common-auth and compare to the
    LiveCD you're building.

    The difference I see is that on the Live media for 12.2, the optional auth
    is commented out, and the pam_unix2.so line has "nullok" at the end on
    the live media.

    Then set no password and that /probably/ will do it.

    You probably don't even need a post-build script, just push a changed
    common-auth (or rather, the file that links to, common-auth-pc) to the
    system and see if that does the trick.

    Jim



    --
    Jim Henderson
    openSUSE Forums Administrator
    Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •