- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: securing plain text passwords
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
Forums
Discussions
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
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
02-28-2002 10:22 AM
02-28-2002 10:22 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2002 10:30 AM
02-28-2002 10:30 AM
Re: securing plain text passwords
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2002 11:49 AM
02-28-2002 11:49 AM
Re: securing plain text passwords
thanks
tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2002 01:15 PM
02-28-2002 01:15 PM
Re: securing plain text passwords
sqlplus scott/tiger
Everybody and their brother on the machine can do a ps -ef and see your password in the process list.
This works:
USERID=scott/tiger
sqlplus <
select sysdate from dual;
EOF
Your password won't show up on the command line that way. Of course, different applications may have different issues.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2002 10:22 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2002 01:53 AM
03-01-2002 01:53 AM
Re: securing plain text passwords
Do not know if this helps
Volker
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2002 02:01 AM
03-01-2002 02:01 AM
Re: securing plain text passwords
If sudo doesn't suit your needs, then use restricted sam.
Give the script only -r-x------ (chmod 0500) permissions for the owner called eg. sqlmod.
Subsequently, add this script to sam and configure restricted sam for this script:
$ sam -r
A user sqluser1 can thus execute the script from sam without the ability to read the script owned by sqlmod.
$ /usr/sbin/sam
Another alternative is to wrap your script in a C program, but this is not foolproof.
Hope this helps. Regards.
Steven Sim Kok Leong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2002 01:42 PM
03-06-2002 01:42 PM