- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Captive Logins?
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
07-21-2007 10:03 PM
07-21-2007 10:03 PM
Captive Logins?
Can someone please explain the command on how to escape out of a Group captive login process?
Is there any related docs I can read up on?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2007 10:52 PM
07-21-2007 10:52 PM
Re: Captive Logins?
if the user account has /FLAGS=CAPTIVE set, you can not break out of the login-prcedure to the DCL prompt. The system will automatically log you out, if the login procedure (or any other DCL procedures called) would accidently exit back to DCL level.
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2007 12:24 AM
07-22-2007 12:24 AM
Re: Captive Logins?
There is no generic definition for a "group captive login process" in OpenVMS.
If an account has been setup with the CAPTIVE flag, the answer is quite simple: NO. The CAPTIVE state is designed from the outset for use where it is desired that users NOT be able to gain control.
If a manager has (properly) set up a system-wide, group-wide, or similar process intending it to be mandatory, the answer is also NO.
If you can be more specific about what the problem is, perhaps the question can be clarified.
- Bob Gezelter, http://www.rlgsc.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2007 03:24 AM
07-22-2007 03:24 AM
Re: Captive Logins?
If seeking to create and to write a captive command procedure, documentation and materials are available on that topic. The DCL book I wrote a while back -- writing real programs in dcl, 2nd ed -- has coverage on creating captive command procedures (if you can find a copy; it's out of print), and the User's Guide and particularly the Security manuals are the center of documentation on captive command procedures within the manual set.
Most of the hacking documentation for OpenVMS is outdated (and whether approaching this area as a whitehat or a blackhat, still worth reading), and the exposures and the vulnerabilities discussed in these documents are (AFAIK) infrequently or no longer present, or are network-level and generic vulnerabilities. Start with the VMS Hack FAQ -- pointers to that are in the OpenVMS FAQ.
When defending against captive escapes and against security attacks in general, that subject area is far larger and far more complex than can be discussed in the little tiny text box here in ITRC. Start with the security manual.
If this is related to your previous questions on passwords and on captive login procedures, you might want to acquire formal assistance and to specifically look at the network or login-related failures that are leading to the lock-out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2007 09:47 AM
07-22-2007 09:47 AM
Re: Captive Logins?
As others have said, captive is captive. If you do manage to break out OpenVMS will log you out immediately.
That said, if you're in a command procedure that contains a command loop or menu, and it hasn't been written properly, a fairly reliable way of breaking out is to enter:
'f$pid(goto)
at the prompt (the quote is required). This will work if the procedure uses the INQUIRE connand to prompt for input. Theory left as an exercise...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2007 11:28 AM
07-22-2007 11:28 AM
Re: Captive Logins?
Access to INQUIRE was first locked out circa VAX/VMS V5.2, IIRC.
This INQUIRE restriction arrived around the same time as then-existing CAPTIVE accounts were demoted to RESTRICTED, and INQUIRE was locked out when attempted within a then-strengthened CAPTIVE command procedure with a CAPTINQ error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2007 08:02 PM
07-22-2007 08:02 PM
Re: Captive Logins?
The commands you can obtain with read.
Fwiw
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2007 08:28 PM
07-22-2007 08:28 PM
Re: Captive Logins?
$ read sys$command xx
$ ''xx'
This would execute any command entered by the user.
Wim (now using captive for the first time)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2007 10:05 PM
07-22-2007 10:05 PM
Re: Captive Logins?
Task-to-Task, RSH, use of raw input in substitution (and others) will, of course, work.
Captive merely ensures that the user cannot break out of the command procedure and application. It does not (nor could it) provide any guarantee that there is no way to misuse the code provided by the developer.
- Bob Gezelter, http://www.rlgsc.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2007 10:38 PM
07-22-2007 10:38 PM
Re: Captive Logins?
Otherwise someone could abuse the account with rsh /us/pass.
I'm thinking of well known accounts for printer management, operator menu's, etc.
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2007 10:04 AM
12-05-2007 10:04 AM
Re: Captive Logins?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2007 05:27 PM
12-05-2007 05:27 PM
Re: Captive Logins?
But if you're talking captive or restricted, there's not a whole lot the account can do. It can only execute the program or command procedure that the login account has been setup to do.
If you're looking for a way to break out of it, there is no way unless you happen across a VMS operating system bug. I doubt there are any along these lines, as VMS has the highest security rating of ANY operating system.
But if you still want out of the captive account, you will have to talk to the system manager (or administrator if you're a windows or Unix type guy). Or there is a security manager, talk to him.