in reply to delete users

I want to appologize for my innexperience with perl, I'm still trying to learn, but this is the best way to learn with hands on.

I've included a link to a zip file HERE containing my current files, this should help make it easier to understand what I'm trying to acheive.

I'm still not sure how to implement any of this code into my script. If someone would be willing to aid me by looking through my code and possibly even telling me where I need to make improvements on my code.

Thanks for all of your help,
Tylor
skatemaster@shaw.ca

Replies are listed 'Best First'.
Re^2: delete users
by xorl (Deacon) on Dec 08, 2004 at 13:44 UTC

    I only glanced at the code...

    You'll need to open the adminpasswd.db or passwd.db file, find the line with the user and delete them. Here's one node, How do I delete/modify one line from test file ?, and I'm sure you can find others on the site.

    Frankly I'd follow the advice of the others on this thread and stuff it into a real database (MySQL or PostgreSQL are both good). Doing that will make your life a lot easier in the long run.