Sponsored Content
Top Forums Shell Programming and Scripting Script for Reading a Password file Post 302109653 by srirams on Wednesday 7th of March 2007 09:20:30 AM
Old 03-07-2007
Thanks Yogesh
 

9 More Discussions You Might Find Interesting

1. Programming

Reading a file into a C++ script

Hi, I'm trying to read a file in with and assigne the stream to a char * type. I've manged it using the cin.get returning type char, but am having run-time problems returning a char *. For example, char *pStream = "file.txt"; ifstream from(pStream); from.open(pStream); ... (1 Reply)
Discussion started by: Breen
1 Replies

2. UNIX for Dummies Questions & Answers

script to reading a file

hi, I have a file containing names, say n number of names, sample file robin smith dallas frey cook all these names are in a file name called names.txt and it is placed in a directory called /data/names all i want is to write a script, which will read from the file and gives the... (3 Replies)
Discussion started by: vasikaran
3 Replies

3. Shell Programming and Scripting

Reading file names from a file and executing the relative file from shell script

Hi How can i dynamically read files names from a list file and execute them from a single shell script. Please help its urgent Thanks in Advance (4 Replies)
Discussion started by: anushilrai
4 Replies

4. Shell Programming and Scripting

Reading password and echo * character

Hi, First of all i am using solaris 10. I want to write a script that ask user to enter password and read the character input from keyboard. The ask to re-enter the password and then if they are match it will accept. But my problem is I want to echo a '*' character instead of the character I... (4 Replies)
Discussion started by: alanpachuau
4 Replies

5. UNIX for Dummies Questions & Answers

UNIX script for reading a file and creating another file

Hi, I am a beginner in scripting...I have to do a script where I have to read a file which has list of job names, line by line and for every line execute a dsjob command to find the log details of the job and extract only the start time of the job, if it is greater than jan 01 2008 and create... (1 Reply)
Discussion started by: Vijay81
1 Replies

6. Shell Programming and Scripting

Reading a password

For an assignment i have to create a CSH menu that requires a password in order to login, and then does all this other stuff. I am really stumped on the password part though here is the question 1) ask for a password from the user. If the password is not correct, the system will exit ... (3 Replies)
Discussion started by: dexxterr
3 Replies

7. UNIX for Dummies Questions & Answers

Reading password from /dev/tty

hi, From the below script: ##########################################pwd_auth.sh######################################################################################## #Author: Pandeeswaran Bhoopathy #Written on:26th Jan 2012 2:00PM #This script describes the feature of stty and illustrates... (3 Replies)
Discussion started by: pandeesh
3 Replies

8. UNIX for Dummies Questions & Answers

Reading XML file and print the values in the text file using Linux shell script

hi guys, i want help... Reding XML file and print the values into the text file using linux shell script file as per below xml file <sequence> <Filename>aldorzum.doc</Filename> <DivisionCode>US</DivisionCode> <ContentType>Template</ContentType> <ProductCode>VIMZIM</ProductCode> </sequence>... (1 Reply)
Discussion started by: sravanreddy
1 Replies

9. Shell Programming and Scripting

ksh Script, Reading A File, Grepping A File Contents In Another File

So I'm stumped. First... APOLOGIES... my work is offline in an office that has zero internet connectivity, as required by our client. If need be, I could print out my script attempts and retype them here. But on the off chance... here goes. I have a text file (file_source) of terms, each line... (3 Replies)
Discussion started by: Brusimm
3 Replies
Authen::Simple::Password(3pm)				User Contributed Perl Documentation			     Authen::Simple::Password(3pm)

NAME
Authen::Simple::Password - Simple password checking SYNOPSIS
if ( Authen::Simple::Password->check( $password, $encrypted ) ) { # OK } DESCRIPTION
Provides a simple way to verify passwords. METHODS
o check( $password, $encrypted ) Returns true on success and false on failure. SUPPORTED PASSWORD FORMATS
o Plain Plaintext o Crypt crypt(3) o Crypt Modular o $1$ MD5-based password algorithm o $apr$ MD5-based password algorithm, Apache variant o LDAP o {CLEARTEXT} Plaintext. o {CRYPT} Uses crypt(3) o {MD5} MD5 algorithm o {SMD5} Seeded MD5 algorithm o {SHA} SHA-1 algorithm o {SSHA} Seeded SHA-1 algorithm o MD5 algorithm Encoded as binary, Base64 or hexadecimal. o SHA-1 algorithm Encoded as binary, Base64 or hexadecimal. o SHA-2 256 algorithm Encoded as binary, Base64 or hexadecimal. SEE ALSO
Authen::Simple crypt(3). AUTHOR
Christian Hansen "chansen@cpan.org" COPYRIGHT
This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2012-04-19 Authen::Simple::Password(3pm)
All times are GMT -4. The time now is 04:59 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy