Re: Net::Openssh disable password based login

2013-01-27 Thread Rajeev Prasad
nevermind. i figured it need to give this option: -o => 'PasswordAuthentication=no', From: Rajeev Prasad To: perl list Sent: Sunday, January 27, 2013 1:10 PM Subject: Re: Net::Openssh disable password based login forgot to mention th

Re: Net::Openssh disable password based login

2013-01-27 Thread Rajeev Prasad
forgot to mention that, i have no control over ssh server (to add 'PasswordAuthentication no' option to server config) From: Rajeev Prasad To: perl list Sent: Sunday, January 27, 2013 1:09 PM Subject: Net::Openssh disable password based login

Net::Openssh disable password based login

2013-01-27 Thread Rajeev Prasad
I guess this is openssh question. but, while using this module, and using key based authentication. some hosts which do not have key installed (perhaps user account does not yet exist there), throws password challenge and then the ssh program wait for too long, till the process is killed by

How Do I insert a password into a PDF

2011-11-25 Thread Ramprasad Prasad
I am generating pdf files with http://code.google.com/p/wkhtmltopdf/ I want to password protect the PDF's .. How can I do this ?

Re: Perl function for password encryption and decryption

2011-05-06 Thread Shlomi Fish
On Saturday 07 May 2011 04:06:47 Brandon McCaig wrote: > On Fri, May 6, 2011 at 8:50 AM, Jeff Pang wrote: > > No. there is no such thing called decryption if you want to protect > > your passwords strictly. > > Agreed. > > > Generally we crypt the user'

Re: Perl function for password encryption and decryption

2011-05-06 Thread Brandon McCaig
On Fri, May 6, 2011 at 8:50 AM, Jeff Pang wrote: > No. there is no such thing called decryption if you want to protect > your passwords strictly. Agreed. > Generally we crypt the user's password with md5 or similar and > store them to a database. When user input their userna

Re: Perl function for password encryption and decryption

2011-05-06 Thread Jeff Pang
2011/5/6 abhay vyas : > Is there any  perl function which can do the multiplication of values of two > columns of Excel and then bring about the sum of final products. > May this module help you? http://search.cpan.org/~jmcnamara/Spreadsheet-ParseExcel-0.59/lib/Spreadsheet/ParseExcel.pm -- Jeff

Re: Perl function for password encryption and decryption

2011-05-06 Thread abhay vyas
ase tell me best Perl functions/modules for password > encryption > > and decryption? > > > > No. there is no such thing called decryption if you want to protect > your passwords strictly. > Generally we crypt the user's password with md5 or similar and store >

Re: Perl function for password encryption and decryption

2011-05-06 Thread Jeff Pang
2011/5/6 Amresh Sajjanshetty : > Hi, > > Could you please tell me best Perl functions/modules for password encryption > and decryption? > No. there is no such thing called decryption if you want to protect your passwords strictly. Generally we crypt the user's password wit

Perl function for password encryption and decryption

2011-05-06 Thread Amresh Sajjanshetty
Hi, Could you please tell me best Perl functions/modules for password encryption and decryption? Thanks and Regards, Amresh

Re: Password reset for unix

2011-05-03 Thread krish
a dozen more public examples where this has happened. So, if you > are dealing with access control (passwords apply here), databases, web > design, and physical access, think very long (and I do mean long) if you are > considering not using a prebuilt api. Expect is the best language for this. We u

Re: Password reset for unix

2011-05-02 Thread shawn wilson
On May 2, 2011 2:14 PM, "Kenneth Wolcott" wrote: > > It looks like you have a great working system for annually forcing > the change of UNIX passwords in a systematic manner, but it would > definitely not be good to emulate your system in the general case > because very few people on this list (

Re: Password reset for unix

2011-05-02 Thread Kenneth Wolcott
n proprietary software). > >> >> so, the problems i see with this: >> 1. password schema - newer systems use sha whereas older systems use md5. >> 2. seed - i 'think' pam with sha allows seeds - if the seeds aren't >> the same, you break stuff this w

Re: Password reset for unix

2011-05-02 Thread Jim Gibson
At 10:46 PM -0400 5/1/11, shawn wilson wrote: jim, you setup your boxes a certain way to make sure this doesn't fail? No. The systems are plain vanilla Red Hat Linux (old versions because they run proprietary software). so, the problems i see with this: 1. password schema - newer sy

Re: Password reset for unix

2011-05-01 Thread shawn wilson
jim, you setup your boxes a certain way to make sure this doesn't fail? On Sun, May 1, 2011 at 10:17 PM, Jim Gibson wrote: > At 5:22 PM -0700 4/30/11, dolphin wrote: >> >> Hi, >> >> To reset password in unix, the system will prompt 2 times for entering >>

Re: Password reset for unix

2011-05-01 Thread Jim Gibson
At 5:22 PM -0700 4/30/11, dolphin wrote: Hi, To reset password in unix, the system will prompt 2 times for entering the new password. The first time is to enter the new password and the second time is to confirm the new password of the account. It is tedious to perform this when there is a huge

Re: Password reset for unix

2011-05-01 Thread shawn wilson
On May 1, 2011 7:24 PM, "dolphin" wrote: > > Hi, > > To reset password in unix, the system will prompt 2 times for entering > the new password. The first time is to enter the new password and the > second time is to confirm the new password of the account. It is &g

Re: Password reset for unix

2011-05-01 Thread Kenneth Wolcott
On Sat, Apr 30, 2011 at 17:22, dolphin wrote: > Hi, > > To reset password in unix, the system will prompt 2 times for entering > the new password. The first time is to enter the new password and the > second time is to confirm the new password of the account. It is > tedious to

Password reset for unix

2011-05-01 Thread dolphin
Hi, To reset password in unix, the system will prompt 2 times for entering the new password. The first time is to enter the new password and the second time is to confirm the new password of the account. It is tedious to perform this when there is a huge volume (>100) of user accounts. Is

Re: Perl Hiding Username/Password

2010-02-11 Thread newbie01 perl
HI all, Thanks to everyone who had given their input ... At the every least, I hope to be able to make the password "cryptic" in some way not super-duper hiding the stuff. Anyway, at the moment, I create a password word that is accessed by the script and is read only and readable by

Re: Perl Hiding Username/Password

2010-02-11 Thread Philip Potter
ome sort of delimited file. > > The worry is someone getting access to the script and then putting in some > print commands to expose the username and password information. > Just thinking in advance before it happen. The original script is a UNIX > script but I thought there may be

Re: Perl Hiding Username/Password

2010-02-10 Thread Jeff Peng
On Thu, Feb 11, 2010 at 7:04 AM, newbie01 perl wrote: > The worry is someone getting access to the script and then putting in some > print commands to expose the username and password information. Could take a look at: perldoc -q 'hide the source' -- Jeff Peng Email: jeff

Perl Hiding Username/Password

2010-02-10 Thread newbie01 perl
then putting in some print commands to expose the username and password information. Just thinking in advance before it happen. The original script is a UNIX script but I thought there may be a Perl module that will masked the password where there is none of the same thing for UNIX scripts. #!/usr/bin

User/Password validation

2009-07-14 Thread Vaishak S
file users.xml password Admin password Adian Sarm This is the sample code in the CGI-Internet. I have take this since checking if the XML user/password can be done or not? #!/usr/bin/perl -w #use strict; use CGI(); use XML::Simple; use Data

Re: Password Entry

2008-09-17 Thread John W. Krahn
[EMAIL PROTECTED] wrote: Hello Hello, I am looking for sample code where a user would enter a password. The key here is to either replace the characters entered with blanks or something like "*" for each character that is entered. I am sure this has been done before.

Re: Password Entry

2008-09-17 Thread Jack Gates
On Wednesday 17 September 2008 04:03:55 pm [EMAIL PROTECTED] wrote: > Hello > > I am looking for sample code where a user would enter a password. The key > here is to either replace the characters entered with blanks or something > like "*" for each character that is en

Re: Password Entry

2008-09-17 Thread Francisco Valladolid
le code where a user would enter a password. The key > here is to either replace the characters entered with blanks or something > like "*" for each character that is entered. I am sure this has been done > before. > > Thanks, > Andrew > > -- > To unsubscribe,

Password Entry

2008-09-17 Thread andrewmchorney
Hello I am looking for sample code where a user would enter a password. The key here is to either replace the characters entered with blanks or something like "*" for each character that is entered. I am sure this has been done before. Thanks, Andrew -- To unsubscribe, e-ma

Re: Regex password length

2007-12-14 Thread [EMAIL PROTECTED]
TED]> wrote: > > > I'm trying to create a regex to ensure a minimum password length. > > It would seem that you should use the length function. (Also, why > should it matter that the string in question is a password?) > > > I'm trying this: > > > $regex= '

Re: Regex password length

2007-12-12 Thread Tom Phoenix
On 12/12/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I'm trying to create a regex to ensure a minimum password length. It would seem that you should use the length function. (Also, why should it matter that the string in question is a password?) > I'm trying t

Re: Regex password length

2007-12-12 Thread yitzle
You just want the length of a string? $size = length $input; or if ( length $input > $minSize ) { ... } else { ... } -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Regex password length

2007-12-12 Thread alfonso . marinmarin
Hi all, I'm trying to create a regex to ensure a minimum password length. I'm trying this: $regex= '^.{4,}$' That work fine exept for, at least, the equal signal (=) For example, if i try 'my=test", it returns false. If i try 'myte=st', that works.

Re: Password generator (limit my dictionary to...)

2007-10-26 Thread John W . Krahn
On Sunday 21 October 2007 23:45, Michael Alipio wrote: > Hi, Hello, > I'm trying to create a dictionary file for my > bruteforce program. > > > I have a huge dictionary file and I want to trim it > down according the requirements. > > The output should be a dictionary file that is minimum > 6 cha

Re: Password generator (limit my dictionary to...)

2007-10-22 Thread Paul Lalli
On Oct 22, 2:18 pm, [EMAIL PROTECTED] (Jay Savage) wrote: > On 10/22/07, Paul Lalli <[EMAIL PROTECTED]> wrote: > > > On Oct 22, 2:45 am, [EMAIL PROTECTED] (Michael Alipio) wrote: > > > > The output should be a dictionary file that is minimum > > > 6 characters and maximum 15 characters with at leas

Re: Password generator (limit my dictionary to...)

2007-10-22 Thread Jay Savage
On 10/22/07, Paul Lalli <[EMAIL PROTECTED]> wrote: > On Oct 22, 2:45 am, [EMAIL PROTECTED] (Michael Alipio) wrote: > > > The output should be a dictionary file that is minimum > > 6 characters and maximum 15 characters with at least 4 > > letters and 2 numbers in it.. no special characters > > what

Re: Password generator (limit my dictionary to...)

2007-10-22 Thread Rob Dixon
Michael Alipio wrote: Here's what I came up with: #!/usr/bin/perl use warnings; use strict; my $wordlist = shift @ARGV; open INPUTFILE, "$wordlist" or die $!; while (){ # Find all words that are 6-15 characters with at least 2 digits and 4 letters that can appear anywhere next unless (

Re: Password generator (limit my dictionary to...)

2007-10-22 Thread Paul Lalli
On Oct 22, 7:56 am, [EMAIL PROTECTED] (Michael Alipio) wrote: > Here's what I came up with: /\b\w{6,15}\b\n/ && /.*(\d).*\d/ && /(.*([a-z]|[A-Z]).*){4}/) \b is a word boundary. It is simply true at spaces in between word characters and non-word characters. Your regexps do not at all preclude s

Re: Password generator (limit my dictionary to...)

2007-10-22 Thread Michael Alipio
Hi Paul, Here's what I came up with: #!/usr/bin/perl use warnings; use strict; my $wordlist = shift @ARGV; open INPUTFILE, "$wordlist" or die $!; while (){ # Find all words that are 6-15 characters with at least 2 digits and 4 letters that can appear anywhere next unless (/\b\w{6,15}\b\n/

Re: Password generator (limit my dictionary to...)

