[Samba] libsmb and suid root
jeremy at vote-smart.org
Thu Apr 18 15:23:02 GMT 2002
yeah, i know its bad - but how else am i gonna mount shares as an ordinary
On Thursday 18 April 2002 04:16 pm, Andrew Bartlett wrote:
> J Anthony wrote:
> > how do i get libsmb to allow me to make smbmount suid root?
> > currently i get 'libsmb based programs must *NOT* be setuid root.'
> There is a reason we have that. Don't do it.
> Running libsmb based programs under suid privilages *will* result in a
> security hole. A number of its actions are based on user-supplied
> environment variables, and it wasn't written to be setuid-secure.
> Andrew Bartlett
More information about the samba