[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[LDM #APY-801189]: hupsyslog problem



Dear Robin Wang,

> /package/nice/bin $  ls -l hup*
> -rwsr-xr-x 1 root nice 8955 May 10 16:54 hupsyslog*
> 
> /package/nice/bin $ file /package/nice/bin/hupsyslog
> /package/nice/bin/hupsyslog: setuid ELF 32-bit LSB executable, Intel 80386,
> versio
> n 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), for
> GNU/Li
> nux 2.6.9, not stripped

The information on "bin/hupsyslog" looks OK.

It's possible that the operating-system won't allow a setuid program that's 
owned by root to load a shared library that's in an untrusted directory. Try 
removing the setuid bit from hupsyslog(1) (e.g., "sudo chmod u-s 
bin/hupsyslog") and then execute the program. It will fail, but if it fails for 
a different reason, then that's likely the cause.

> Best Regards,
> Robin Wang

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: APY-801189
Department: Support LDM
Priority: Normal
Status: Closed