Support for file sharing over SMB/NFS

Michael Matz matz at kde.org
Wed Apr 17 10:58:09 BST 2002


Hi,

On Tue, 16 Apr 2002, Matthias Hölzer-Klüpfel wrote:

> > The backend is a perl script, "fileshareset", suid-root, which takes care
> > of updating the appropriate files (typically /etc/exports and smb.conf)
> > when adding/removing shared directories, and HUPing smbd to get it
> > to re-read the config. It can also list the currently shared directories.
>
> A setuid perl script? Do you believe this will pass any kind of security
> audit?

Perl scripts are much more secure than C programs, so actually, if
possible, a setuid perl script is better than a binary executable, and
should really be prefered.


Ciao,
Michael.





More information about the kde-core-devel mailing list