PDA

View Full Version : LiveCD Installer Asks Root Password



tony almeida
12-Jun-2012, 13:36
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
View this thread: http://forums.opensuse.org/showthread.php?t=476027

Jim Henderson
12-Jun-2012, 14:39
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

tony almeida
12-Jun-2012, 15:16
hendersj;2468923 Wrote:
> 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'
> (http://tinyurl.com/openSUSE-T-C)

thanks for the answer mr. @'*hendersj*'
(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
View this thread: http://forums.opensuse.org/showthread.php?t=476027

Jim Henderson
12-Jun-2012, 18:07
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

tony almeida
12-Jun-2012, 18:56
hendersj;2468954 Wrote:
> 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'
> (http://tinyurl.com/openSUSE-T-C)

thanks for the answer mr. @'*hendersj*'
(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
View this thread: http://forums.opensuse.org/showthread.php?t=476027

Jim Henderson
13-Jun-2012, 02:04
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