LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 05-28-2014, 12:35 AM   #1
tejaswi kalawatia
LQ Newbie
 
Registered: Feb 2009
Posts: 14

Rep: Reputation: 0
Slackware Login Not Working On 14.1


I performed the following steps as a result of which Login is blocked post a reboot
- i performed an update of my Slackware 14.1 system
- and then upgraded the downloaded packages using the Upgradepkg *.txz command; which led to the successful upgrade of all the downloaded packages
- after the upgrade process was finished I rebooted my system
- following the reboot, at the login prompt I am not getting the password prompt after I give the username as "root" or "baba" [custom user name]
 
Old 05-28-2014, 12:51 AM   #2
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
Are you logging into the tty or the graphical shiney?
Wait Slackware... never mind..

You're logging in passwordless?

Last edited by dijetlo; 05-28-2014 at 12:52 AM.
 
Old 05-28-2014, 01:10 AM   #3
tejaswi kalawatia
LQ Newbie
 
Registered: Feb 2009
Posts: 14

Original Poster
Rep: Reputation: 0
I am logging into the tty and I am not logging in passwordless.
 
Old 05-28-2014, 01:30 AM   #4
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
so your entering the password and you don't see the characters?

I think that's the default behavior, isn't it?
 
Old 05-28-2014, 01:55 AM   #5
tejaswi kalawatia
LQ Newbie
 
Registered: Feb 2009
Posts: 14

Original Poster
Rep: Reputation: 0
No,
I am not getting a prompt to enter the password. I give the username and that's it, there is a few seconds delay and then it prompts to enter the username again
 
Old 05-28-2014, 02:41 AM   #6
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
Sounds like it can't access your passwd hash table. Have you tried to ssh into it?
 
Old 05-28-2014, 02:43 AM   #7
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
How did you upgrade? CD/Slackpkg/Slackpkg+ ?
 
Old 05-28-2014, 02:44 AM   #8
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,113

Rep: Reputation: Disabled
I'd use the Slackware DVD to boot the installer but do not type "setup", mount your root partition as /mnt and do this:
Code:
mount --bind /dev /mnt/dev
mount --bind /sys /mnt/sys
mount --bind /proc /mnt/proc
chroot /mnt
Then erase the root's password in /etc/shadow

*Maybe* that can help.

PS While you are at it, issue this command
Code:
ls -lt /var/log/packages|less
to list the packages that have just been upgraded and check that their arch's (i486 vs x86_64) meet that of your system, then please post the results.

Last edited by Didier Spaier; 05-28-2014 at 03:00 AM. Reason: PS added
 
2 members found this post helpful.
Old 05-28-2014, 03:19 AM   #9
tejaswi kalawatia
LQ Newbie
 
Registered: Feb 2009
Posts: 14

Original Poster
Rep: Reputation: 0
Thanks a lot Dijetlo and Didier for your help. I will do these steps and post the result here soon
 
Old 05-28-2014, 03:34 AM   #10
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
No worries, Tajaswi, you run Slackware, you're practically family.
I'm about done here for now, I'll check back later but your better off listening to didier than me anyway.
 
Old 05-28-2014, 04:43 AM   #11
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8111Reputation: 8111Reputation: 8111Reputation: 8111Reputation: 8111Reputation: 8111Reputation: 8111Reputation: 8111Reputation: 8111Reputation: 8111Reputation: 8111
Quote:
Originally Posted by tejaswi kalawatia View Post
I performed the following steps as a result of which Login is blocked post a reboot
- i performed an update of my Slackware 14.1 system
- and then upgraded the downloaded packages using the Upgradepkg *.txz command; which led to the successful upgrade of all the downloaded packages
- after the upgrade process was finished I rebooted my system
- following the reboot, at the login prompt I am not getting the password prompt after I give the username as "root" or "baba" [custom user name]
You upgraded to Slackware 14.1 from an older release?
Is this a 64-bit or a 32-bit Slackware? Did you use the packages for the correct architecture when you upgraded (i.e. use 32-bit packages if your Slackware is the 32-bit version)?
Upgrading from an older to a newer Slackware release is more than just upgrading a series of packages. Every release of Slackware introduces new packages (which you have to install using installpkg). It could make also some other packages obsolete (i.e. they will have to be removed using removepkg).

