Reading HP-UX crypt file on LINUX REHL 4

Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Reading HP-UX crypt file on LINUX REHL 4
# 1  
Old 09-02-2008
Reading HP-UX crypt file on LINUX REHL 4

I have a process that creates a file on a HP-UX server (11.11) using the HP-UX Command crypt.

This gets transfred to a LINUX server (REHL 4u4 AP) where crypt is not installed.

I have been trying to use the standard supplied "gpg" utility to decrypt the file but no sucess!.

Any help/ideas would be good.

Crypt creation on HP-UX
echo "test is a test" | crypt 123 >filename.crypt

File is transefred to LINUX

Who do I read it once there?

Many thanks in advance.
# 2  
Old 09-04-2008
gpg doesn't understand crypt so no surprise there.

I'm not a Red Hat person so I don't know the precise history, but previously, crypt used to be missing because of legal/licensing reasons from some Linux distros. Still, maybe you can find a ported crypt; have you tried rpmsearch?

I believe Perl ships with the crypt function so perhaps you could use that.

Perhaps it would be simpler to install something on HPUX which you already have on Linux, such as maybe gpg?
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. 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

2. Red Hat

DES and Crypt functions in Linux RedHat

Hi I wish to encrypt some files in Linux Redhat server using DES and Encrpt functions but I am not able to find such fncs in Linux. Please help. (0 Replies)
Discussion started by: kapilk
0 Replies

3. Red Hat

Installing PHP4 - REHL 5

Hi All, Is there anyone facing a problem installing PHP 4 at Red hat Enterprise 5? I paid for the red hat update subscription and when i look at the website it seems PHP4 is only for Red Hat enterprise 4. My web server only can use PHP 4 and i cant use PHP 5. Am i going to have an issue... (0 Replies)
Discussion started by: c00kie88
0 Replies

4. UNIX for Dummies Questions & Answers

I need help with Crypt()

Hi, Completely new to Unix - trying to decrypt a Crypt() password, I'm looking for a DES based software that can run on windows...anyone know of a link / online tool that can help me? Much appreciated reppir (0 Replies)
Discussion started by: reppir
0 Replies

5. Shell Programming and Scripting

Crypt command

Hi all, I want the source code similar to crypt command in unix. Thanks for the reply (4 Replies)
Discussion started by: ratna
4 Replies

6. AIX

Crypt command

Will AIX support crypt command or elase is there any command which is similar to crypt on AIX? (2 Replies)
Discussion started by: kalpana.anuga
2 Replies

7. UNIX for Advanced & Expert Users

HP-UX crypt, need to do in AIX 5

Hi, I will crypt a file, which requires password to open it in HP-UX. Please let me know the equivalent command in AIX 5. Your co-operation is highly appreciated in this regard! -Thiagu (2 Replies)
Discussion started by: thiagoo
2 Replies

8. UNIX for Dummies Questions & Answers

Need to de-crypt a file..

Hi.. I need to decrypt a file in Solaris. I'm giving command as crypt decrypt_key filename.locked filename.unlocked where decrypt_key is the key key for decrypting the file. filename.locked is the file thats encrypted and I need to de-crypt filename.unlocked is the new file that I need ... (1 Reply)
Discussion started by: livetaurean19
1 Replies

9. Programming

Crypt How to??

How to use the crypt function in c++.Itgives error as "Undefined reference to crypt".help me soon plzzzzzzzzz... (1 Reply)
Discussion started by: dhanas
1 Replies
Login or Register to Ask a Question

Featured Tech Videos