Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Read value from file, replace, then write to new file

by Cop (Initiate)
on Dec 23, 2007 at 19:37 UTC ( [id://658797]=note: print w/replies, xml ) Need Help??


in reply to Read value from file, replace, then write to new file

So the generated password is recorded in a file as it is. What kind of shit is this? So anyone take a look at the file will know the password.

If this is a real system, nobody, including you or the system admin is supposed to know this.

  • Comment on Re: Read value from file, replace, then write to new file

Replies are listed 'Best First'.
Re^2: Read value from file, replace, then write to new file
by rycher (Acolyte) on Dec 24, 2007 at 20:56 UTC
    Thanks everyone for the help. I was half-expecting to be brutally made fun of and laughed at for the sloppy coding. ;-)
    I will try some of these sugesstions.
    Cop: The randomly generated password is going to change every day. The file gets overwritten once a day with a new password. This password will reside in a password-protected web area for the admins of that particular to view and assign to users.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://658797]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-04-19 02:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found