When upgrading Slackware, keep an eye on the UPGRADE.TXT file. Also good reading material: http://docs.slackware.com/howtos:sla...:systemupgrade. Every release of Slackware comes with a CHANGES and HINTS file which lists all the new/removed packages plus potential pitfalls and interesting things to know.

And you will make life easier when using slackpkg to perform the upgrade.

Eric

Last edited by Alien Bob; 05-28-2014 at 04:45 AM.
 
Old 05-28-2014, 09:07 PM   #12
SW64
Member
 
Registered: May 2014
Distribution: Slackware
Posts: 262

Rep: Reputation: 123Reputation: 123
Tejaswi, word for word, you have described an experience that I have had the pleasure of going through twice. It happened when I mistakenly downloaded and upgradepkg'ed the patch updates for Slackware 32bit 14.1 when I am using Slackware 64bit 14.1. It's sublimely easy for me to overlook this rather important difference when I navigates to the folder of the patch updates online (the mirror sites usually follow this naming convention: slackware vs slackware64. Slackware32 vs slackware64 would have been a little more obvious). I think it might have been the Shadow package that got borked. I am not good enough to know how to recover from this (yet!) and I ended up doing a complete reinstall of Slackware 64 to get my computer back.

I'd love to hear suggestions from other here at Linuxquestions.org on the ways to recover from this problem for future reference.

Last edited by SW64; 05-28-2014 at 11:05 PM.
 
1 members found this post helpful.
Old 05-29-2014, 01:27 AM   #13
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,113

Rep: Reputation: Disabled
@SW64: Welcome to Linux Questions.

I'd try this:

chroot to your system, then list the packages with the the "bad" architecture (see my previous post in this thread) and reinstall the packages in concern:
upgradepkg --install-new --reinstall <good package>
 
1 members found this post helpful.
Old 05-29-2014, 02:12 AM   #14
Labinnah
Member
 
Registered: May 2014
Location: Łódź, Poland
Distribution: Slackware-current
Posts: 185

Rep: Reputation: 112Reputation: 112
Quote:
Originally Posted by tejaswi kalawatia View Post
- following the reboot, at the login prompt I am not getting the password prompt after I give the username as "root" or "baba" [custom user name]
I've encountered two similar problems in the past. Maybe one of it hits you.

- First, ensure that you have new line character at the end of /etc/passwd and /etc/shadow. Certain combination of glibc and shadow packages have problem when you haven't it.
- Second make sure you have replaced /etc/login.defs with /etc/login.defs.new or merge this files. Some missing options in that file also prevent system login.
 
Old 05-29-2014, 10:26 AM   #15
tejaswi kalawatia
LQ Newbie
 
Registered: Feb 2009
Posts: 14

Original Poster
Rep: Reputation: 0
Hi Didier,
Although i was able to mount root with /mnt, Execution of the mount commands gave "does not exist" as the output for all the 3 commands.
The ls -lt /var/log/packages|less listed nothing.

I agree with SW64 here, i might have ended up inadvertently installing 32-bit packages on my 64-bit system.

Thank you bob and labinnah for your suggestions and i agree on the version mismatch that has happened here while upgrading these packages.

---------- Post added 05-29-14 at 08:56 PM ----------

I do feel that i might have to reinstall my Slackware OS again
 
  


Reply

Tags
slackware, slackware 14


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
[SOLVED] Trying to set up a "clean" chroot login at console in Slackware - can't login Eldarby Slackware 4 07-28-2013 09:35 AM
rpm not working from root login but working from user login amar.sree Linux - Newbie 2 08-09-2012 08:53 PM
slackware login command line isnt working bob jones15 Linux - Newbie 14 03-26-2006 11:42 PM
slackware login command line isnt working bob jones15 Slackware 2 03-21-2006 12:52 PM
Proftpd - Slackware 10 - Login not working TBomb Linux - Software 22 09-13-2004 05:28 PM

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

All times are GMT -5. The time now is 05:18 PM.

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