Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-26-2013, 01:17 PM
|
#1
|
LQ Newbie
Registered: Sep 2013
Posts: 3
Rep: 
|
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.
|
|
|
09-26-2013, 01:40 PM
|
#2
|
Member
Registered: Jul 2001
Location: Skien, Norway
Distribution: Slackware Current 64-bit
Posts: 543
Rep: 
|
Can you post some errors that appear?
|
|
|
09-26-2013, 02:07 PM
|
#3
|
Member
Registered: Apr 2010
Location: Geneva - Switzerland ( Bordeaux - France / Montreal - QC - Canada)
Distribution: Slackware 14.2 - 32/64bit
Posts: 609
|
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.
|
|
|
09-27-2013, 04:37 AM
|
#4
|
LQ Newbie
Registered: Sep 2013
Posts: 3
Original Poster
Rep: 
|
Quote:
Originally Posted by jostber
Can you post some errors that appear?
|
In which file can i find them?
Quote:
Originally Posted by NoStressHQ
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.
|
|
|
09-27-2013, 05:16 AM
|
#5
|
LQ Addict
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,359
Rep: 
|
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.
|
09-30-2013, 09:49 AM
|
#6
|
Member
Registered: Dec 2007
Location: Alabama USA
Distribution: Slackware current
Posts: 309
Rep:
|
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.
|
09-30-2013, 10:56 AM
|
#7
|
Senior Member
Registered: May 2009
Location: center of singularity
Distribution: Xubuntu, Ubuntu, Slackware, Amazon Linux, OpenBSD, LFS (on Sparc_32 and i386)
Posts: 2,895
Rep: 
|
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.
|
|
|
All times are GMT -5. The time now is 07:11 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|