- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Allow selective LOGIN when interactive is set to 0
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
06-05-2006 05:32 PM
06-05-2006 05:32 PM
Currently the operators set the login interactive count to 0, and then open/reclose upon specific request. The problem with this method is that during the short period during which the interactive count is set to more than 0 other users could by coincidence also login. Giving ALL the programmers the minimum privelege to allow them the ability to LOGIN even when the interactive count is set to 0, is NOT an option.
Does anyone have a suggestion how to "resolve" this issue in an elegant manner?
BTW, what is the minimum privelege that a user requires to be able to LOGIN even when interactive logins is set to 0?
Thanks,
Chaim
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2006 05:56 PM
06-05-2006 05:56 PM
Re: Allow selective LOGIN when interactive is set to 0
the minimum privillege to login under this circumstance is OPER privillege.
Another possibility would be not to control login with SET LOGIN/INTERACTIVE, but to control access with a procedure, which restricts login to specified users, controled by the system manager.
Regards
Heinz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2006 06:26 PM
06-05-2006 06:26 PM
Re: Allow selective LOGIN when interactive is set to 0
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2006 07:05 PM
06-05-2006 07:05 PM
Re: Allow selective LOGIN when interactive is set to 0
Based on these replies, I take it that there is no elegant solution to this problem.
I think I will suggest writing a simple command procedure that will accept a file containing a list of user names and give an optio to either grant or revole the OPER privelege from the users contained in the list. This would then give the desired users the OPER for the duration of the task and then the system manager could rerun the CP to revoke said priv after the task has been completed.
Thanks,
Chaim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2006 09:43 PM
06-05-2006 09:43 PM
Re: Allow selective LOGIN when interactive is set to 0
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2006 11:34 PM
06-05-2006 11:34 PM
SolutionThen create a file sys$common:[sysexe]restrict_logins.closed with all users allowed to login surrounded by |.
When you need to close the system (except for these men), rename it to .dat. When you want to close the system for all users, use the interactive limit. To open the system again, rename to .closed.
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2006 12:37 AM
06-06-2006 12:37 AM
Re: Allow selective LOGIN when interactive is set to 0
The SET LOGIN/INTERACTIVE=n mechanism will not achieve what you want. There is, however, a way to accomplish this in a reasonably elegant fashion.
Create a collection of a Identifiers associated with each of the groups of programmers (If the programmers are broken into different groups, then the Group name can be used as part of the Identifier name).
In SYS$MANAGER:SYLOGIN.COM, check the identifiers against a logical name (in Executive Mode, and in a System Owned Logical name table). If the logical name is set correctly, then allow the login. If not, logout the process.
To be certain, ensure that the SYLOGIN.COM file executes with Control-C and Control-Y disabled.
Alternatively, you can accomplish this using a Executive mode logical name in the group logical name table (LNM$GROUP). This table is different for every UIC group.
I hope that the above is helpful.
- Bob Gezelter, http://www.rlgsc.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2006 02:25 AM
06-06-2006 02:25 AM
Re: Allow selective LOGIN when interactive is set to 0
You may want to investigate the SYSGEN parameter LGI_CALLOUTS and the associated LOGINOUT API (callout_chkrestrict is the vector of interest) to customize the login process. I once used it for just this purpose - to recognize and permit interactive access to a system for select users when IJOBLIM was set to 0.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2006 09:58 AM
06-08-2006 09:58 AM
Re: Allow selective LOGIN when interactive is set to 0
$ SET PROCESS/PRIVILEGES=NOOPER
I'm assuming these users' accounts are set RESTRICTED (must execute their login .com) and that they don't have access to edit it.
Then when you wish to allow a user to login modify their SYSUAF account to add OPER to their default privilege list, but do NOT add it to their authorized privilege list.
They will have OPER priv only while their login takes place and will not be able to enable it again.
$ SET PROCESS/PRIV=OPER
%SYSTEM-W-NOTALLPRIV, not all requested privileges authorized
$ WRITE SYS$OUTPUT F$PRIV("OPER")
FALSE
Another possible approach is to use loginout callouts. You can write routines that LOGINOUT.EXE calls to turn OPER on before authentication and turn it back off after authentication based on a list of currently valid users it obtains from a file or system logical name.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2006 09:58 PM
06-08-2006 09:58 PM
Re: Allow selective LOGIN when interactive is set to 0
You check this logical for a value if the user has not the ident systemmanager. On this way jou can show a message ik the system is closed for normal use and disconnect the user.