[sudo-users] SegFault/BusError on FreeBSD

Samuel Denbigh Leslie samuel.denbigh.leslie at gmail.com
Thu Jan 26 03:46:07 EST 2012


Hi all,

I recently compiled & installed sudo from ports on a FreeBSD 8.2 x64 
box; version 1.8.3p1 w/ insults & LDAP support. The box also has 
BeyondTrust PowerBroker Identity Services (Open Edition) installed for 
integration with an Active Directory domain. Whenever trying to sudo 
logged in as an AD user, we either get a Segmentation Fault or a Bus 
Error (which one seems to be largely random). When logged in as a local 
user, sudo seems to work absolutely fine.

This always seems to happen when sudo is terminating, either after 
entering a valid password, or after a sufficient number of invalid 
passwords. In all cases, sudo fails to authenticate the user stating 
they are not in the sudoers file, however, the configuration does appear 
to be correct, and I have an identical configuration on a Linux box (as 
far as the lines pertaining to the user in question goes) working 
without issue. That particular box is running an identical copy of PT 
PBIS (but built for Linux x64) and sudo 1.7.2p1 on Ubuntu Server 10.04 x64.

On one occasion, which I've yet to reproduce, sudo seemed to spam the 
/var/log/messages file with garbage:
Jan 26 19:08:17 icarus sudo:      sdl : user NOT in sudoers ; TTY=pts/0 
; PWD=/usr/home/sdl ; USER=root ; COMMAND=/bin/ls
Jan 26 19:08:17 icarus kernel: <266> p
Jan 26 19:08:17 icarus kernel: i<d 118>19:08:17 ic
Jan 26 19:08:17 icarus kernel: a<r6u>s1
Jan 26 19:08:17 icarus kernel: 1<2191 8(> s
Jan 26 19:08:17 icarus kernel: u<do6:> s
Jan 26 19:08:17 icarus kernel: <ud1o18>)
Jan 26 19:08:17 icarus kernel: < 6 > , u
Jan 26 19:08:17 icarus kernel: i<d1 18>s0d
Jan 26 19:08:17 icarus kernel: l< 6:> :
Jan 26 19:08:17 icarus kernel: <e1x18i>tu
Jan 26 19:08:17 icarus kernel: s<e6>re
Jan 26 19:08:17 icarus kernel: d< 1o1n8 >s
Jan 26 19:08:17 icarus kernel: N<O6T> i
Jan 26 19:08:17 icarus kernel: g<n1a1l8 >i1n
Jan 26 19:08:17 icarus kernel: <s6ud>0o
Jan 26 19:08:17 icarus kernel: <
Jan 26 19:08:17 icarus kernel: 118>ers ; TTY=pts/0 ; PWD=/usr/home/sdl ; 
USER=root ; COMMAND=/bin/ls
Jan 26 19:08:17 icarus kernel: pid 1127 (sudo), uid 0: exited on signal 10

Further, the original compile of sudo only had insults (no LDAP support) 
and exhibited the same behaviour; the new compile was just to test if 
LDAP was required.

Any help would be greatly appreciated.

Kind regards,

-SDL



More information about the sudo-users mailing list