Sudo + Securid

Todd C. Miller Todd.Miller at courtesan.com
Wed Mar 14 09:48:13 EST 2001


In message <20010314111709.A29476 at eircom.net>
	so spake David Dorgan (dorgand):

> This is a question about building sudo with securid
> support in openbsd and freebsd.
> 
> Basically on openbsd I get 
> 
> gcc -o sudo check.o getspwuid.o goodpath.o fileops.o find_path.o interfaces.o
> .....
> ld: /home/davidd/rsa/sdiclient.a(): bad magic
> collect2: ld returned 1 exit status
> *** Error code 1

Chances are, /home/davidd/rsa/sdiclient.a is an elf archive, in which
case you are out of luck since OpenBSD uses a.out.

> On freebsd I get even more errors
> 
> /usr/ace/sdiclient.a(sdauth.o): In function `check_pin':
> sdauth.o(.text+0x409f): undefined reference to `__ctype_b'
> etc/...

You should try and track down where that symbol is defined in
FreeBSD (try using nm on some of the libs in /usr/lib).  If you
can find the lib it depends on you can edit sudo's Makefile to
link it in.

 - todd



More information about the sudo-users mailing list