LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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, 02: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, 02:40 PM   #2
jostber
Member
 
Registered: Jul 2001
Location: Skien, Norway
Distribution: Slackware 14.0 64-bit
Posts: 228

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

Rep: Reputation: 108Reputation: 108
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, 05: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 05:55 AM.
 
Old 09-27-2013, 06:16 AM   #5
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,546

Rep: Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191
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 06:26 AM.
 
1 members found this post helpful.
Old 09-30-2013, 10:49 AM   #6
zrdc28
Member
 
Registered: Dec 2007
Location: Alabama USA
Distribution: Slackware current
Posts: 254

Rep: Reputation: 40
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, 11:56 AM   #7
Skaperen
Senior Member
 
Registered: May 2009
Location: WV, USA
Distribution: Slackware, CentOS, Ubuntu, Fedora, Timesys, Linux From Scratch
Posts: 1,777
Blog Entries: 20

Rep: Reputation: 116Reputation: 116
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


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


All times are GMT -5. The time now is 09:33 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration