Sponsored Content
Special Forums Cybersecurity Password encryption - migration user accounts from SuSe to RedHat Post 302818383 by cjcox on Friday 7th of June 2013 12:01:49 PM
Old 06-07-2013
You can't convert. Just wipe out the password and reset them on the Red Hat side. You can also pre-generate the SHA512 hash if you want and fill that in (e.g. you might do this for root). Alternatively you could try to match up auth hash support, but since there were some bugs notably in blowfish... that might be harder than it sounds.
This User Gave Thanks to cjcox For This Post:
 

9 More Discussions You Might Find Interesting

1. Programming

User name and password encryption

Hi, I have usernames and passwords (to connect oracle DB) buried in so many shell scripts. We want to externalize all usernames and passwords from those shell scripts and encrypt them and keep them in a file. So far I found two choices, 1) Use some encryption algorithms like (RC5/MD5) to... (5 Replies)
Discussion started by: satguyz
5 Replies

2. HP-UX

HP-UX to Redhat Linux Migration

Hi, We are planning to do migration from HP-UX to Redhat linux. We have 1300 makefiels. Is there any difference between HP-UX make and GNU make? Is there any tutorial on that? Regards hari_anj (0 Replies)
Discussion started by: hari_anj
0 Replies

3. UNIX for Dummies Questions & Answers

single user mode - user accounts passwords

hello ppl, someone must be able to help with this --> I have an old NCR tower 32 with an ADDS terminal running a unix version 020102 (Im not sure if thats correct but its unix for sure). I have no user names and no passwords and need to login to read a tape. Is there any way to do that? I hear... (3 Replies)
Discussion started by: orestis
3 Replies

4. UNIX for Dummies Questions & Answers

Difference between : Locked User Account & Disabled User Accounts in Linux ?

Thanks AVKlinux (3 Replies)
Discussion started by: avklinux
3 Replies

5. UNIX for Dummies Questions & Answers

Password encryption

In unix, i know the password encrypt by using salt But how does it work? And how windows protect its password? Thank you for helping in advance (5 Replies)
Discussion started by: cryogen
5 Replies

6. UNIX for Dummies Questions & Answers

Migration to Redhat

Hi, We are currently using solaris 9 on sunfire v240 and strongly considering to migrate to redhat enterprise. But we are not sure if we can install redhat enterprise on sunfire WS . Although, we will purchase a X64 machine we also want to use sunfire machine. can we install redhat on sunfire... (2 Replies)
Discussion started by: titanic
2 Replies

7. Red Hat

password change for user on Redhat 5.6

Hi expert, after creating users on Redhat, i wantn to change their password with something that easy to remember and the way we use. For example #passwd username hello$123 it don't allow me. It may has something to do /etc/pam.d/filesXXXX there which i don't know to change to allow root... (1 Reply)
Discussion started by: lamoul
1 Replies

8. Red Hat

Redhat 4 host based migration

Hi, I need to migrate using Redhat 4 as host based migration,EMC Clariion to VNX. Please what are the best ways to perform online migration,with users working on the box?The file system is ext3 and the source logical voulumes are raid 1. - adding the 3rd LUN(from VNX) to the... (0 Replies)
Discussion started by: tanislavm11
0 Replies

9. Solaris

Vormetric Data Encryption on Solaris Redhat

Does anyone have experience running the Vormetric Data Encryption on Oracle Solaris platform? (0 Replies)
Discussion started by: dwevans
0 Replies
PASSWORD_VERIFY(3)							 1							PASSWORD_VERIFY(3)

password_verify - Verifies that a password matches a hash

SYNOPSIS
boolean password_verify (string $password, string $hash) DESCRIPTION
Verifies that the given hash matches the given password. Note that password_hash(3) returns the algorithm, cost and salt as part of the returned hash. Therefore, all information that's needed to verify the hash is included in it. This allows the verify function to verify the hash without needing separate storage for the salt or algorithm information. PARAMETERS
o $password - The user's password. o $hash - A hash created by password_hash(3). RETURN VALUES
Returns TRUE if the password and hash match, or FALSE otherwise. EXAMPLES
Example #1 password_verify(3) example <?php // See the password_hash() example to see where this came from. $hash = '$2y$07$BCryptRequires22Chrcte/VlQH0piJtjXl.0t1XkA8pw9dMXTpOq'; if (password_verify('rasmuslerdorf', $hash)) { echo 'Password is valid!'; } else { echo 'Invalid password.'; } ?> The above example will output: Password is valid! SEE ALSO
password_hash(3), userland implementation. PHP Documentation Group PASSWORD_VERIFY(3)
All times are GMT -4. The time now is 06:45 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy