- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: SET VMS user password from a remote applicatio...
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
09-05-2004 10:26 PM
09-05-2004 10:26 PM
I am working in an application in which the front-end is Oracle Developer forms
and the backend is Open VMS. There is an requirement in which the user is allowed to change his/her VMS password from the front-end i.e. the Oracle developer form.
The user in this case won't be having the system privileges.
So far I am not able to find a solution for the above stated problem. I will appreciate if you can throw some light on this.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2004 10:38 PM
09-05-2004 10:38 PM
Re: SET VMS user password from a remote application.
how your front-end is connected with backend?
If in front-end, your users have pathwork passwork and from front-end you can run a vms command you can use ADMIN MOD USER /PASSWORD.
Antonio Vigliotti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2004 10:43 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2004 10:44 PM
09-05-2004 10:44 PM
Re: SET VMS user password from a remote application.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2004 10:49 PM
09-05-2004 10:49 PM
Re: SET VMS user password from a remote application.
Searching I found this thread in experts exchange: http://www.experts-exchange.com/Databases/Oracle/Q_20912129.html
Maybe you can arrange a command procedure or a program which changes the password.
If you want to change the password from a program you must use sys$getuai, sys$hash_password and sys$setuai system services.
Bojan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2004 10:50 PM
09-05-2004 10:50 PM
Re: SET VMS user password from a remote application.
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2004 11:06 PM
09-05-2004 11:06 PM
Re: SET VMS user password from a remote application.
The user is working on the client (Oracle Forms Developer) end and needs to send password as parameters. So I cannot use SET Password command as it throws a dollar prompt on the server awaiting for the user to type old and new password and is never coming back to the frontend.
So I am looking for some way by which I can pass the old and new passwords from the frontend to VAX/VMS and this is going to reset the password without prompting for any value.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2004 11:30 PM
09-05-2004 11:30 PM
Re: SET VMS user password from a remote application.
If you can run a procedure in the users environment, than you can use Wims hint. In this procedure write out a new procedure and run it (look at the Wims post with the attachment). Maybe some
$ set protection=(s,o=rwed,g,w)/default
will slightly improve the security. Another way is to write a program which calls the sys$setuai system service (better, because of no intermediate files with plain text passwords).
Else if you can run a procedure - program under a privileged user (SYSPRV or GRPPRV if all users are in the same group) you can write a program which modifies users passwords. In this program first test the old password with sys$getuai and sys$hash_password and, if matches, modify the password using sys$setuai system service.
Bojan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2004 12:01 AM
09-06-2004 12:01 AM
Re: SET VMS user password from a remote application.
If you create the file and @ it, no prompt will be done. I also tried "set pass" with a redefined sys$input but this wasn't working.
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2004 12:07 AM
09-06-2004 12:07 AM
Re: SET VMS user password from a remote application.
So I cannot use SET Password command as it throws a dollar prompt on the server awaiting for the user to type old and new password and is never coming back to the frontend.
If you do a
$ DEFINE/USER_MODE SYS$INPUT SYS$COMMAND
immedeately before $ SET PASSWORD,
then the prompt is NOT thrown to the server, but to whatever is the interactive input stream, ie, the frontend. Input is taken from the same stream of course.
-- I never tried it from Oracle Developer though...
hth,
Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2004 12:09 AM
09-06-2004 12:09 AM
Re: SET VMS user password from a remote application.
Write the new password in the Oracle db and use rsh to start a procedure that will read in the database and use the value to change the password.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2004 12:56 AM
09-06-2004 12:56 AM
Re: SET VMS user password from a remote application.
all solution posted here are good ideas but they are a bit dangerous.
I can add some other hints:
- Remember SET PASSWORD command can fail (for example for easy_to_guess or found_in_history); there is no way to be sure password is changed.
- After change of password you could delete command file (that contains the new password)
If your front-end is on PC you could activate hyperterm to change user password; this is the most secure way but it's the best way for the user (no friendly for his).
Antonio Vigliotti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2004 02:06 AM
09-06-2004 02:06 AM
Re: SET VMS user password from a remote application.
Another solution which is a mix of previous solutions.
Take Wims Client.com and add old password test to it (see PASSWORD_SERVICE.COM after get_old_passwords: to have an idea how to test it). Obvious is that you must check and return the status of each phase. Now you can set this procedure as a TCP/IP service.
In Oracle you can write stored procedures in Java. Write such a procedure which open a TCP/IP connection to this service (using java.net.Socket) and passes the old and new password ower this connection. The procedure will change the password and/or return the status. In Java close the connection and return the status.
Now from SQL you can change the password with SELECT ChangePassword (old,new) FROM dual;
and you receive the status as a result (ChangePassword is the Java procedure name).
Bojan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2004 06:24 AM
09-06-2004 06:24 AM
Re: SET VMS user password from a remote application.
rsh node "@xxx:change_password old new"
and xxx:change_password.com must contain
$ open/write x tmp.tmp
$ write x "$ set pass"
$ write x "''p1'"
$ write x "''p2'"
$ write x "''p2'"
$ close x
$ @tmp.tmp
$ del tmp.tmp.*
Of course with error handling and a unique filename.
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2004 08:05 PM
09-06-2004 08:05 PM
Re: SET VMS user password from a remote application.
If you go for the command procedure solution, I sugest delete/erase when deleting the command procedure.
Bojan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2004 12:15 AM
09-07-2004 12:15 AM
Re: SET VMS user password from a remote application.
You can do it using the database (can be done encrypted, IIRC), or by some method directly (encrypted or not). Requirement of encryption depends, IMHO. If the connection between client and (VMS)server is a non-open (propriatry) network, need for encryption is low (or even absent).
Whatever method chosen, some process on the VMS site is to be triggered. You can use standard TCPIP services (designate a port for thsi (system) procedure, to secure it allow connections from known machines only.
Any message sent to this port will trigger a procedure - that can run in a privileged mode, to do just THAT: update UAF (and log it).
If you use the database for passing data, be sure to REMOVE the new password data after the UAF has been updated!
Willem
OpenVMS Developer & System Manager
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2004 12:23 AM
09-08-2004 12:23 AM
Re: SET VMS user password from a remote application.
I apperciate everybody's help for giving replies to my Query. I can now implement this in a good number of ways.
Thanks again
Manish Walia:)