2007-10-22 Thread Paul Lalli
On Oct 22, 2:45 am, [EMAIL PROTECTED] (Michael Alipio) wrote: > The output should be a dictionary file that is minimum > 6 characters and maximum 15 characters with at least 4 > letters and 2 numbers in it.. no special characters > whatsoever.. This should be a simple regex but it's > been a while

Password generator (limit my dictionary to...)

2007-10-21 Thread Michael Alipio
Hi, I'm trying to create a dictionary file for my bruteforce program. I have a huge dictionary file and I want to trim it down according the requirements. The output should be a dictionary file that is minimum 6 characters and maximum 15 characters with at least 4 letters and 2 numbers in it..

Re: su and password in a Perl script

2007-07-10 Thread Tom Phoenix
mmands. But it's probably easier to write a small program (a shell script or even a Perl program) and simply run that as the other user. But as per your solution, I would be running one specific command. Also where am I passing the password in the sudo command? If you use sudo's -S option

RE: su and password in a Perl script

2007-07-09 Thread Lakshmi Sailaja
It is not a single command that I am supposed to run. I have to change to a different user and run a couple of commands. But as per your solution, I would be running one specific command. Also where am I passing the password in the sudo command? Password will be figured on the fly so I can&#

Re: su and password in a Perl script

2007-07-06 Thread Tom Phoenix
, "sudo -S -u $username " . 'someCommand -its -options' # command for sudo to run ); Of course, someCommand needs to be whatever you're really trying to do. In the end, the fourth argument to open3 is a single command line, much as if it were typed into the shell. I

RE: su and password in a Perl script

2007-07-06 Thread Lakshmi Sailaja
Thanks for the response Tom!!! I tried the following but of no success: #!/usr/bin/perl use IPC::Open3; my($wr, $rd, $er); my $pid = open3($wr, $rd, $er, 'sudo -S su - username'); sleep 1; # let it start and ask for password print $wr "password\n"; # the password Please

Re: su and password in a Perl script

2007-07-06 Thread [EMAIL PROTECTED]
On Jul 5, 8:48 pm, [EMAIL PROTECTED] (Lakshmi Sailaja) wrote: > Hi, > > I will have to login as a super user and run some commands. > > I want to automate the following through Perl: > su - user > and provide password > check if the login is successful or not. > >

Re: su and password in a Perl script

2007-07-05 Thread Tom Phoenix
On 7/5/07, Lakshmi Sailaja <[EMAIL PROTECTED]> wrote: I want to automate the following through Perl: su - user and provide password check if the login is successful or not. You'll probably have an easier time using sudo, instead of su; it's made for this sort of thing. See w

su and password in a Perl script

