LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-01-2018, 09:13 AM   #1
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 17.3+18.3, MX-17
Posts: 4,144

Rep: Reputation: Disabled
Tumbleweed: Fresh install (kernel 4.14.15) but can not log in as user nor as root


Wrong credentials or some such...


So I booted in maintenance mode, looked at /etc/shadow which had no user except root and root had no password. Okay, so I used "passwd" and set one -- no luck. So I re-set it to "xxx" so as to avoid language-layout specific problems with the keyboard -- no luck. so I "chroot"ed from another installation mounted the new installation's "/", set the password, synced the disk -- no luck. So I re-installed with only root as user -- no luck.

Umm. Yes. Any ideas how to proceed?

Last edited by JZL240I-U; 02-01-2018 at 09:14 AM.
 
Old 02-01-2018, 08:14 PM   #2
purevw
Member
 
Registered: Jan 2007
Location: Texas
Distribution: OpenSuSE Tumbleweed, Kernel 4.14*
Posts: 137

Rep: Reputation: 52
During the re-install, did you set a root password? I actually thought that it was required, although I don't think I have ever tried avoiding a root password. Apple recently had a lot of embarrassment over not forcing root to have a password.

Secondly, are you using the default sddm display manager? sddm does not allow root logins, unless there has been a recent change. I use kdm as my display manager and forbid installation of sddm so that I could log in as root on the rare occasion I might need to.

When you used "passwd" to try and add a root password, were you in a terminal as root when you did it?

Since it was a fresh install, is there any chance that your install media might be corrupted?

I also use Tumbleweed and have had some "num lock" issues. Is it possible that a keyboard bug is causing you problems? Have you tried swapping a different keyboard just for testing purposes?

When I install, I always set a root password and user password, and make sure that passwordless login is unchecked during setup.
 
Old 02-02-2018, 02:00 AM   #3
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 17.3+18.3, MX-17
Posts: 4,144

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by purevw View Post
During the re-install, did you set a root password? I actually thought that it was required, although I don't think I have ever tried avoiding a root password. ...
I set passwords (plural, one for root and one for me as normal user) at the first install. During re-install I set a password (singular) only for root. None ever worked.

Quote:
Originally Posted by purevw View Post
Secondly, are you using the default sddm display manager? sddm does not allow root logins, unless there has been a recent change. I use kdm as my display manager and forbid installation of sddm so that I could log in as root on the rare occasion I might need to.
SDDM in tumbleweed allows root with a trick: normally you have icons of the "normal" users and a small item "another user". Click on that and you can write the name and password of the user you want (root), et voilą...
Quote:
Originally Posted by purevw View Post
When you used "passwd" to try and add a root password, were you in a terminal as root when you did it?
Yes. Root terminal in maintenance mode.
Quote:
Originally Posted by purevw View Post
Since it was a fresh install, is there any chance that your install media might be corrupted?
I checked both the gpg signature and sha256sum. No errors.
Quote:
Originally Posted by purevw View Post
I also use Tumbleweed and have had some "num lock" issues. Is it possible that a keyboard bug is causing you problems? Have you tried swapping a different keyboard just for testing purposes?
Now this is really funny. Yes, I took an old keyboard with a PS/2 plug from my spares, since I thought maybe the USB Driver was malfunctioning. I even set the password to "xxx" so as to avoid any discrepancies between US-American and German Keyboard layouts -- no luck.
Quote:
Originally Posted by purevw View Post
When I install, I always set a root password and user password, and make sure that passwordless login is unchecked during setup.
So do I. Never had this problem before.

Last edited by JZL240I-U; 02-02-2018 at 02:02 AM.
 
Old 02-02-2018, 02:24 PM   #4
purevw
Member
 
Registered: Jan 2007
Location: Texas
Distribution: OpenSuSE Tumbleweed, Kernel 4.14*
Posts: 137

Rep: Reputation: 52
I'm sorry I don't have more ideas. My next suggestion would have been to check at forums.opensuse.org for help, but I see that you have already have a thread posted there. Hopefully someone there can help.
 
Old 02-06-2018, 11:02 AM   #5
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 17.3+18.3, MX-17
Posts: 4,144

Original Poster
Rep: Reputation: Disabled
But I have one . This entire week I am out of town, so I can't try it in the moment: I'll re-install without mounting the pre-existing home -- maybe this is jumbling the installer -- ahmm, or so one can hope. A later edit of /etc/fstab would then be my least concern... Will be back to report later.
 
Old 02-12-2018, 12:23 PM   #6
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 17.3+18.3, MX-17
Posts: 4,144

Original Poster
Rep: Reputation: Disabled
Didn't work.

So I downloaded the latest tumbleweed and lo and behold -- problem vanished. Ergo, distro-malfunction.

Fun-fact: Although gpg of sha256sum file and sha256sum check ran without error, install halted due to a corrupt checksum of networkmanager-something or other. So I re-wrote the stick this time on an USB 2 socket instead of previously using USB 3 -- and got a corrupt checksum of yast2-ldap. *Sigh*. Since I could live with that I finished the install and loaded yast2-ldap online. Seems my USB-stick is leaving us ... does this really have to happen all at once?
 
Old 02-12-2018, 12:34 PM   #7
AwesomeMachine
Senior Member
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 4,999

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
Everything bad 'always' happens at once.
 
Old 02-13-2018, 02:16 AM   #8
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 17.3+18.3, MX-17
Posts: 4,144

Original Poster
Rep: Reputation: Disabled
There you are right.

On a further thought, maybe it was no distro-malfunction but an undetected error on the stick. I don't know and it is too much of an effort to verify this after I have organized the fresh install to my taste...

Thanks everybody for reading this thread.
 
Old 02-20-2018, 08:22 AM   #9
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 17.3+18.3, MX-17
Posts: 4,144

Original Poster
Rep: Reputation: Disabled
News. Not nice, either. Currently it seems to be driver / kernel related. My graphic card (MSI with AMD R7 360 OC 2 GB DDR5) rejects booting for all distros (either in GRUB or in SDDM (or inbetween)). I switched to the chipset graphics and (most) things work again -- USB-stick installs with no error (two of the same type, to be exact, both with "corrupt checksums" for different parts of the Software with the old graphics card).

I'll record further developments here if and when they occur. Hope this helps some other poor souls trying to pinpoint malfunctions on their Systems.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Why root user can't write log into /var/log directory? luofeiyu Programming 3 05-04-2017 06:03 AM
Fresh install of CentOS 6.4 not allowing user or root SSH access Predatorian Linux - Software 2 01-03-2014 03:47 PM
[SOLVED] Debian 6 new install: Can't log in as user or root Landshark Debian 16 08-01-2011 03:46 PM
[SOLVED] Some application installation questions: log in as root or log in as 'user' & do 'su' Robert.Thompson Slackware 9 02-25-2011 08:19 AM
Fresh 12.1 Install. X Starts in Root, not as user bowie Slackware 5 07-14-2008 09:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration