- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to hide the password from showing in the PS co...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2008 08:57 AM
01-14-2008 08:57 AM
How to hide the password from showing in the PS command
"Some operating systems have settings that will only let users see their own processes in ps. FreeBSD 4.x can be set to behave in this fashion by
setting sysctl kern.ps_showallprocs to 0. FreeBSD 5.x has sysctls security.bsd.see_other_uids and security.bsd.see_other_gids that can both
be set to 0 for the same effect.
Linux needs kernel patches to accomplish this, like grsecurity, as one example."
if there is any equivalent kernel setting in UNIX or any alternate method to get this done?
We have already tried with compiling with hide.c . But is it NOT supported for FND programs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2008 10:38 AM
01-14-2008 10:38 AM
Re: How to hide the password from showing in the PS command
This is a new one on me.
What is a password form?
ps is a command that reads the process table. All users are permitted to read this table. What a user can modify is determined by ownership.
Please define the problem better and get some better help.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2008 10:41 AM
01-14-2008 10:41 AM
Re: How to hide the password from showing in the PS command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2008 11:02 AM
01-14-2008 11:02 AM
Re: How to hide the password from showing in the PS command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2008 12:09 PM
01-14-2008 12:09 PM
Re: How to hide the password from showing in the PS command
If you must use hard coded passwords, try setting them as environmental variables...
IE - store them in a file, then read it into a variable in a script, then pass that variable on the command line:
/some/program -password $MYPASSWORD
Or what ever....
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2008 12:23 PM
01-14-2008 12:23 PM
Re: How to hide the password from showing in the PS command
shell vars don't work for this as they get expanded before the command is executed. so the buffered command line shown by "ps" still has it.
if the app can prompt for the password, then a "here-doc" might work.
Since these are oracle utils, I'm making the rash assumption that its being run from another user (thus requiring the password). If thats the case, sudo might be an option as well
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2008 02:29 PM
01-14-2008 02:29 PM
Re: How to hide the password from showing in the PS command
"ps" just shows what's available to it. It doesn't even *know* that it is showing you the arguments to "fndload", at least not in particular. It just finds every program and shows the command line argument.
Oracle (whose tool it is your referring to), needs to fix this. Upon launching their program, they should be accessing the PSP and figuring what is in their that is confidential and removing it. Oracle does it for some programs, but not others. They need to be consistent. But, you need to log this request with Oracle, not your Unix vendor.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2008 04:25 PM
01-14-2008 04:25 PM
Re: How to hide the password from showing in the PS command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2008 06:00 PM
02-17-2008 06:00 PM