- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Seem to forgot how to add users.
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-21-2004 02:32 AM
06-21-2004 02:32 AM
Seem to forgot how to add users.
I defined
define/system ADMIN$USERS disk0:[vmscommon.sysmgr.admin.users]
in uaf the device is set as ADMIN$USERS
in uaf the direc is set as [.vmendham]
when I login I get to admin$users and not the subdir [.vmendham]
If I set the directory in uaf as [.vmendham]and then do a show, I see admin$users:[sysexe.vmendham].
Any hints or tips?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2004 02:41 AM
06-21-2004 02:41 AM
Re: Seem to forgot how to add users.
define/system/trans=conc ADMIN$USERS disk0:[vmscommon.sysmgr.admin.users.]
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2004 02:57 AM
06-21-2004 02:57 AM
Re: Seem to forgot how to add users.
Now I have to think how I am going to do this on my cluster.
Thanks...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2004 03:02 AM
06-21-2004 03:02 AM
Re: Seem to forgot how to add users.
Can you post here you logical ?
Thanks & regards,
Lokesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2004 03:11 AM
06-21-2004 03:11 AM
Re: Seem to forgot how to add users.
MIKET>SHO LOG ADMIN$USER/FULL
"ADMIN$USER" [super] = "DISK0:[SYS0.SYSCOMMON.SYSMGR.ADMIN.USER.]" (LNM$SYSTEM_TABLE)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2004 03:14 AM
06-21-2004 03:14 AM
Re: Seem to forgot how to add users.
define/system ADMIN$USERS disk0:[vms$common.sysmgr.admin.users]
or
define/system ADMIN$USERS disk0:[sys0.syscommon.sysmgr.admin.users]
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2004 03:26 AM
06-21-2004 03:26 AM
Re: Seem to forgot how to add users.
"Now I have to think how I am going to do this on my cluster"
The logical you posted here or which the Ian has suggested will work clusterwide if you are using common sysuaf.
Sorry if I am not able to get your point,
Thanks & regards,
Lokesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2004 04:53 AM
06-21-2004 04:53 AM
Re: Seem to forgot how to add users.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2004 05:07 AM
06-21-2004 05:07 AM
Re: Seem to forgot how to add users.
what the others wrote WILL work, but should you not do some thinking before that??
In general, it really is NOT advisable to create user (or application-) directories _UNDER_ the system directories!
Leave [SYS0...], [SYSx...], [VMS$COMMON...]
for the operating system itself!
Creating a topdirectory [ADMIN_USERS] on any disk (preferably, but not necessarily another than the system disk) is the way to go.
And if you want to use that as a 'logical' device for your admin users (which you seem to want, and which _IS_ the wisest way to do it!), the you create a "concealed device":
$ DEFINE/SYSTEM/EXECUTIVE/TRANSLATION=CONCEALED-
ADMIN_USERS
Explanation:
/EXEC specifies an inner, more secure mode. If not, several privileged images will refuse to use it, leading to unexpected behavior.
/TRAN=CONC means you are going to use the directory as if it were an independent device. Making liberal use of the construct gives you MUCH more flexibility with future changes/expansions/replacements of your hardware.
Mind the "." after the dir-name, before the "]". It is vital for the functioning of the concealed device construct!
BTW., it is NOT possible to create a concealed device _WITHIN_ a concealed device.
Notice that I replaced your "$" with "_".
Though not strictly prescribed by VMS itself, Digital (Compaq & HP inherited it) has declared it 'good practise' to NEVER use "$"-signs in any private naming. THEY will use it in EVERY logical name, symbol name, & data structure name, so by adhering to the good practise, there will never be any clash with future extensions to VMS.
Nowadays there is a second important reason: any software ported from some *IX will give strange effects, if working at all, when confronted with $'s.
Hope this helps,
Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2004 05:19 AM
06-21-2004 05:19 AM
Re: Seem to forgot how to add users.
It's been some time now when I upgraded a single node to a cluster for a customer. Too bad that the software could not run on the other node, because some paths were hard-wired to [SYS0.SYSMGR.app...]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2004 04:29 PM
06-21-2004 04:29 PM
Re: Seem to forgot how to add users.
User directories as subdirectories of sys$manager?
My stomach gets queasy just thinking about it.
For expansion flexibility you might consider creating "group" device:directory logicals as well even it they point to the same drive/root.
If the accounting types complain that their critical end-of-month reports need more workspace, being used by operations etc, they will gladly find the money to get more drives for their a groups private use. Then it will be easy to shuffle the groups individually as needed.
Keeps the peace during the the end of month crunch.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2004 06:50 PM
06-21-2004 06:50 PM
Re: Seem to forgot how to add users.
On all systems I worked on, the system disk is just what it is: the SYSTEM disk. The only non-system stuff on there is to be used system wide (programming languages, webserver and related software).
User environments and application reside on other disks.
The user environment is a concealed device, contains all home directories for users. Of course, this is defined /SYSTEM/EXEC.
For instance:
DEFINE/SYSTEM/EXEC/TRANS=concealed USER DKB0:[USER.]
In UAF, I can now define device = USER: and directory = [username], so the whole path is USER:[
A similar construction for applications and data.
Each application has it's own root directory setup as a concealed device. Data is either kept within that root, or has a root (concelead device, of course) of its own.
These are /SYSTEM/EXEC as well.
And in startup, there is just one commandprocedure that sets all these logicals. Moving user environment, application or data just involves changing (and running) this procedure.
Willem
OpenVMS Developer & System Manager
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2004 09:43 PM
06-21-2004 09:43 PM
Re: Seem to forgot how to add users.
Irrespective of whether you have a common system disk across all nodes in your cluster or not. Like many of our colleagues have suggested, i would advise that you go in for a seperate user disk.
I have so far not seen or worked on a system that has user directories on system disk....you can say....may be i have been lucky :-)
rgds
Mobeen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2004 04:28 AM
06-22-2004 04:28 AM
Re: Seem to forgot how to add users.
I can create the logical.
I can create the UAF device and dir.
Users can login to their home dirs.
Users can set def to sys$system or sys$manager.
But when they enter set def sys$login, they can not move back as it comes up invalid, if they login once again, they can not create any files as they get the following error.
Username: vmendham
Password:
Welcome to OpenVMS (TM) Alpha Operating System, Version V7.3-1 on node YSJAD1
Last interactive login on Monday, 21-JUN-2004 12:23:04.60
$ sho def
ADMIN_USER:[VMENDHAM]
%DCL-I-INVDEF, ADMIN_USER:[VMENDHAM] does not exist
$
$ create a.a
%CREATE-E-OPENOUT, error opening ADMIN_USER:[VMENDHAM]A.A; as output
-RMS-F-DEV, error in device name or inappropriate device type for operation
$
Any suggestions?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2004 04:47 AM
06-22-2004 04:47 AM
Re: Seem to forgot how to add users.
How exactly are the users dir and device set in SYSUAF?
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2004 05:20 AM
06-22-2004 05:20 AM
Re: Seem to forgot how to add users.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2004 05:28 AM
06-22-2004 05:28 AM
Re: Seem to forgot how to add users.
> Any suggestions?
Yes: Read Jan's earlier reply.
Then re-read it and give it 10 points because it is a perfect answer. Take good note ot that trailing dot in the 'rooted directory spec'.
> I can create the logical.
Doublecheck.
>Users can login to their home dirs.
Those two concept are seperate on VMS.
Yes, you can login, but NO (you later prove that) they have no 'home dir'.
It is perfectly legal to login without valid sys$login default directory
>> $ sho def
ADMIN_USER:[VMENDHAM]
%DCL-I-INVDEF, ADMIN_USER:[VMENDHAM] does not exist
There was your warning! Read it carefully.
> $ create a.a
%CREATE-E-OPENOUT, error opening ADMIN_USER:[VMENDHAM]A.A; as output
-RMS-F-DEV, error in device name or inappropriate device type for operation
And the same problem, but makign it more clear that the problem is with the ADMIN_USER definition, not (yet) with the directory.
Fix that logical, and CREA/DIR ADMIN_USER:[VMENDHAM]/OWN=[VMENDHAM] (or something like that.
hth,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2004 07:53 AM
06-22-2004 07:53 AM
Re: Seem to forgot how to add users.
I found if I remove the /EXEC from the logical it all works fine.
Many Thanks....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2004 08:32 AM
06-22-2004 08:32 AM
Re: Seem to forgot how to add users.
it _WORKS_ if you _REMOVE_ /EXEC?????
a. Check whether your DEFINEs really are COMPLETELY identical (except for the /EXEC) I find it hard to believe it WORKS without /exec, and then NOT if you add /exec.
b. If you defined it without /exec, try sending MAIL to the user, and reading it. (at least up intil V6.2) MAIL is one of the various utilities that require(d?) the device definitions to be exec mode, and about the easiest to test.
I will run some tests to verify your working/not working for a concealed device in user/exec mode, just to remove my 1% doubt (will be tomorrow though).
Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2004 05:20 PM
06-22-2004 05:20 PM
Re: Seem to forgot how to add users.
Here's a small command procedure to help define concealed logical names. It will resolve any logical names first (including nested concealed logical names)
For Victor's case it would be:
$ @DEFINE_CONCEALED ADMIN$USERS -
DISK0:[VMSCOMMON.SYSMGR.ADMIN.USERS] -
/SYSTEM/EXEC
I echo other's warnings about placing user directories anywhere within the system disk structure!
Beware of wrapping - lines have been shortened to accomodate ITRC, but there may
be errors introduced by formatting.
DEFINE_CONCEALED.COM
$ IF p1.EQS."" THEN -
INQUIRE p1 "Logical name"
$ IF p2.EQS."" THEN -
INQUIRE p2 "Directory"
$ ! p3 = extra DEFINE qualifiers
$ !
$ Conc=F$TRNLNM(F$PARSE(p2,,,"DEVICE")-":")
$ IF F$LOCATE("<",Conc).LT.F$LENGTH(Conc)
$ THEN
$ l="<"
$ r=">"
$ ELSE
$ l="["
$ r="]"
$ ENDIF
$ trans=(F$PARSE(p2,,,"DEVICE","NO_CONCEAL")+-
F$PARSE(p2,l+"000000"+r,,- "DIRECTORY","NO_CONCEAL"))--
(r+l)-("000000"+r)-("."+r)+-
"*"-".*"-"*"-r+("."+r)-(l+"."+r)
$ DEFINE 'p3' -
/TRANSLATION=(TERMINAL,CONCEALED) -
'p1' 'trans'
$ EXIT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2004 05:55 PM
06-22-2004 05:55 PM
Re: Seem to forgot how to add users.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2004 08:21 PM
06-22-2004 08:21 PM
Re: Seem to forgot how to add users.
that was also the explenation I cooked up after leaving connectivity.
Victor,
if U/user mode and /exec mode BOTH exist, AND have a different meaning, then, in any normal execution the /user mode will be used, but, for some protected code, user mode is ignored, and exec (or maybe kernel) mode only is seen.
So, having a user mode logical which syntactically is incorrect, and a correct exec mode, most code will fail. Then you do the define again without /exec, this redefines the user mode logical to syntactically correct, and now it works.
Something like that must have happened, I guess.
Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2004 08:23 PM
06-22-2004 08:23 PM
Re: Seem to forgot how to add users.
"A trap for the unwary is that concealed logical names must be comprised of PHYSICAL device names"
I thought this was only true if the terminal attribute was present for the logical name.
Eg.
$ sh log foo /fu
"FOO" [super] = "SYS$SYSDEVICE:[SYS0.]" [concealed] (LNM$PROCESS_TABLE)
$ DIR FOO:[SYSMGR]
does work.
$ sh log foo /fu
"FOO" [super] = "SYS$SYSDEVICE:[SYS0.]" [concealed,terminal] (LNM$PROCESS_TABLE)
$ DIR FOO:[SYSMGR]
does not work.
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2004 08:33 PM
06-22-2004 08:33 PM
Re: Seem to forgot how to add users.
This is why John says that the concealed must reference a physical disk, and not a concealed device.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2004 08:39 PM
06-22-2004 08:39 PM
Re: Seem to forgot how to add users.
until somewhere around V6 you are completely correct.
Since the, the need for concealed devices to be defined with translation_attribute /TERMINAL has been lifted. Of course, being VMS, it has not been removed since that could break existing code.
That is, it is now fully functional to define a concealed logical as
DISKA:[topdir.subdir.]
where DISKA is a (again concealed!!) logical name for DSA111, or DKB105.
Only limitation (which I would love to see lifted as well!!!) is that the device (DISKA in this example) must be a logical name that may NOT have a directory in its evaluation ( = recursive translation down to fysical name).
So, the need for you DEFINE_CONCEALED.COM has become much less.
It still has a function of course in defining concealed devices within rooted concealed devices (which is still lacking as a straightforward construct).
Janin