Hide password on unix "PS" command
DBAsupport.com Forums - Powered by vBulletin
Results 1 to 5 of 5

Thread: Hide password on unix "PS" command

  1. #1
    Join Date
    Jul 2001
    Location
    Montreal
    Posts
    218

    Hide password on unix "PS" command

    Hello, We are running an Oracle 9.2.0.4 instance with serveral SQLPLUS sessions. The problem is when you run the "PS" unix command (ie. ps -fu | grep sqlplus), the username and password is displayed. How do I hide the password? Is there an Oracle or Unix option that needs to be turned on ? Please advise. Thanks.

  2. #2
    Join Date
    Jan 2001
    Posts
    216
    One way is to provide OS authication for the user running the job. That way a passwd wont be necessary to login to sqlplus

  3. #3
    Join Date
    May 2002
    Posts
    2,645
    Are users connecting with "sqlplus username/password@sid" at the UNIX command line? If so, try using only "sqlplus" or "sqlplus username@sid" and then enter the password inside of the SQL*Plus shell window.

  4. #4
    Join Date
    Sep 2002
    Location
    England
    Posts
    7,331
    Quote Originally Posted by pascal01
    Hello, We are running an Oracle 9.2.0.4 instance with serveral SQLPLUS sessions. The problem is when you run the "PS" unix command (ie. ps -fu | grep sqlplus), the username and password is displayed. How do I hide the password? Is there an Oracle or Unix option that needs to be turned on ? Please advise. Thanks.
    what OS? because on Linux (redhat) it is hidden

    there are tools on petefinnigan.com which will hide it also

  5. #5
    Join Date
    Jul 2001
    Location
    Montreal
    Posts
    218
    its on Sun Solaris v 2.8

Posting Permissions

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



Click Here to Expand Forum to Full Width