>>>>> "Dylan" == Dylan Reinhardt <[EMAIL PROTECTED]> writes:

Dylan>         os.system('sudo %s mb2md -s /home/%s/%s' % (
Dylan>                                                    user_name, 
Dylan>                                                    user_name, 
Dylan>                                                    mbox_name))

I find Python syntax hard to read, but shouldn't that
be "sudo -u %s", and not "sudo %s"?

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
_______________________________________________
PDXLUG mailing list
[EMAIL PROTECTED]
http://pdxlug.org/mailman/listinfo/pdxlug

Reply via email to