[Ilugc] Encrypt ?

  • From: jrameshkumar@xxxxxxxxxxxxxxxxx (jrameshkumar@xxxxxxxxxxxxxxxxx)
  • Date: Wed, 27 Nov 2002 12:36:36 +0530

Hi,

 Regarding Encrypt in linux 7.2,
 assume that the file is in Encoded form.

 Step1: Using CRYPT cmd, we decode it and the output is stored in a file.

 Step2: We move the output file again into the same dir with the
 set_env_.ksh name
 Step3: Now the file can be used by the main program.
 Step4: Once the process is over, we again use the CRYPT to encode it.
 Step5: We move the output file again into the same dir with the
 set_env_.ksh name.
 Step6:  Now the file is in decoded form .

 Following is the script:

 crypt key<test.ksh> test1.ksh
 echo  "encoding"
 mv /u/cxclem2/test1.ksh /u/cxclem2/test.ksh
 echo "decoding"
 *********some other processes***********
 crypt key<test.ksh> test1.ksh
 mv /u/cxclem2/test1.ksh /u/cxclem2/test.ksh


 how do i use ps -ef to view the encrypted file directly in linux 7.2?

 Thanks,
-Ramesh


Other related posts:

  • » [Ilugc] Encrypt ? - jrameshkumar@xxxxxxxxxxxxxxxxx