Hi, I was wondering if anybody knew if there were an easy script to evaluate if my password files have been changed with in the last 5 minutes. I would like the results emailed to me but it is not necessarily. I am just trying to find out how to write. Any help would be appreciated. This is what i have so far. Not sure if it is right.
Last edited by Scott; 04-17-2012 at 06:30 PM..
Reason: Code tags
I'm tasked to change a user's password on multiple Linux systems (RH v3). I though copying the encrypted password from one Linux /etc/shadow file to another would work but I was wrong.
The long term solution is to establish an openLDAP Directory service, but for now I'm stuck with a manual... (1 Reply)
Helo ,
I m using linux pam library for user and its password authentication.
I m creating new user and giving its password.I m giving password of 10 characters.now when I login in as that newly created user its ask me
$ su - ram
Password:
You are required to change your password immediately... (12 Replies)
Hi Friends.
I am new to scripting now i want to change the root password using the script with standard password.
which is the easy scripting to learn for the beginner, Thanks in advance. (2 Replies)
Hi Gurus
I have a few Sol 5.9 servers and i have enabled password less authentication between them for my user ID. Often i have found that when my password has expired,the login fails.
Resetting my password reenables the keys.
Do i need to do something to avoid this scenario or is this... (2 Replies)
Hi,
I came across the following script for encrypting the password in this forum
#! /usr/bin/ksh
exec 4>/dev/tty
function getpass
{
typeset prompt=$1
typeset backspace=$(echo \\b\\c)
typeset enter=$(echo \\r\\c)
typeset savesetting=$(stty -g)
... (9 Replies)
Hi
We send *.csv with sensitive data to our customers. Our customers open those files with Excel.
A new requirement is that we password protect those CSV files.
I thought to pack them with ZIP and assign a password to the archive.
But Solaris 10 can't encrypt ZIP files.
$ zip -P... (12 Replies)
Hi All,
I am trying to transfer a file from one server to a remote server using SFTP. Client is not ready for key setup.
I am working on Solaris 10.
Here is the code.
#!/bin/ksh
# sample automatic Sftp script to dump a file
USER="user1"
PASSWORD="pass1"
HOST="host1"
sftp $USER@$HOST... (6 Replies)
Discussion started by: megha2525
6 Replies
9. Forum Support Area for Unregistered Users & Account Problems
I was unable to login and so used the "Forgotten Password' process. I was sent a NEWLY-PROVIDED password and a link through which my password could be changed. The NEWLY-PROVIDED password allowed me to login.
Following the provided link I attempted to update my password to one of my own... (1 Reply)
Discussion started by: Rich Marton
1 Replies
LEARN ABOUT DEBIAN
authen::simple::password
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)