Merit Network
Can't find what you're looking for? Search the Mail Archives.
  About Merit   Services   Network   Resources & Support   Network Research   News   Events   Home

Discussion Communities: Merit Network Email List Archives

IRRd-Discuss


Date Prev | Date Next | Date Index | Thread Index | Author Index | Historical

Re: [irrd-support #1183] override password

  • From: Gerald Andrew Winters
  • Date: Fri Oct 06 11:48:36 2000

K.C,

Try adding "-lcrypt" to the gcc invokation.  

--jerry

> 
> Thanks for your speedy reply! I tried to compile it, but it didn't quite
> work. The results are below. Any more ideas would be greatly appreciated.
> (Maybe an older version of crypt_gen?)   K.C.
> 
> $ sudo gcc crypt_gen.c -o my_encrypt
> Password:
> crypt_gen.c: In function `main':
> crypt_gen.c:53: warning: assignment makes pointer from integer without a
> cast
> /tmp/ccBwKEJC.o: In function `main':
> /tmp/ccBwKEJC.o(.text+0x1a0): undefined reference to `crypt'
> collect2: ld returned 1 exit status
> $
> $ gcc -v
> Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/specs
> gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
> $
> 
> -----Original Message-----
> From: Gerald Andrew Winters
> 
> 
> K.C.,
> 
> The program is in ~src/programs/irr_util and is called crypt_gen.c.
> You should be able to compile it from the command
> line with gcc, eg,
> 
> % gcc crypt_gen.c -o my_encrypt
> 
> The manual appears to be misleading.  Thanks for pointing
> this out.  Let me know if you have any other problems.
> 
> --jerry
> 
> >
> > Folks,
> >
> > I've had trouble generating the encrypted string to configure the override
> > password. The manual gives an example in the FAQ on page 28 that reads in
> > part:
> >
> > % ./my_encrypt foo
> > encrypted passwd is "pfPPYJKvH.qso"
> >
> > But, I've been unable to find any "my_encrypt" program in the irrd
> > directories, elsewhere on my system, or on the net. Where can I get this
> > program or an equivalent program? Or what would be a (compatible) work
> > around to generate the encrypted password?
> >
> > Thanks for any help.
> >
> > K.C. Smith
> >
> >
> >
> 
> 
> 
> 
> 




[an error occurred while processing this directive]