Lonewolf wrote:
>
> I am wanting to write a script to handle a few things
> 1. decrypt an encrypted password
Passwords are normally encrypted with a one-way hash. In other words
they are not designed to be decrypted.
> 2. create new directory
perldoc -f mkdir
> 3. put .htaccess file into the
Hi Jonathan,
I am not writing the script for you but at least some code I used
to something similar.
---
$entry = `ypmatch $userid passwd 2>/dev/null`;
@entry = split /:/, $entry;
$encrypted = "$entry[1]";
$pwuser = "$entry[0]";
chomp($pwuser);
chomp($userid);
if (!($userid
I have full control over the server, it sits @ my knee and I am root on it.
:)
I am wanting to secure it down (hence the reason to send the script an
encrypted form of the pw) so that the other script runs and decrypts and
matches the /etc/pass file for the logging in. My thought process is tha
Jonathan --
...and then Jonathan E. Paton said...
%
% --- LoneWolf <[EMAIL PROTECTED]> wrote:
% > I am wanting to write a script to handle a few things
% >
% > 1. decrypt an encrypted password
%
% Easy, as long as we may assume you've got several hundred
% years of CPU time!
Now, now, that's
--- LoneWolf <[EMAIL PROTECTED]> wrote:
> I am wanting to write a script to handle a few things
>
> 1. decrypt an encrypted password
Easy, as long as we may assume you've got several hundred
years of CPU time!
Jonathan Paton
=
$_=q|.,&@$$. ,.@$&@$. .&$$@. ,,$ !$_=$p.'&$@.',y'&$@' .,';f
I am wanting to write a script to handle a few things
1. decrypt an encrypted password
2. create new directory
3. put .htaccess file into the new directory
4. allow file upload and subsequent unzip of files into the new directory
5. email to admin of the creation and subsequent events
The passwor
I've got a laptop running Linux. When I go to work, the laptop gets it's
IP address via DHCP, at home I have a private IP address that I use (for a
home network that uses dial up for Internet), and at my other place of
employ I have a third IP address that is used.
I've created a shell script