LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-26-2013, 01:17 PM   #1
Nitrogen1
LQ Newbie
 
Registered: Sep 2013
Posts: 3

Rep: Reputation: Disabled
Slackware 14: Can not log in, root and users not recognized


Hello guys,
I'm a novice user with slackware and I found a problem with my distribution slackware 14 (3.2.45). Using the kde desktop manager with two user sessions, in the transition from one session to another, the system does not recognize the passwords of both users (root and myuser) so I rebooted the machine. Booting Slackware from LILO several errors appear, but among these I can read only one "unknown user 'root' in bus configuration file". Result, I can no longer access with none of the two users. Being a novice user how can I fix it or at least log in to troubleshoot the problem?
I apologize for my bad english, thanks in advance.
 
Old 09-26-2013, 01:40 PM   #2
jostber
Member
 
Registered: Jul 2001
Location: Skien, Norway
Distribution: Slackware Current 64-bit
Posts: 543

Rep: Reputation: 178Reputation: 178
Can you post some errors that appear?
 
Old 09-26-2013, 02:07 PM   #3
NoStressHQ
Member
 
Registered: Apr 2010
Location: Geneva - Switzerland ( Bordeaux - France / Montreal - QC - Canada)
Distribution: Slackware 14.2 - 32/64bit
Posts: 609

Rep: Reputation: 221Reputation: 221Reputation: 221
How did you change your root password ? And how did you add the other user account ?

To do some forensics you can boot with Slackware Install DVD and mount your partition under /mnt, then you can check your /mnt/etc/passwd and /mnt/etc/shadow files to see if they're well formed.
 
Old 09-27-2013, 04:37 AM   #4
Nitrogen1
LQ Newbie
 
Registered: Sep 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jostber View Post
Can you post some errors that appear?
In which file can i find them?

Quote:
Originally Posted by NoStressHQ View Post
How did you change your root password ? And how did you add the other user account ?

To do some forensics you can boot with Slackware Install DVD and mount your partition under /mnt, then you can check your /mnt/etc/passwd and /mnt/etc/shadow files to see if they're well formed.
I changed them using the 'passwd' and 'adduser' commands. Running a live distro i noticed that in the shadow file there is a password for root but at the login i can't access.

Last edited by Nitrogen1; 09-27-2013 at 04:55 AM.
 
Old 09-27-2013, 05:16 AM   #5
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Probably you changed a keyboard map.

Try to boot at runlevel 3 (When you see lilo's boot screen, press [Tab] then type e.g. "Linux 3") then log in as a regular user. If that works type "startx".

Please tell us what you have in /etc/rc.keymap, and if you have a file called /etc/X11/xorg.conf.d/90-keyboard-layout.conf, what's the "XkbLayout" setting.

Also IIRC KDE stores its kernel keyboard map elsewhere, unfortunately I'm not a KDE user, please someone remind us where if that's actually the case.

Last resort, erase root's password in /etc/shadow.

Last edited by Didier Spaier; 09-27-2013 at 05:26 AM.
 
1 members found this post helpful.
Old 09-30-2013, 09:49 AM   #6
zrdc28
Member
 
Registered: Dec 2007
Location: Alabama USA
Distribution: Slackware current
Posts: 309

Rep: Reputation: 55
This is just a thought since it happened to me last week, could your caps lock be on now or when you added the passwords?
 
1 members found this post helpful.
Old 09-30-2013, 10:56 AM   #7
Skaperen
Senior Member
 
Registered: May 2009
Location: center of singularity
Distribution: Xubuntu, Ubuntu, Slackware, Amazon Linux, OpenBSD, LFS (on Sparc_32 and i386)
Posts: 2,684
Blog Entries: 31

Rep: Reputation: 176Reputation: 176
If the system does not boot up and the messages are only on the screen, about the only way to post them is with a camera image. To do maintenance/fixes on such a system, you can boot from the DVD and mount the hard drive's root filesystem. Not only check if the right files are present and have the right content, also be sure their permissions, and the permissions of all directories above, all the way to "/", are correct.
 
  


Reply



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
No Users Can Log In; Only Root Can JWilliamCupp Linux - Software 9 11-22-2023 05:12 AM
Can't log non root users into X royce2020 Linux - Desktop 2 11-06-2007 08:31 AM
Log off all users other than root Skywing Red Hat 14 11-16-2006 02:50 PM
root can log in, but not users walterbyrd Debian 7 02-08-2006 06:17 AM
non-root users can't log in (RH9) skullmunky Linux - Security 1 11-17-2004 11:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:55 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
Open Source Consulting | Domain Registration