Set the password for zip file in unix

Hi All,
I have used the below command to zip the file and it is working fine.
cd /YYYY;zip -r ZZZZ.zip ZZZZ.TXT
While using the below command to set the password on zip file , I am getting error like "zip error: Invalid command arguments (encryption not supported)
zip -P password -r ZZZZ.zip ZZZZ.TXT
Can you please help me how to set the password for zip file in UNIX.
Thanks,

Do you use any characters in the password that might confuse the zip command? (like '-' or ';'?)
If I use the command in RHEL4:
cd /tmp
zip -P password -r tt.zip gconfd-oracle
adding: gconfd-oracle/ (stored 0%)
adding: gconfd-oracle/lock/ (stored 0%)
adding: gconfd-oracle/lock/ior (deflated 67%)

Similar Messages

  • What is the password for backup files

    Just updated my iPhone & lost my contacts & calendar. It is requesting my backup file password; I don't recall setting one. Please help! Is there a way to obtain this?

    If you didn't set the password, and it isn't possible to' override or bypass it (there wouldn't be much use in having one if it could), then have you got an Exchange email account on the iPhone ? If so then it's possible that the account administrator has set the password for you (e.g. to protect potentially sensitive work content) - in which case you could try contacting them.

  • How to enable root on mac on 10.9.2 and how to set the password for the same ?

    how to enable root on mac on 10.9.2 and how to set the password for the same ?

    http://support.apple.com/kb/ht1528
    Follow the steps for Lion.
    But, why are you doing this? I've never found the need to do that.

  • HT2688 How do I set the password for my iTunes Library Home Sharing?

    I have a new Macbook and I'd like to access my library from my old one via Home Sharing. The library appears in my iTunes, but when I go to enter my Apple ID password, it says that the password is incorrect. Home Sharing is enabled on the old computer. What else could the password be/how do I set the password on my old computer? 

    What password did you define on the computer where the library actually exists?  It could be your Apple ID password but that wouldn't be very smart.
    Just turn off the password for homesharing unless you actually need it.
    Edit > Preferences > Sharing > either uncheck the option to require a password or simply change it.

  • Is it possible to set a password for opening file ...

    Hello,
    After copying a file( word doc or xls) to E72, I would like to set password for opening that file. Is there a way to do this ? I would like pwd protection for opening the file in quickoffice , so I am not looking at a password protected office document as those E72 cannot open.
    Thanks

    No one here would know why Apple does anything unless they announce.  We are all iphone users just like you.
    http://www.apple.com/feedback

  • Forget the password for backup file

    I just backup my file but i forget the password of my backup file
    So anyone know how to fix these please tell me
    thank you .

    Forgotten Screen-Lock Passcode
    Connect the iOS device to your computer and try to make a backup
    iOS: How to back up
    Then restore via iTunes. The iOS device will be erased. Place the iOS device in Recovery Mode if necessary to allow the restore.
    If recovery mode does not work try DFU mode.
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    For how to restore:
    iTunes: Restoring iOS software
    To restore from backup see:
    iOS: How to back up    
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload most iTunes purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store    

  • Sending HR-File as email by the ABAP program as password protected ZIP file

    Hi All,
    My requiremet is to directly email the SAP-HR files to the users as the password protected ZIP file on UNIX.
    Can anyone help me out how to implement this in my ABAP program.
    Regards,
    Saumik

    hi,
    To populate data in different column you may use the below code.
    DATA : filename TYPE string VALUE  "Path
    DATA :BEGIN OF wa_string,
                   data TYPE string,
              END OF wa_string.
    DATA : it_data LIKE STANDARD TABLE OF wa_string,
               data  TYPE string.
    DATA: v_tab TYPE char1.
    v_tab = cl_abap_char_utilities=>horizontal_tab.
    CONCATENATE 'happy' 'new year'  INTO wa_string-data SEPARATED BY v_tab.
    APPEND wa_string TO it_data .
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
        filename              = filename
      TABLES
        data_tab              = it_data.
    IF sy-subrc <> 0.
    ENDIF.

  • Password for pdf file

    Hi,
    I am sending the output of the smartform as a pdf file and email to the customer.  I need to protect the pdf file with a password.  Please let me know if we can set the password for the pdf file in the driver program?
    Points will be given for useful answer.

    hi
    good
    FM EXCEL_OLE_STANDARD_DAT has an import parameter:
    VALUE(PASSWORD) DEFAULT SPACE
    Just set password to the pwd you want.
    And the parameter
    VALUE(PASSWORD_OPTION) TYPE I DEFAULT 0
    reward point if helpful.
    thanks
    mrutyun^

  • Command for Unzipping a password protected zip file in Solaris

    Hi,
    I got a requirement where I need unzip a password protected zip file using java in Solaris.I tried with
    unzip -P but it is not working in India and Australia (may be I need to download some patch). Can any one help me to find out the solution.
    Thanks
    Naresh

    Hi peterchun,
    Thanks for your reply.
    I was trying with correct password only but my Solaris is not able to recognize unzip -P command. Can you please let me know whether I need to install any patch on Solaris (my Solaris version is 9) for this command.
    Basic requirement: password protected zip files comes to our application and those need to be unzipped to one particular location. As we are using JAVA/J2EE in our application, Can you please suggest any UNIX command (with example) for this requirement will be great.
    Thanks,
    Naresh

  • How can I set a password for firefox so that everyone have to enter the password before executing firefox

    My younger sister executed my firefox just at this afternoon(she originally use IE), and she saw something that can't be seen. How can I set a password for firefox so that everyone have to enter the password before executing firefox?

    Also see this for an English version of Profile Password:
    *Profile Password: http://nic-nac-project.de/~kaosmos/profilepassword-en.html#PPF
    It is an extension to protect the profile with a password, but being an extension that protection can easily be bypassed by starting Firefox in [[Safe mode]].<br />
    So do not rely on it.<br />
    If you want to protect content then you have to use methods supported by the OS like a separate user account with a password or an encrypted file system.

  • I see that many people have already complained about Itunes' backup encryption. I NEVER set a password for it (and the corresponding option is still unticked, as always) yet it asked me for a pwd when I upgraded my 3GS to the 5.0 OS. How to solve this?

    I see that many people have already complained about Itunes' backup encryption. I NEVER set a password for it (and the corresponding option is still unticked, as always) yet it asked me for a pwd when I upgraded my 3GS to the 5.0 OS. How to solve this?

    To prevent others from reading your mail, don't give them access to your account. If others need to use your computer for some reason, set up personal accounts, or a guest account, and switch to it before allowing them access. This is the simplest, and most effective, method.
    Email message files can be read as plain text in TextEdit or any word processor.
    To protect your email messages from being viewed by others while in your account, you would have to lock the folder, putting it into an encrypted disk image that required a password to be opened and mounted. You would have to double-click on the image and give your password to mount it before launching Mail then unmount it as soon as you're done. My guess is that you could replace the ~/Library/Mail folder with an alias pointing to the folder on the disk image.
    It may work, but it seems like a lot of unnecessary hassle.

  • How to set the password encrytacion a database. Accdb from Visual Basic 2010 for a report. Rpl

    I want to know how to set the password encrytacion a database. Accdb from Visual Basic 2010 for a report. Rpl

    You have to connect via ODBC, then use code along the lines of what is described here:
    http://scn.sap.com/thread/3526924
    by me on March 28 and Jan on March 29.
    Also see KBA: 1686419 - SAP Crystal Reports designer does not recognize Access *.accdb file
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Process for setting up new directories and files on Unix

    I am trying to document a process �Process for setting up new directories and files on Unix batch servers�.
    Developer will be developing project on Windows and I need tell them as well as QA team how the Unix directory and file structure.
    Please let me know how is the process in Unix on AIX.
    If I get some documentation regarding this it will be useful.
    Thanks in advance
    Regards
    San

    well on unix/Linux/solaris there are no drives but storage heirarchy starts with a root directory represented with ' / '. and all files and directories are created in root directoy like
    /usr/local/bin
    /export/home/san
    etc
    also filesystem of unix consists iNodes rathar than FAT entries as in case of Windows.
    some basic information is available at
    http://www.techonthenet.com/unix/index.php
    Regards

  • Where is the hyphen (-) on the apple TV?  I am trying to set up my network and there is a hyphen in the password for the network

    Where is the hyphen on the apple TV?  I am trying to set up my network and there is a hyphen in the password for the network

    A few options to try:
    They hyphen should be next to the + on the character map.
    If you are still having issues, provided your ATV software is up to date, you can now connect an Apple Wireless Keyboard through bluetooth connections.
    Change your network password so it does not use a hyphen
    Good luck!

  • TS5223 Updated to iOS8. I don't remember the password for my old Apple ID or the password for that e-mail. I can't delete the iCloud account without knowing it, although my iTunes and everything else is set to the new Apple ID and password. Help?!

    I keep getting pop-ups telling me to sign in to my iCloud and it's very annoying. I have no idea what the old password was, and I don't really have a way of changing the old password because I also don't know my password for the e-mail address connected to it (it kept telling me that the answers to my security questions were wrong, but I'm not sure what other answers they would have been). Therefore, I created an entirely new e-mail and a new Apple ID and everything else is set to that ID... except iCloud. Is there any way to correct this, or am I out of luck?

    If your device is signed into an old iCloud ID, and if it is an earlier version of your current ID*, do the following:
    Make sure you are signed into iMessage and FaceTime with your current ID.  If they are signed into the old ID, go to Settings>Messages>Send & Receive and Settings>FaceTime, tap the ID, sign out, then sign back in with your current ID.
    Then temporarily recreate the old ID by going to https://appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.  Click edit next to the primary email account, change it back to your old email address and save the change.  (You should not have to verify the old email account so it doesn’t matter if you no longer have access to it.)  Now go to Settings>iCloud, turn off Find My iDevice and enter your current password when prompted (even though it prompts you for the password for your old ID).  Then go to Settings>iCloud, tap Sign Out (or Delete Account if you are not running iOS 8) and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud).  Next, go back to https://appleid.apple.com and change your primary email address back to the way it was.  Now you can go to Settings>iCloud and sign back in with your current iCloud ID and password (your data will download back to your device).
    * If that's not the case, you'll have to contact the Apple account security team and ask for assistance resetting the password for the old ID: Apple ID: Contacting Apple for help with Apple ID account security.  You'll have to be able to prove your identity to them before they will do this.

Maybe you are looking for

  • Mini Display Port or Thunderbolt with Bootcamp

    Privatley i like to use my new Imac but i need it also as a Monitor for my buisiness Windows Notebook does anybody know if it is possibel to use Mini Display Port or Thunderbolt with Bootcamp Thanks for any information

  • Shifting navbar from one page to another

    This is a weird problem, when I select my LODGING page in the navbar, the LODGING page opens but the navbar shifts sideways. When you go back and forth between the first page and the LODGING page it is very noticeable. I built the first page with the

  • CRM is unicode R/3 is non-unicode

    We are about to install a new CRM 4.0 system based on WAS 6.40 and choose the unicode option. This system will be talking to an R/3 system which is enterprise and is non-unicode. CRM will be accessed via a portal. We will be installing about 18 langu

  • Configuring Personnel Development

    Hi All, Can anyone guide me with configurations that are need to be done for implementation of personnel development module. What are the basic configurations to be done and what configurations will vary depending on the requirement? Regards, Raj

  • Force Reboot and Disk Boot to Restore Non Mounting iPods

    My 3rd Nano 3G worked great until I added Calendar and Contact Synching. After that the crashing came back, and I could not get it to mount even though the disk mode was displayed on the screen. After much head scratching, I looked up on the diagnost