2007-07-05 Thread Lakshmi Sailaja
Hi, I will have to login as a super user and run some commands. I want to automate the following through Perl: su - user and provide password check if the login is successful or not. Can you please let me know? Thanks & Regards, Lakshmi 952-833-1220 -- To unsubscribe, e-mail: [E

Re: Hide password on console

2006-05-12 Thread Tom Phoenix
On 5/12/06, SkyBlueshoes <[EMAIL PROTECTED]> wrote: I've googled it over and over, but I can't find the way to hide the input of a password on the console screen. I know it can be done... Do you want one of these? http://search.cpan.org/author/KTAKATA/Term-ReadPassword-Win

Re: Hide password on console

2006-05-12 Thread Peter Cornelius
Have you looked at Term::ReadPassword? PC On May 12, 2006, at 8:50 AM, SkyBlueshoes wrote: I've googled it over and over, but I can't find the way to hide the input of a password on the console screen. I know it can be done... -- To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Hide password on console

2006-05-12 Thread Joshua Colson
On Fri, 2006-05-12 at 10:50 -0500, SkyBlueshoes wrote: > I've googled it over and over, but I can't find the way to hide the > input of a password on the console screen. I know it can be done... http://search.cpan.org/~nwclark/perl-5.8.8/pod/perlfaq8.pod -- Joshua Colson &

Re: Hide password on console

2006-05-12 Thread Jeff Pang
>Example: > >Username: Jowblow >Password: *** >Verify Password: *** > > >SkyBlueshoes > See here pls: http://search.cpan.org/~phoenix/Term-ReadPassword-0.07/ReadPassword.pm This module is written by our kind friend,Tom Phoenix.I think it could satisfy

RE: Hide password on console

2006-05-12 Thread Ryan Frantz
> -Original Message- > From: SkyBlueshoes [mailto:[EMAIL PROTECTED] > Sent: Friday, May 12, 2006 11:50 AM > To: beginners@perl.org > Subject: Hide password on console > > I've googled it over and over, but I can't find the way to hide the > input of a

Hide password on console

2006-05-12 Thread SkyBlueshoes
I've googled it over and over, but I can't find the way to hide the input of a password on the console screen. I know it can be done... Example: Username: Jowblow Password: *** Verify Password: *** SkyBlueshoes -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional c

RE: Win32 Module to change local Password on Remote Computers

2006-03-13 Thread Timothy Johnson
Your policies may require that the user be logged on to run this API. A kludgey work-around is to use WMI and Win32_Process to launch a process remotely that makes the password change for you, for example via 'NET USER UserName Password'. Assuming you have administrator access on

Win32 Module to change local Password on Remote Computers

2006-03-12 Thread Babale Fongo
Hi, I'm trying to programmatically change a local password on several Computers, but the Win32API::Net and Win32::NetAdmin modules seem not to be appropriate for that. Wondering whether there's any Win32 API module for that. I tried using the UserChangePassword function, and wasn&

Re: encode base64 password

2005-12-22 Thread Adriano Ferreira
o encode the a password. Passwords protected by such a straightforward encoding/decoding are not protected. If you have serious concerns about security, try something like the Digest::* modules (available at CPAN). > In the doc http://support.microsoft.com/default.aspx?scid=kb;en-us;263991 >

encode base64 password

2005-12-22 Thread Ken Perl
Hi, Is the MIME::Base64 support unicode? I am trying to use the module to encode the a password. In the doc http://support.microsoft.com/default.aspx?scid=kb;en-us;263991 there is one line like this unicodePwd::IgBuAGUAdwBQAGEAcwBzAHcAbwByAGQAIgA= the encoded string is what I want to produce

RE: encrypt the password stored in a file

2005-08-30 Thread Cintron,Jose J.
If it's just a demo, do a quick and dirty encryption yourself, for example - xor the password before storing it and xor it again before using it. my $string = "password"; my $encrypted_string = ~$string;

Re: encrypt the password stored in a file

2005-08-30 Thread JupiterHost.Net
Ken Perl wrote: In fact, I are just writing a demo program used in a presentation, when I open its config file through screen sharing, I don't want the visiter see the plain text password. Why didn't you say so? my

Re: encrypt the password stored in a file

2005-08-30 Thread Ken Perl
In fact, I are just writing a demo program used in a presentation, when I open its config file through screen sharing, I don't want the visiter see the plain text password. On 8/30/05, Miguel Santinho <[EMAIL PROTECTED]> wrote: > Em (On) Mon, Aug 29, 2005 at 12:36:32PM -0400,

Re: encrypt the password stored in a file

2005-08-30 Thread Miguel Santinho
Em (On) Mon, Aug 29, 2005 at 12:36:32PM -0400, Bob Showalter escreveu (wrote): > Ken Perl wrote: > > The password used to access a ftp server is stored in a text file, the > > perl program gets the password from the file, the pass it to the ftp > > server for logon, this is th

Re: encrypt the password stored in a file

2005-08-29 Thread JupiterHost.Net
Maybe the protocol is SFTP and the transmission is secure... *transmission* maybe not source code, which is the OP's issue... By the way, isn't there a perl module that can crypt a string using a password (which can be used to decrypt it back)? Yes but then you have to store the

RE: encrypt the password stored in a file

2005-08-29 Thread Bob Showalter
Ken Perl wrote: > The password used to access a ftp server is stored in a text file, the > perl program gets the password from the file, the pass it to the ftp > server for logon, this is the background. > The requirement is encrypt the password store in a more secure way, > and t

Re: encrypt the password stored in a file

2005-08-29 Thread Octavian Rasnita
From: "Wiggins d'Anconia" <[EMAIL PROTECTED]> > Considering it is FTP who cares about permissions too. It is an insecure > protocol to begin with, the password is sniffable during transmission > anyways, really the words FTP and secure don't belong in a s

Re: encrypt the password stored in a file

2005-08-29 Thread Wiggins d'Anconia
JupiterHost.Net wrote: > > > Ken Perl wrote: > >> The password used to access a ftp server is stored in a text file, the >> perl program gets the password from the file, the pass it to the ftp >> server for logon, this is the background. >> The requiremen

Re: encrypt the password stored in a file

2005-08-29 Thread JupiterHost.Net
Ken Perl wrote: The password used to access a ftp server is stored in a text file, the perl program gets the password from the file, the pass it to the ftp server for logon, this is the background. The requirement is encrypt the password store in a more secure way, and the perl program could

Re: encrypt the password stored in a file

2005-08-28 Thread Owen Cook
On Mon, 29 Aug 2005, Ken Perl wrote: > The password used to access a ftp server is stored in a text file, the > perl program gets the password from the file, the pass it to the ftp > server for logon, this is the background. > The requirement is encrypt the password store in a mor

encrypt the password stored in a file

2005-08-28 Thread Ken Perl
The password used to access a ftp server is stored in a text file, the perl program gets the password from the file, the pass it to the ftp server for logon, this is the background. The requirement is encrypt the password store in a more secure way, and the perl program could still use the

Re: String Length for password length testing?

2005-08-24 Thread Gavin Henry
> On Wed, Aug 24, 2005 at 11:49:14AM +0100, Gavin Henry wrote: > >> Would someone be so kind as to offer a simple reason my test doesn't >> work? >> >> Should the le '6', I think so, but it never catches it? > > } elsif (length $newpasswd < 6) { > > perldoc -f length > perldoc perlop Noted

Re: String Length for password length testing?

2005-08-24 Thread Paul Johnson
On Wed, Aug 24, 2005 at 11:49:14AM +0100, Gavin Henry wrote: > Would someone be so kind as to offer a simple reason my test doesn't work? > > Should the le '6', I think so, but it never catches it? } elsif (length $newpasswd < 6) { perldoc -f length perldoc perlop -- Paul Johnson - [EMA

Re: String Length for password length testing?

2005-08-24 Thread Gavin Henry
> Ok first of all, if you are working with numbers you use < == <= >= !and > since you want to check the length of the password, you are > working with numbers. > Another thing, you must get the lenght of the string, using length(); > > So you need to do it this way

String Length for password length testing?

2005-08-24 Thread Gavin Henry
Dear Guys, I am stuck at something really fundamental. I am coding a wee cgi page to change a OpenLDAP password, for Windows users on a Samba Server/LDAP backend. I haven't added any Net::LDAP stuff yet, just testing the basic password form. Would someone be so kind as to offer a simple r

Re: enter password for su through a script

2005-06-18 Thread Elvis Cehajic
angie ahl schrieb: Hi Hi I'm hoping someone can point me at the right manual/commands I'm trying to work out how to copy a directory (and contents) owned by one user (user1) into a directory owned by another (user2). user1 is user admin and group wheel BTW. The user the files are being co

enter password for su through a script

2005-06-17 Thread angie ahl
Hi I'm hoping someone can point me at the right manual/commands I'm trying to work out how to copy a directory (and contents) owned by one user (user1) into a directory owned by another (user2). user1 is user admin and group wheel BTW. The user the files are being copied to is more restriced. The

Re: Password

2005-05-02 Thread José J. Cintrón
Change your line to ... perl -p -i -e "s/username\/password as SYSOPER/username\/# as SYSOPER/g" test1.dat Rentachintala, Jagan wrote: Hi, I am getting the following error. Do you have any idea? Can't do inplace edit without backup. Thanks Jagan Rentachintala | Consultant | I

Re: Password

2005-04-29 Thread John W. Krahn
Rentachintala, Jagan wrote: From: Jean-Sébastien Guay [mailto:[EMAIL PROTECTED] perl -p -i -e 's/username\/password as SYSOPER/username\/# as SYSOPER/g' test.dat Can't find string terminator "'" anywhere before EOF at -e line 1. is the error I am getting On Win

RE: Password

2005-04-29 Thread Rentachintala, Jagan
enter. -Original Message- From: Jean-Sébastien Guay [mailto:[EMAIL PROTECTED] Sent: Thursday, April 28, 2005 7:53 PM To: Rentachintala, Jagan Cc: "José J. Cintrón"; beginners@perl.org Subject: Re: Password Hi Jagan, >perl -p -i -e '

Re: Password

2005-04-28 Thread Jean-Sébastien Guay
Hi Jagan, perl -p -i -e 's/username\/password as SYSOPER/username\/# as SYSOPER/g' test.dat Can't find string terminator "'" anywhere before EOF at -e line 1. is the error I am getting On Windows the single quote is not a valid quoting character for the

RE: Password

2005-04-28 Thread Rentachintala, Jagan
Hi jose j cintron, I am trying to do the same thing you explained like below, in windows environment, but I am getting syntax error: Do you have any idea?? perl -p -i -e 's/username\/password as SYSOPER/username\/# as SYSOPER/g' test.dat Can't find string terminator "&#

RE: Password

2005-04-27 Thread Rentachintala, Jagan
data center. -Original Message- From: "José J. Cintrón" [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 27, 2005 10:13 AM To: Rentachintala, Jagan Cc: beginners@perl.org Subject: Re: Password If your script is the one generating the log file,

Re: Password

2005-04-27 Thread José J. Cintrón
If your script is the one generating the log file, it should be as simple as to find the line that writes the password and just replace it with whatever string you want. for example old line print $UN."/".$PW new line print $UN."/XX" you get the idea. If the log i

Re: Password

2005-04-26 Thread Ing. Branislav Gerzo
Rentachintala, Jagan [RJ], on Tuesday, April 26, 2005 at 18:00 (-0400) typed the following: RJ> I am a newbie to perl and I have a question. In one of my project, the perl RJ> script will create a logfile. Inside the log file, the username/password is RJ> in clear text. RJ> I

Re: Password

2005-04-26 Thread Paul Kraus
file, the username/password is > in clear text. > > I am trying to hide the password in the logfile. Is there a way that I can > hide the password or put an 'XX' in the password place in the log file. > > How do I do this. > > Advance thanks > > Jagan Rent

Password

2005-04-26 Thread Rentachintala, Jagan
Hi, I am a newbie to perl and I have a question. In one of my project, the perl script will create a logfile. Inside the log file, the username/password is in clear text. I am trying to hide the password in the logfile. Is there a way that I can hide the password or put an 'X

Passing username and password to a Windows .exe

2005-04-21 Thread Steve . E . Pittman
I have a Windows application that needs to run 365/24/7.. the application requires a username and password.. is it possible to pass the username and pass to the application? if possible, I would like to launch the .exe from a perl script and monitor the PID. Any help is appreciated... Steve

RE: matching password problem

2005-03-14 Thread Chris Heiland
> -Original Message- > From: Jeff 'japhy' Pinyan [mailto:[EMAIL PROTECTED] > Sent: Monday, March 14, 2005 7:44 AM > To: Jame Brooke > Cc: beginners@perl.org > Subject: Re: matching password problem > > On Mar 14, Jame Brooke said: > > > Prog

Re: matching password problem

2005-03-14 Thread Jeff 'japhy' Pinyan
; use warnings; my $input = CGI->new; # create a new CGI object from the form data $name_status =$input{'name'}; #Read User ID from HTML form $pass_status =$input{'pass'}; #Read User Password from HTML form my $name = $input->param('name'); my $pass = $i

RE: matching password problem

2005-03-14 Thread Chris Heiland
> -Original Message- > From: Jame Brooke [mailto:[EMAIL PROTECTED] > Sent: Monday, March 14, 2005 6:31 AM > To: beginners@perl.org > Subject: matching password problem > > [code snip] > > > Dear all, > > Can anybody help me loo

matching password problem

2005-03-14 Thread Jame Brooke
Program password.pl #!/usr/local/bin/perl #windows environment #Read in Parameter passed require "cgi-lib.pl"; &ReadParse (*input); $name_status =$input{'name'}; #Read User ID from HTML form $pass_status =$input{'pass'}; #Read User Password from HTML

Issue reading password from STDIN after STDIN was read from redirect.

2005-03-09 Thread Anthony Tippett
I've have a program that reads input from STDIN like so: example: program < file.txt and then I try to read a password from STDIN that the user types in but it skips right over that section. Do I have to do anything to STDIN before I try to get user input from it? Perhaps close and r

Unencrypted Password Files

2005-02-15 Thread John Baker
unencrypted password files. These enable passwords that give access to over 400 worldwide routers are used by about 20 or so scripts, of which, only a few are cronned daily. I'd like to create a an object that somehow dynamically retrieves these passwords from an encrypted file or some

Re: Input a password from STDIN

2005-02-06 Thread Gerard Robin
On Sun, Feb 06, 2005 at 10:33:05PM +0800 Xiaofang Zhou wrote: > Anyone can help me in this?. When running > > $password = ; > > the password will show on the console windows as user > type in. Is it possible for perl to read from keyboard > directly, without echo to the cons

Re: Input a password from STDIN

2005-02-06 Thread Randy W. Sims
Xiaofang Zhou wrote: > Anyone can help me in this?. When running > > $password = ; > > the password will show on the console windows as user > type in. Is it possible for perl to read from keyboard > directly, without echo to the console window? > perldoc -q password

Re: RE: Input a password from STDIN

2005-02-06 Thread Xiaofang Zhou
Direct calling 'exit' on the push botton will terminate the program. Thanks, Xiaofang. 在 2005-02-06 09:00:00 您写道: >Xiaofang Zhou <[EMAIL PROTECTED]> wrote: > >: Anyone can help me in this?. When running >: >: $password = ; >: >: the password will show on the conso

RE: Input a password from STDIN

2005-02-06 Thread Charles K. Clarkson
Xiaofang Zhou <[EMAIL PROTECTED]> wrote: : Anyone can help me in this?. When running : : $password = ; : : the password will show on the console windows as user : type in. Is it possible for perl to read from keyboard : directly, without echo to the console window? That depends

Input a password from STDIN

2005-02-06 Thread Xiaofang Zhou
Anyone can help me in this?. When running $password = ; the password will show on the console windows as user type in. Is it possible for perl to read from keyboard directly, without echo to the console window? Thanks, Xiaofang [EMAIL PROTECTED] -- To unsubscribe, e

RE: Password Encryption

2004-12-29 Thread Siegfried Heintze
ssage- From: Mike Blezien [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 29, 2004 8:00 AM To: zentara Cc: beginners@perl.org Subject: Re: Password Encryption Thx's works like a charm. :) zentara wrote: > On Tue, 28 Dec 2004 08:14:37 -0600, [EMAIL PROTECTED] (Mike >

Re: Password Encryption

2004-12-29 Thread Mike Blezien
Thx's works like a charm. :) zentara wrote: On Tue, 28 Dec 2004 08:14:37 -0600, [EMAIL PROTECTED] (Mike Blezien) wrote: Hello, Been trying to figure out how to encrypt a password w/Perl so it's uses the same scheme used in a webmin control panel for password protecting directories

Password Encryption

2004-12-28 Thread Mike Blezien
Hello, Been trying to figure out how to encrypt a password w/Perl so it's uses the same scheme used in a webmin control panel for password protecting directories. It says it's the MD5 method, but I have tried serveral variations using the MD5 and Digest::MD5 but can't seem to f

Encrypting an in script password and wxperl

2004-09-22 Thread Gavin Henry
rsion of this. One which will be stuck in gnome script folder so she can just right-click the jpg and upload it. The other will have the gui and an icon on the desktop. This is all done apart form 2 bits: 1. How can I encrypt an in place password? (I know it will be sent plain text) 2. Can I use w

  1   2   3   >