home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.databases.sybase
- Path: sparky!uunet!destroyer!ncar!uchinews!chris
- From: chris@tartarus.uchicago.edu (Chris Johnston)
- Subject: Re: Hiding a password while dumping
- Message-ID: <1992Nov12.174354.10982@midway.uchicago.edu>
- Sender: news@uchinews.uchicago.edu (News System)
- Organization: AM Investors, Chicago
- References: <93@jcpltyo.JCPL.CO.JP> <94@jcpltyo.JCPL.CO.JP> <wolfgang.721418993@sfu.ca>
- Date: Thu, 12 Nov 1992 17:43:54 GMT
- Lines: 19
-
- I use a sun sparc. On my system 'ps -eww' will display all the
- environment variables including the one with the dump passwd. However
- 'isql -Ppassword' will show up in ps as
- 'isql -P '. This is because isql replaces the password with
- blanks. This only lets the bad guys see the length of your password.
-
- Something like 'isql -Usa -P`cat /.secret/sydumppw`' would
- probably be most secure.
-
- I wouldn't trust the following since it creates a file in /tmp
- isql -Usa << ReDiReCt
- `cat /.secret/sdumppw`
- use DB
- etc...
- ReDiReCt
-
- cj
- 312-786-4889
-
-