Solved

Redhat 4.2 and shadowed paswords

Posted on 1997-06-06
5
317 Views
Last Modified: 2013-12-15
I activated shadowed passwords for Redhat 4.2 as per the booklet says, and
while everything RPM installed works fine, qpopper from Qualcom does not
want to compile/link for me...

What I get is:
------------------------------------------------------------------------
make -f make.linux
make[1]: Entering directory `/usr/local/etc/pkg/qpopper2.3'
cc  -DBIND43 -DHAVE_VSPRINTF -DSYSV -DLINUX -DBINMAIL_IS_SETGID
-DAPOP=\"/etc/pop.auth\" -DPOPUID=\"pop\" -DGDBM -DAUTH flock.o pop_dele.o
pop_dropcopy.o pop_get_command.o pop_get_subcommand.o pop_init.o pop_last.o
pop_list.o pop_log.o pop_lower.o pop_msg.o pop_parse.o pop_pass.o
pop_quit.o pop_rset.o pop_send.o pop_stat.o pop_updt.o pop_user.o
pop_xtnd.o pop_xmit.o popper.o pop_bull.o xtnd_xlst.o pop_uidl.o mktemp.o
pop_rpop.o pop_apop.o md5.o pop_auth.o -o popper.linux -lshadow -ldbm
ld: cannot open -lshadow: No such file or directory
make[1]: *** [popper.linux] Error 1
make[1]: Leaving directory `/usr/local/etc/pkg/qpopper2.3'
make: *** [linux] Error 2
------------------------------------------------------------------------

locate says the shadow.h files are out there (and ls confirms it) but ld
doesn't seem to think so. I did modify the make file as per the
instructions for shadowed password support and I don't know what to do
next. If I knew how to back out of shadowing, I would right now... Help!
0
Comment
Question by:LinuxLord
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 2

Expert Comment

by:czamudio
ID: 1627966
where is located the shadow.h, I think this file must be in /usr/lib check it.
0
 

Author Comment

by:LinuxLord
ID: 1627967
More: what exactly is ld looking for? Is it really the shadow.h file? Or is it some lib file? If it's the shadow.h file, and that is out there, why won't ld link the executable? Anyone, someone?
0
 
LVL 4

Expert Comment

by:feenix
ID: 1627968
Have you tried to locate libshadow.so? ld is looking for it,
and if it's missing, the header files won't help you.
0
 

Author Comment

by:LinuxLord
ID: 1627969
Somebody else told me the file that it is looking for is libshadow.so. Where (what package [.rpm]) can this file be found?
0
 

Accepted Solution

by:
timshaw earned 100 total points
ID: 1627970
If you installed the shadow kit correctly, you should have a - as well as a shadow.h - a libshadow.a file in /usr/lib.  This is the file that qpopper is looking for:

-rw-r--r-- 1 root root 57770 Jan 30 16:56 /usr/lib/libshadow.a

The details of the kit for this - if not in the Redhat distribution are as follows:

LSM entry follows:

Begin3
Title:          Shadow Password Suite
Version:        3.3.3-951218 (Actually it's 961025)
Entered-date:   18DEC95
Description:
Keywords:       login passwd security shadow
Author:         jfh@rpp386.cactus.org (John F. Haugh II)
Maintained-by:  marekm@i17linuxb.ists.pwr.wroc.pl (Marek Michalkiewicz)
Primary-site:   sunsite.unc.edu /pub/Linux/system/Admin
                220K shadow-951218.tar.gz
Alternate-site: ftp.ists.pwr.wroc.pl /pub/linux/shadow
Original-site:  ftp.uu.net ?
Platforms:
Copying-policy: BSD-like

Don't give up - I have shadow passwords working with everything and it works just fine
0

Featured Post

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Suggested Courses

626 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question