- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: create a group logical name table
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
Discussions
Discussions
Forums
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
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-14-2005 02:16 AM
тАО09-14-2005 02:16 AM
I want to create a logical that translates differently depending on a users UIC group. So I need to create a set of logicals in the respective group tables. However, IтАЩve noticed that on system boot, most of the group tables do not exist and they appear to be created when someone in the group logs into the system. This means that I canтАЩt create the logicals at startup.
IтАЩve looked at the help for the verb to create a name table but there doesnтАЩt appear to be a way to create a table for a group different to your current UIC code.
Do you know how I can create a number of group tables at system startup that I can then populate with a few logicals in preparation for the user community to login?
We're running VMS V7.3-2
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2005 02:31 AM
тАО09-14-2005 02:31 AM
Re: create a group logical name table
$ crea/nam/prot=/exec/parent=lnm$system_directory wim$logical_names
Then populate it.
Then during login, copy lnm$file_dev from lnm$system_directory to a job logical with the same name.
(I didn't try the last part)
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2005 02:32 AM
тАО09-14-2005 02:32 AM
Re: create a group logical name table
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2005 02:33 AM
тАО09-14-2005 02:33 AM
Re: create a group logical name table
$ getuai NEDSYS/default=nedlogin
$ submit/noprint/user=NEDSYS 'nedlogin'ned_group_define
for a group administrator NEDSYS.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2005 02:53 AM
тАО09-14-2005 02:53 AM
Re: create a group logical name table
We have the necessary group logicals per group in a file
SYS$STARTUP:GROUP_LOGICALS_xxx.COM, with the (non-interactive access) user xxx_SPU as owner. (SPU = Special Privileged User)
This user performs all batch processing for group xxx that requires enhanced privileges; one of those processings is creating and populating the GROUP LNM table.
(to enable SUBMitting to that username by unpriv'd users, we have a little image installed with CMK, access controlled by ACLs, which does some validatings and if validated then SUBMITs a job under the priv'd user)
Proost.
Have one on me.
jpe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2005 03:04 AM
тАО09-14-2005 03:04 AM
Re: create a group logical name table
You create a named table as in
$ crea/nam/prot=/exec/parent=lnm$system_directory wim$logical_names
Then populate it.
Then during login :
$ def /tab=lnm$process_directory lnm$group wim$logical_names
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2005 03:20 AM
тАО09-14-2005 03:20 AM
Re: create a group logical name table
$ run/uic ='uic' sys$system:loginout.exe/INPUT=DEFINE_LOGICALS.COM
and then DEFINE_LOGICALS.COM has
DEFINE/GROUP name value
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2005 09:31 AM
тАО09-14-2005 09:31 AM
SolutionIf you want to create a group table for a particular group during system startup, all that is required is to run ANY process using ANY UIC within the group. Ian has suggested using that process to define the logical names, but that requires a process with GRPNAM, which may not be practical.
Suppose we want to create and populate a table for group 250:
$ RUN/UIC=[250,0] NL:
Note it's not necessary for there to be a valid username with UIC [250,0], and we're executing the null device, so the process won't do anything. BUT at completion, the table LNM$GROUP_000250 will exist. You can now define logical names from the startup process with:
$ DEFINE/TABLE=LNM$GROUP_000250 name value
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2005 08:52 PM
тАО09-14-2005 08:52 PM
Re: create a group logical name table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2005 09:06 PM
тАО09-14-2005 09:06 PM
Re: create a group logical name table
The advantage of using named tables is that you can put all the logicals of an appliction into 1 table. When the application is shut, you remove the table.
Very clean and not group related. And you give the table to all application users or to everyone (our setup).
Wim