LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-01-2010, 05:28 AM   #1
elishac
Member
 
Registered: Nov 2009
Posts: 522

Rep: Reputation: 33
many bugs on ubuntu


hello,

I noticed that my log in /var/log/syslog doesn't report any passwords failure, as it should with unix-chkpwd.
So I googled it and I found a manipulation that should help me with that. Here is what I did :
- I installed this : http://www.kernel.org/pub/linux/libs...AM-0.77.tar.gz
- I wrote this :
Code:
./configure --enable-static-libpam --with-mailspool=/var/mail \
--enable-read-both-confs --sysconfdir=/etc &&
make &&
make install &&
mv /lib/libpam.a /lib/libpam_misc.a /lib/libpamc.a /usr/lib &&
ln -sf ../../lib/libpam.so.0.77 /usr/lib/libpam.so &&
ln -sf ../../lib/libpam_misc.so.0.77 /usr/lib/libpam_misc.so &&
ln -sf ../../lib/libpamc.so.0.77 /usr/lib/libpamc.so
In the end, unix-chkpwd still doesn't work (please help me to make this work) and even worse, when I type su or sudo ls and then my password, it says my password is incorrect.
I don't know if this has anything to do with the manipulation I just made, because I'm a newbie, but I think it does.
I now fear to shut my computer down because I'm afraid I won't be able to log in anymore. So please help me fast because I'll wait for your instructions before turning it down.

On another matter, which I'm not sure it's related either, my syslog is now getting spammed with "ureadahead-other main process (xxx) terminated with status 2" (several messages per second).
I googled it too, and I found it may be related to fstab issues, but I'm not sure, and I don't know enough anyway to modify it.
Here it is, tell me if there's anything wrong with it, and how to modify it :

Code:
# /etc/fstab: static file system information.
#
# Use 'vol_id --uuid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
# / was on /dev/sda5 during installation
UUID=b58... /               ext2    relatime,errors=remount-ro 0       1
# swap was on /dev/sda6 during installation
UUID=a67... none            swap    sw              0       0
/dev/scd0       /media/cdrom0   udf,iso9660 user,noauto,exec,utf8 0       0
/dev/sda2   /media/DATA   ntfs-3g   rw,auto  0   0
Thanks.
 
Old 02-01-2010, 05:33 AM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
I noticed that my log in /var/log/syslog doesn't report any passwords failure, as it should with unix-chkpwd.
Aren't these logged in
/var/log/auth.log ?
 
1 members found this post helpful.
Old 02-01-2010, 05:53 AM   #3
elishac
Member
 
Registered: Nov 2009
Posts: 522

Original Poster
Rep: Reputation: 33
:S
Thanks a lot. You solved one of my problems, and the one that interested me the most.
Can you please help me to fix all the mistakes I did while trying to make this work on my own ?
 
Old 02-01-2010, 05:58 AM   #4
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
First see if there is a uninstall option
In general make uninstall
Then remove the softlinks you created
Code:
 rm /path/to/soft/link
 
Old 02-01-2010, 12:12 PM   #5
elishac
Member
 
Registered: Nov 2009
Posts: 522

Original Poster
Rep: Reputation: 33
make: *** No rule to make target `uninstall'. Stop.

As you said 'then', I didn't execute the second part of your instructions.
 
Old 02-01-2010, 01:13 PM   #6
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
You need to use "make uninstall" in the source directory you used to install.
However, seems to me there is no uninstall option.
You could try to reverse what you did here
Quote:
mv /lib/libpam.a /lib/libpam_misc.a /lib/libpamc.a /usr/lib &&
ln -sf ../../lib/libpam.so.0.77 /usr/lib/libpam.so &&
ln -sf ../../lib/libpam_misc.so.0.77 /usr/lib/libpam_misc.so &&
ln -sf ../../lib/libpamc.so.0.77 /usr/lib/libpamc.so
This is why you always should use the packagemanager to install software.
 
Old 02-01-2010, 01:53 PM   #7
elishac
Member
 
Registered: Nov 2009
Posts: 522

Original Poster
Rep: Reputation: 33
I did it in the same directory, but it seems that there is no uninstall option indeed.
What do you mean by "reverse", tell me exactly what I need to type in...
 
Old 02-01-2010, 02:05 PM   #8
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Just wondering, can you use su and sudo now ?

remove the softlinks you created
Code:
 rm /path/to/soft/link
 
Old 02-01-2010, 05:24 PM   #9
elishac
Member
 
Registered: Nov 2009
Posts: 522

Original Poster
Rep: Reputation: 33
I'm really a newbie, you must help me more. I don't know what a softlink is, let alone where it is. All I know is that the directory in which I copied and made all the commands that I pasted above is : #HOME/Downloads/Linux -PAM-0.77. What exactly am I supposed to do ?

And by the way, I just noticed that what is logged in /var/log/auth.log isn't really a unix-chkpwd. unix-chkpwd seems to use /var/log/syslog only.
 
Old 02-02-2010, 03:05 AM   #10
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
In the end, unix-chkpwd still doesn't work (please help me to make this work) and even worse, when I type su or sudo ls and then my password, it says my password is incorrect.
I don't know if this has anything to do with the manipulation I just made, because I'm a newbie, but I think it does.
I now fear to shut my computer down because I'm afraid I won't be able to log in anymore. So please help me fast because I'll wait for your instructions before turning it down.
Does the system work?
Can you use su and sudo ?
 
Old 02-02-2010, 09:22 AM   #11
elishac
Member
 
Registered: Nov 2009
Posts: 522

Original Poster
Rep: Reputation: 33
The system works, but I cannot use su or sudo.
 
Old 02-02-2010, 09:49 AM   #12
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
The system works, but I cannot use su or sudo.
If you can't use su or sudo, you can't remove the installed files and softlinks you created.
You need to boot from a live CD, and undo what you did from the live CD
You also need to know which files are installed using the "make install" command.
If you go to a terminal using CTRL_ALT_F2, can you login as root?
 
Old 02-02-2010, 10:38 AM   #13
elishac
Member
 
Registered: Nov 2009
Posts: 522

Original Poster
Rep: Reputation: 33
I don't have a live CD.
I had to shut the computer down because the battery was low.
Now I can't login anymore. It says authentification failure, although the password I entered is correct.
What can I do ?
 
Old 02-02-2010, 11:12 AM   #14
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
I don't have a live CD.
The CD you used to install, is a live CD
 
Old 02-02-2010, 01:03 PM   #15
elishac
Member
 
Registered: Nov 2009
Posts: 522

Original Poster
Rep: Reputation: 33
I don't have a single CD in my house, so there's no way I have a live CD.
I wasn't the one who installed ubuntu on my computer.
I managed to change my password and now I can use ubuntu again (i just followed a procedure on internet ; and by the way it seems very strange to me that someone is able to change the root's password without needing to know the previous password). But I still need to uninstall everything I did. How to do that ?
 
  


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
LXer: The dark side of Ubuntu Launchpad bugs: mail till you die LXer Syndicated Linux News 0 01-14-2010 10:30 AM
LXer: Why I’ve stopped reporting bugs to Ubuntu LXer Syndicated Linux News 0 01-19-2008 04:30 AM
is it bugs?????? please help me take a look. hackintosh SUSE / openSUSE 0 10-03-2007 03:42 AM
LXer: Ubuntu Feisty Fawn release candidate delayed due to validation bugs LXer Syndicated Linux News 0 04-13-2007 09:46 AM
LXer: Ubuntu release fixes bugs LXer Syndicated Linux News 0 08-11-2006 01:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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