LinuxQuestions.org
Help answer threads with 0 replies.
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-07-2006, 01:58 PM   #1
marsques
Member
 
Registered: Jan 2004
Location: Manchester
Distribution: slackware...
Posts: 344

Rep: Reputation: 32
cannot login after removing certain packages


basically i removed the following packages guile-1.8 (and accidently guile-1.6.7) and also icu (3.4 i think a tgz slackware package) and quasar-1.4.7 from source with a package created from checkinstall and now cannot login as a normal user or root. (after entering the password i get the message that says password is not recognised or invalid user, not sure what it exactly says in console mode).

any ideas?

thanks in advance
 
Old 09-07-2006, 02:05 PM   #2
Randux
Senior Member
 
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705

Rep: Reputation: 55
LOL I deleted shadow one time so I know your feeling

Boot the Slackware installer CD (disc 1) or a linux live CD and chroot into your system. Then do pkgtool and add what you need.
 
Old 09-07-2006, 02:32 PM   #3
marsques
Member
 
Registered: Jan 2004
Location: Manchester
Distribution: slackware...
Posts: 344

Original Poster
Rep: Reputation: 32
i think it may be guile-1.6.* as the rest were installed by me. But is there any other package that i should re-install?

thanks in advance
 
Old 09-07-2006, 02:39 PM   #4
Randux
Senior Member
 
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705

Rep: Reputation: 55
You can look in /var/adm/removed_packages for a list of what you removed, *if* you used pkgtool. If you just deleted stuff you're on your own.

Just try one at a time if you think you know what it is. You'll probably be fine quickly.
 
Old 09-07-2006, 02:53 PM   #5
marsques
Member
 
Registered: Jan 2004
Location: Manchester
Distribution: slackware...
Posts: 344

Original Poster
Rep: Reputation: 32
thanks... just removed packages via removepkg... so will look in the removepkg log to see what else was removed today...
 
Old 09-08-2006, 03:41 PM   #6
marsques
Member
 
Registered: Jan 2004
Location: Manchester
Distribution: slackware...
Posts: 344

Original Poster
Rep: Reputation: 32
the reason that i seem to not be able to login is due to there being no users on the system including root! all the directories are there including the /root and /home/mques.

is there a reason why this has happened, has some file relating the passwords and users been deleted? and if it has do you know what the name of this file(s) are?

thank you.
 
Old 09-08-2006, 03:46 PM   #7
Voltar
Member
 
Registered: Jan 2006
Location: Bakersfield, California
Distribution: CentOS 5.3, FreeBSD 7.2, Fedora 11
Posts: 83

Rep: Reputation: 15
The file that holds the users and their info is /etc/passwd, the groups is /etc/groups, and passwords is /etc/shadow.


Sounds like you don't have one or more of these files.
 
Old 09-08-2006, 03:57 PM   #8
marsques
Member
 
Registered: Jan 2004
Location: Manchester
Distribution: slackware...
Posts: 344

Original Poster
Rep: Reputation: 32
yeah you are right...

it looks like when quasar-1.4.7_GPL-i386-1 was removed it had removed passwd groups and shadow but there are these files in /etc with a 'bak' extention ie passwd.bak and when i type 'cat passwd.bak | grep mques' mques shows up so it looks like these were backed up when the original was removed.

so i'll chroot and copy these files to there original name and see what happens...
 
Old 09-08-2006, 04:32 PM   #9
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
What on earth is quasar? :)

Certainly nothing that comes with Slack - where did you get it from?


Cheers,
Tink
 
Old 09-08-2006, 04:51 PM   #10
marsques
Member
 
Registered: Jan 2004
Location: Manchester
Distribution: slackware...
Posts: 344

Original Poster
Rep: Reputation: 32
ah... quasar is an accountancy package... could not get gnucash to work so was playing around with kmymoney and then tried this quasar thing, never could get it to work so removed it...

well the good news is i can log in as my self now after copying passwd.bak as passwd and so on... and things seem to work as normal except for a few annoying issues...

for eg: $whomai : cannot find name for user ID 505 (my regular users UID)

and also in xfce, on the xfce panel righ click doesnt bring up the right click options anymore and also the xfce panel has gone back to its default view with the default icons and so on... and cannot access the goodies...

any ideas of what should be done to get things as was before?

thanks in advance...
 
Old 09-08-2006, 05:53 PM   #11
vls
Member
 
Registered: Jan 2005
Location: The grassy knoll
Distribution: Slackware,Debian
Posts: 192

Rep: Reputation: 31
Don't expect quasar to show up in slack-current anytime soon.

Another hint for removepkg is the -warn option. That displays what's getting removed but no action is performed.
 
Old 09-08-2006, 06:02 PM   #12
marsques
Member
 
Registered: Jan 2004
Location: Manchester
Distribution: slackware...
Posts: 344

Original Poster
Rep: Reputation: 32
well it looks like i've buggered the system... so will have to re-install slack or something else... maybe i'll try something non-slack this time to see what it is like... suse, ubuntu or gentoo?
 
  


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
removing packages lukman Linux - Newbie 2 06-11-2006 08:02 PM
removing certain packages Smokey Red Hat 1 10-02-2004 07:55 PM
removing packages robson8112 Linux - General 3 01-21-2004 03:34 PM
removing packages..??? mhd_Ahmed Linux - Newbie 4 08-22-2003 12:46 PM
Removing unwanted RH 7.2 packages!! CyberDrake Linux - Distributions 1 02-08-2002 05:33 AM

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

All times are GMT -5. The time now is 06:10 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