perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Diego Thomas" <di...@pfcnetwork.com.br>
Subject SUID questions...
Date Tue, 13 May 2003 11:57:57 GMT
Hi List :)

    I'm doing a Postfix+LDAP administrator in perl, the beta version is
everything working, but i have to create some directories for the users
Maildir.
    Do someone have a nice example of some suid script that i can
create/remove dirs and set permissions as root by +s mode?

something like: mkdir /home/vmail/domain/$user/Maildir...
                       chown postfix.postfix /home/vmail/domain/$user/ -R

and rmdir too for the userdel thing ...


ps. i got some .c scripts, but it always dump unsecure erros in error_log.

Thanks!

cya!


Mime
View raw message