home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / database / sybase / 298 < prev    next >
Encoding:
Text File  |  1992-11-12  |  1020 b   |  31 lines

  1. Newsgroups: comp.databases.sybase
  2. Path: sparky!uunet!destroyer!ncar!uchinews!chris
  3. From: chris@tartarus.uchicago.edu (Chris Johnston)
  4. Subject: Re: Hiding a password while dumping
  5. Message-ID: <1992Nov12.174354.10982@midway.uchicago.edu>
  6. Sender: news@uchinews.uchicago.edu (News System)
  7. Organization: AM Investors, Chicago
  8. References: <93@jcpltyo.JCPL.CO.JP> <94@jcpltyo.JCPL.CO.JP> <wolfgang.721418993@sfu.ca>
  9. Date: Thu, 12 Nov 1992 17:43:54 GMT
  10. Lines: 19
  11.  
  12.     I use a sun sparc.  On my system 'ps -eww' will display all the
  13. environment variables including the one with the dump passwd.  However
  14.  'isql -Ppassword' will show up in ps as
  15.  'isql -P        '.  This is because isql replaces the password with 
  16. blanks.  This only lets the bad guys see the length of your password.
  17.  
  18.     Something like 'isql -Usa -P`cat /.secret/sydumppw`' would
  19. probably be most secure.
  20.  
  21.     I wouldn't trust the following since it creates a file in /tmp
  22. isql -Usa << ReDiReCt
  23. `cat /.secret/sdumppw`
  24. use DB
  25.  etc...
  26. ReDiReCt
  27.  
  28. cj
  29. 312-786-4889
  30.  
  31.