[CLOSED] Can't login at Mageia 4 beta 2 after big update

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[CLOSED] Can't login at Mageia 4 beta 2 after big update

Postby janpihlgren » Dec 24th, '13, 08:41

Running in VMware Workstation 9.04.
After done a big update (804 packages) of Mageia 4 beta 2 (i586) this morning it is impossible to log in.
The same happends a few days ago when I did a big update of Mageia 4 Beta 1.
It is impossible to login as your own or as root. Both trying to login through GUI or through terminal.
The same happeds to me with Mageia 4 Alpha 2. I don't understand why this happends and I don't know how to solv such a problem.
There have to be some major problem with the update process that destroy the possibility to login.

Now I did a new clean installation of Mageia 4 Beta 2 to test if the problem still exist after an update. The installation was done from an iso dated 12 dec 2013.
The login worked s expected. Added new media.
After a few minutes I get a signal (mgaonline) that there is new updates (14 packages, includes draktools 16.13 and harddrake.
Logged out and logged in again. No problem logg in. Vaiting for a new signal for more updates.
Last edited by janpihlgren on Dec 25th, '13, 07:13, edited 1 time in total.
User avatar
janpihlgren
 
Posts: 294
Joined: Mar 30th, '11, 12:23
Location: Marsta, Sweden

Re: Can't login at Mageia 4 beta 2 after big update

Postby jkerr82508 » Dec 24th, '13, 11:06

The culprit may have been an update to the setup package. When setup is updated, you may be asked if you want to update certain config files, such as /etc/passwd. It is usually best to keep the existing config files and not accept the "rpmnew" versions.

Jim
jkerr82508
 
Posts: 946
Joined: Mar 26th, '11, 01:34
Location: Fife, Scotland

Re: Can't login at Mageia 4 beta 2 after big update

Postby janpihlgren » Dec 24th, '13, 11:13

That's looks like to be the reason to the for the problem.
But how do I do to repair the error. I can't access the system because its impossible to login as root?
I supose that the old setup-file still exist?
User avatar
janpihlgren
 
Posts: 294
Joined: Mar 30th, '11, 12:23
Location: Marsta, Sweden

Re: Can't login at Mageia 4 beta 2 after big update

Postby jkerr82508 » Dec 24th, '13, 11:34

The previous version of /etc/passwd is usually kept as /etc/passwd-. It may be possible to boot a live CD or the Mageia rescue system, mount the root partition of the installed system and restore the previous version, or preferably from a system backup, if you have one.

Jim
jkerr82508
 
Posts: 946
Joined: Mar 26th, '11, 01:34
Location: Fife, Scotland

Re: Can't login at Mageia 4 beta 2 after big update

Postby janpihlgren » Dec 24th, '13, 19:29

I have been informed to do as in this topic
https://forums.mageia.org/en/viewtopic.php?f=7&t=6346
But I do not understand where to hit the F6 key.
Is there anyone that can explain where to hit the F6-key? I need more detailed instructions. :oops:
User avatar
janpihlgren
 
Posts: 294
Joined: Mar 30th, '11, 12:23
Location: Marsta, Sweden

Re: Can't login at Mageia 4 beta 2 after big update

Postby doktor5000 » Dec 24th, '13, 20:18

Unfortunately the installer uses different shortcuts than the installed system. For installer, it's F6: http://doc.mageia.org/installer/3/en/co ... aller.html
For the installed system, it's F3.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18073
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Can't login at Mageia 4 beta 2 after big update

Postby janpihlgren » Dec 25th, '13, 07:12

Thanks for info. It help me change the root password. But then I couldn't change the user password.
I also have been informed why this happends, choose setup.new at the updateprocess, an important knowledge for the future.
For me the case is closed now when I understand what's happend.
Thanks for help.
User avatar
janpihlgren
 
Posts: 294
Joined: Mar 30th, '11, 12:23
Location: Marsta, Sweden

Re: Can't login at Mageia 4 beta 2 after big update

Postby doktor5000 » Dec 25th, '13, 10:56

janpihlgren wrote:For me the case is closed now when I understand what's happend.

Well, Ken-Bergen explained already what happened, what do you miss?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18073
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest