RHEL zip 加密

919阅读 0评论2010-09-27 atyu30
分类:LINUX

[oracle@atyu30 tmp]$ man zip

       -P password
              use password to encrypt zipfile entries (if any).  THIS IS INSECURE!  Many multi-user operating systems  provide
              ways for any user to see the current command line of any other user; even on stand-alone systems there is always
              the threat of over-the-shoulder peeking.  Storing the plaintext password as part of a command line in  an  auto-
              mated  script  is  even  worse.   Whenever possible, use the non-echoing, interactive prompt to enter passwords.
              (And where security is truly important, use strong encryption such as Pretty Good Privacy instead of  the  rela-
              tively weak encryption provided by standard zipfile utilities.)

[oracle@atyu30 tmp]$ zip -P '123456' sql.zip sql/
  adding: sql/ (stored 0%)

zip 加密压缩可以使用脚本进行批量处理
上一篇:修改 sqlplus 提示符
下一篇:RHEL5 GNOME桌面乱了