[opensuse-project] What's the secret of the live installer?
Hello everyone, I'm sending a question here want it's now more than 6 months that I'm trying to build a localised live CD of openSUSE with SuseStudio. Everything is fine but I encounter a very big problem: If I install the RPM Yast2-live-installer, the desktop file (on the desktop or in the menu) asks via kdesu the live user for a root password. I've tried many things (adding the user to sudoers, changing the parameters of the desktop file, empty root password, etc...) but nothing does it right. See here for a history: http://n2.nabble.com/yast2-live-installer-asks-for-root-password-tp3344533ef... When I run the official oS live CD, everything goes fine: no password asked. So I ask the question to some openSUSE GURU's who build these official live CD: What's the secret of the live CD? I can't imagine distributing a live CD that asks for a password to install itself on the computer and I don't want to make unsafe things like "autologin as root" (someone gave me that as solution). Thank you in advance for your help. Jean Cayron openSUSE member Walloon translation team coordinator -- To unsubscribe, e-mail: opensuse-project+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-project+help@opensuse.org
Am Sonntag 17 Januar 2010 schrieb Jean Cayron:
Hello everyone,
I'm sending a question here want it's now more than 6 months that I'm trying to build a localised live CD of openSUSE with SuseStudio. Everything is fine but I encounter a very big problem: If I install the RPM Yast2-live-installer, the desktop file (on the desktop or in the menu) asks via kdesu the live user for a root password. I've tried many things (adding the user to sudoers, changing the parameters of the desktop file, empty root password, etc...) but nothing does it right. See here for a history: http://n2.nabble.com/yast2-live-installer-asks-for-root-password-tp3344533 ef1598176.html
When I run the official oS live CD, everything goes fine: no password asked.
So I ask the question to some openSUSE GURU's who build these official live CD:
What's the secret of the live CD?
I can't imagine distributing a live CD that asks for a password to install itself on the computer and I don't want to make unsafe things like "autologin as root" (someone gave me that as solution).
Thank you in advance for your help.
The "secret" of the live installer is that root has no password on the official live cd. I don't know studio, so I can't help you how to achieve that though - the kiwi config has this detail in the config.sh. Greetings, Stephan -- To unsubscribe, e-mail: opensuse-project+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-project+help@opensuse.org
Hello again, And another one: what's the secret of the live installer removing the live-user "linux" and its directory during the live installation? Is this an option in the control.xml from yast? Jean 2010/1/18 Stephan Kulow <coolo@novell.com>
Am Sonntag 17 Januar 2010 schrieb Jean Cayron:
Hello everyone,
I'm sending a question here want it's now more than 6 months that I'm trying to build a localised live CD of openSUSE with SuseStudio. Everything is fine but I encounter a very big problem: If I install the RPM Yast2-live-installer, the desktop file (on the desktop or in the menu) asks via kdesu the live user for a root password. I've tried many things (adding the user to sudoers, changing the parameters of the desktop file, empty root password, etc...) but nothing does it right. See here for a history: http://n2.nabble.com/yast2-live-installer-asks-for-root-password-tp3344533 ef1598176.html
When I run the official oS live CD, everything goes fine: no password asked.
So I ask the question to some openSUSE GURU's who build these official live CD:
What's the secret of the live CD?
I can't imagine distributing a live CD that asks for a password to install itself on the computer and I don't want to make unsafe things like "autologin as root" (someone gave me that as solution).
Thank you in advance for your help.
The "secret" of the live installer is that root has no password on the official live cd. I don't know studio, so I can't help you how to achieve that though - the kiwi config has this detail in the config.sh.
Greetings, Stephan
-- To unsubscribe, e-mail: opensuse-project+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-project+help@opensuse.org
Am Sonntag 24 Januar 2010 schrieb Jean Cayron:
Hello again,
And another one: what's the secret of the live installer removing the live-user "linux" and its directory during the live installation? Is this an option in the control.xml from yast?
Hi, Not exactly. The live installer calls /usr/bin/correct_live_install if it exists before it removes itself after installation. Provide this in your live image and make it call "userdel linux". The openSUSE live cd is _not_ removing the directory as people might have stored some things during the live cd test. Greetings, Stephan -- To unsubscribe, e-mail: opensuse-project+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-project+help@opensuse.org
Hie Stephan, You where right. I took the two script correct* from usr/bin, adapted them (my user is tux and not linux) and added it to my appliance and it worked. Thanks for your help. Jean 2010/1/25 Stephan Kulow <coolo@novell.com>
Am Sonntag 24 Januar 2010 schrieb Jean Cayron:
Hello again,
And another one: what's the secret of the live installer removing the live-user "linux" and its directory during the live installation? Is this an option in the control.xml from yast?
Hi,
Not exactly. The live installer calls /usr/bin/correct_live_install if it exists before it removes itself after installation. Provide this in your live image and make it call "userdel linux". The openSUSE live cd is _not_ removing the directory as people might have stored some things during the live cd test.
Greetings, Stephan
-- To unsubscribe, e-mail: opensuse-project+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-project+help@opensuse.org
participants (2)
-
Jean Cayron
-
Stephan Kulow