Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Nobody knows pl help password problem

Nobody knows pl help password problem

Nobody knows pl help password problem


This is my first posting and I'm new to perl.
Maybe it's a stuppid question but let's try.

I'm like to generate a password with a perlscript who get the user information from a html form.
And create online a account.
I can use system('usseradd  -usr and so on ');

But how to deal with passwd command it comes back in linux with 2 echo's.

I read many stuff for weeks ask and ask but ???????????


RE: Nobody knows pl help password problem


Have a look at the crypt() function, and there's an example in "Programming Perl" as well.

Not too easy to use though as you'll have to write a Perl script that will modify /etc/passwd - always a bit fraught.


RE: Nobody knows pl help password problem

There are programs written which will do this for you.  Try going to a scripts site like cgi.resource-index.com or internet.com and look for "server managers" or "web account managers" or something like that.  If you can get a free one, great, but you may have to shell out like $100.  I don't know about you, but that is well worth the time it would take to program something like that yourself.  It's pretty involved.

Tom Anderson
CEO, Order amid Chaos, Inc.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close