>>>>> "Vivek" == vivek khurana <[EMAIL PROTECTED]> writes:

    Vivek> --- Raj Mathur <[EMAIL PROTECTED]> wrote:
    >> Oh wait!  If you use PHP you're in deep trouble anyway :)

    Vivek>  I know this i was just exploring a weird idea. Blame my
    Vivek> insomia for such questions. BTW any pointer to any ready
    Vivek> made perl script for adding system users. i just want to
    Vivek> cross check it with a perl script i had written(security
    Vivek> concern)

perl -MCPAN -eshell with i /passwd/ yields Passwd::Linux and
Unix::PasswdFile, one of which I presume should be able to manipulate
Unix passwd/shadow files.

Alternatively, system("/usr/sbin/useradd ...") always works :)

Regards,

-- Raju
-- 
Raj Mathur                [EMAIL PROTECTED]      http://kandalaya.org/
       GPG: 78D4 FC67 367F 40E2 0DD5  0FEF C968 D0EF CC68 D17F
                      It is the mind that moves

_______________________________________________
ilugd mailinglist -- [EMAIL PROTECTED]
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/[EMAIL PROTECTED]/

Reply via email to