Results 1 to 2 of 2

Thread: Importing shadow file with special character

  1. #1
    Join Date
    Feb 2011
    Posts
    2
    Rep Power
    4

    Question Importing shadow file with special character

    I used a script in wiki to create a zmprov file to migrate a password. The file looks like this:-


    ma anthony@medic.xxx.edu.my userPassword '{crypt}$1$$zJPUhyStfGSV9o8lf.tAa0'
    ma aneip@medic.xxx.edu.my userPassword '{crypt}$1$$xzLdYyir1/ZNdxKT.mAa2/'

    When I try to run the file through zmprov there, the command will be split to a new line.. something like this

    ma anthony@medic.xxx.edu.my userPassword '{crypt}$1$
    $zJPUhyStfGSV9o8lf.tAa0'
    ma aneip@medic.xxx.edu.my userPassword '{crypt}$1$
    $xzLdYyir1/ZNdxKT.mAa2/'

    I open the file through vi, then I can see there are special character ^A after second $ in the crypt. This special character force the command to split into 2. How can I escape this character so it's can feed as 1 line to zmprov?

    About 70% of line have this ^A character.

  2. #2
    Join Date
    Feb 2011
    Posts
    2
    Rep Power
    4

    Default

    if seems ^A is chr(01) - ascii code 1.

    Anyway to escape this character to zmprov?

Similar Threads

  1. speed up the net
    By mcesari in forum Administrators
    Replies: 10
    Last Post: 04-25-2008, 11:24 AM
  2. centos 5 zimbra 4.5.6 no statistics
    By rutman286 in forum Installation
    Replies: 9
    Last Post: 08-14-2007, 09:30 AM
  3. Opensource backup Question.
    By nfear24 in forum Administrators
    Replies: 3
    Last Post: 03-31-2007, 11:47 PM
  4. Traslation SVN tree status
    By meikka in forum I18N/L10N - Translations
    Replies: 7
    Last Post: 02-13-2007, 10:13 AM
  5. M3 problem with shares
    By titangears in forum Users
    Replies: 4
    Last Post: 01-12-2006, 12:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •