# LiveCD Installer Asks Root Password

**URL:** <https://forums.suse.com/t/livecd-installer-asks-root-password/22738>\
**Category:** SUSE Studio / Studio Express\
**Created:** [June 12, 2012, 3:36pm UTC](https://forums.suse.com/t/livecd-installer-asks-root-password/22738 "2012-06-12T15:36:04Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![System1](https://avatars.discourse-cdn.com/v4/letter/s/51bf81/32.png) [@System1](https://forums.suse.com/u/System1)\
**Post date:** [June 12, 2012, 3:36pm UTC](https://forums.suse.com/t/livecd-installer-asks-root-password/22738/1 "2012-06-12T15:36:04Z")

</div>

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…

## – tony\_almeida

tony\_almeida’s Profile: [http://forums.opensuse.org/member.php?userid=37665](http://forums.opensuse.org/member.php?userid=37665)  
View this thread: [http://forums.opensuse.org/showthread.php?t=476027](http://forums.opensuse.org/showthread.php?t=476027)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/5/5012ba89e3ffb5220dac47d5ea0ba032e2fe1cb6.png) [@system](https://forums.suse.com/u/system)\
**Post date:** [June 12, 2012, 4:39pm UTC](https://forums.suse.com/t/livecd-installer-asks-root-password/22738/2 "2012-06-12T16:39:15Z")

</div>

On Tue, 12 Jun 2012 12:36:04 +0000, tony almeida wrote:  
[color=blue]

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

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](http://tinyurl.com/openSUSE-T-C)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/5/5012ba89e3ffb5220dac47d5ea0ba032e2fe1cb6.png) [@system](https://forums.suse.com/u/system)\
**Post date:** [June 12, 2012, 5:16pm UTC](https://forums.suse.com/t/livecd-installer-asks-root-password/22738/3 "2012-06-12T17:16:03Z")

</div>

hendersj;2468923 Wrote:[color=blue]

> On Tue, 12 Jun 2012 12:36:04 +0000, tony almeida wrote:  
> [color=green]
> 
> > The installer asks for root password live cd.  
> > Yast asks for root password on live cd.  
> > How could i make it stop ?[/color]
> 
> 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’  
> ([http://tinyurl.com/openSUSE-T-C](http://tinyurl.com/openSUSE-T-C))[/color]

thanks for the answer mr. @‘_hendersj_’  
([http://forums.opensuse.org/members/hendersj.html](http://forums.opensuse.org/members/hendersj.html))  
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

## – tony\_almeida

tony\_almeida’s Profile: [http://forums.opensuse.org/member.php?userid=37665](http://forums.opensuse.org/member.php?userid=37665)  
View this thread: [http://forums.opensuse.org/showthread.php?t=476027](http://forums.opensuse.org/showthread.php?t=476027)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/5/5012ba89e3ffb5220dac47d5ea0ba032e2fe1cb6.png) [@system](https://forums.suse.com/u/system)\
**Post date:** [June 12, 2012, 8:07pm UTC](https://forums.suse.com/t/livecd-installer-asks-root-password/22738/4 "2012-06-12T20:07:52Z")

</div>

On Tue, 12 Jun 2012 14:16:03 +0000, tony almeida wrote:  
[color=blue]

> 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.[/color]

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](http://tinyurl.com/openSUSE-T-C)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/5/5012ba89e3ffb5220dac47d5ea0ba032e2fe1cb6.png) [@system](https://forums.suse.com/u/system)\
**Post date:** [June 12, 2012, 8:56pm UTC](https://forums.suse.com/t/livecd-installer-asks-root-password/22738/5 "2012-06-12T20:56:02Z")

</div>

hendersj;2468954 Wrote:[color=blue]

> On Tue, 12 Jun 2012 14:16:03 +0000, tony almeida wrote:  
> [color=green]
> 
> > suse studio does not let me autologin root permissions or give user[/color]  
> > id 0[color=green]  
> > 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[/color]  
> > and[color=green]  
> > there is no operation system in history of operating systems that[/color]  
> > asks a[color=green]  
> > password to be installed suse studio must had to do it’s own.[/color]
> 
> 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’  
> ([http://tinyurl.com/openSUSE-T-C](http://tinyurl.com/openSUSE-T-C))[/color]

thanks for the answer mr. @‘_hendersj_’  
([http://forums.opensuse.org/members/hendersj.html](http://forums.opensuse.org/members/hendersj.html))  
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…

## – tony\_almeida

tony\_almeida’s Profile: [http://forums.opensuse.org/member.php?userid=37665](http://forums.opensuse.org/member.php?userid=37665)  
View this thread: [http://forums.opensuse.org/showthread.php?t=476027](http://forums.opensuse.org/showthread.php?t=476027)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/5/5012ba89e3ffb5220dac47d5ea0ba032e2fe1cb6.png) [@system](https://forums.suse.com/u/system)\
**Post date:** [June 13, 2012, 4:04am UTC](https://forums.suse.com/t/livecd-installer-asks-root-password/22738/6 "2012-06-13T04:04:58Z")

</div>

On Tue, 12 Jun 2012 17:56:02 +0000, tony almeida wrote:  
[color=blue]

> 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 ?[/color]

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](http://tinyurl.com/openSUSE-T-C)
