- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: duplicate name error in rights database when I...
Operating System - OpenVMS
1823143
Members
3575
Online
109647
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
Forums
Discussions
юдл
back
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
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО11-16-2006 04:11 AM
тАО11-16-2006 04:11 AM
Hi,
I have a username called "smsc"
I want to modify the system prompt from
PA41:[100,1]>
to.....
PA41:smsc>
I attempted the following to update the user identifier to a text value, hoping that it would appear in the prompt on login
UAF> add /identifier /user=[100,1]
%UAF-E-RDBADDERRU, unable to add SMSC value [000100,000001] to rights database
-SYSTEM-F-DUPLNAM, duplicate name
When I run the following two commands I noticed that the UIC numbers are not consistent .
SYSTEM> mc authorize show smsc
Username: SMSC Owner:
Account: UIC: [100,1] ([100,1])
UAF> show smsc /identifier
Name Value Attributes
SMSC [000100,177777]
Anyone have any idea what is happening here and how I can rectify it. I think its something to do with the rights database not being consistent with the sysuaf file?!??!
Very much appreciated
Steve
I have a username called "smsc"
I want to modify the system prompt from
PA41:[100,1]>
to.....
PA41:smsc>
I attempted the following to update the user identifier to a text value, hoping that it would appear in the prompt on login
UAF> add /identifier /user=[100,1]
%UAF-E-RDBADDERRU, unable to add SMSC value [000100,000001] to rights database
-SYSTEM-F-DUPLNAM, duplicate name
When I run the following two commands I noticed that the UIC numbers are not consistent .
SYSTEM> mc authorize show smsc
Username: SMSC Owner:
Account: UIC: [100,1] ([100,1])
UAF> show smsc /identifier
Name Value Attributes
SMSC [000100,177777]
Anyone have any idea what is happening here and how I can rectify it. I think its something to do with the rights database not being consistent with the sysuaf file?!??!
Very much appreciated
Steve
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-16-2006 04:50 AM
тАО11-16-2006 04:50 AM
Solution
Hi
The value SMSC [000100,177777] indicates that this identifier has been defined as:
UAF>add/id smsc/val=uic:[100,*]
Generally to indicates a user group.
To solve this problem yo can remove this identifier and after add this new.
UAF>add/id smsc/val=uic:[100,1]
For the system prompt you can use on login.com this command:
$prompt="PA41:"+f$edit(f$getjpi("","username"),"collapse")+">"
$set prompt='prompt'
The value SMSC [000100,177777] indicates that this identifier has been defined as:
UAF>add/id smsc/val=uic:[100,*]
Generally to indicates a user group.
To solve this problem yo can remove this identifier and after add this new.
UAF>add/id smsc/val=uic:[100,1]
For the system prompt you can use on login.com this command:
$prompt="PA41:"+f$edit(f$getjpi("","username"),"collapse")+">"
$set prompt='prompt'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-16-2006 05:09 AM
тАО11-16-2006 05:09 AM
Re: duplicate name error in rights database when I add identifier
Steve,
to start with:
Welcome to the ITRC VMS forum!
A number of issues have apparently come together here.
1) UAF> show smsc /identifier
Name Value Attributes
SMSC [000100,177777]
so, SMSC is the NAME (identifier for) the UIC _GROUP_ 100
You can verify this by
UAF> SHO /IDENT/VALU=UIC:[100,*]
-- the value for "*" is represented by the member high_value.
So, (barring explicitly specified entry) the FIRST username you entered with group UIC 100 was specified for ACCOUNT SMSC.
-- IF a user is added to a not-yet-populated group, AND an account name is specified, which is NOT yet an identiefier name, THEN the identifier is added, with RESOURCE attribute, and UIC-format value [
2) If a username is added, with an unused UIC, AND A NAME THAT IS NOT YET AN IDENTIEFIER, then that username is entered as identifier, with the UIC as value.
(If an existing UIC is used, by default the UIC identifier gets renamed to the new username. Can be overridden by /NOADD_IDENT)
3) you start your question with:
I have a username called "smsc"
I want to modify the system prompt from
PA41:[100,1]>
Obviously you somehow set the promt to the user identification (I guess PA41 is your nodename? Not that important for this discussion though)
You need to find out HOW you get this value in. I CAN think of some ways, but none are as simple as
$ node=f$getsyi("nodename")
$ user=f$edit(f$getjpi("","username"),"trim")
$ set prompt="''node'''user'>"
(to distinguish double quotes and apostrophies is the Forum rendering, please cut-&-paste into any non-proportional font, eg EDT, or even Notepad)
hth
Proost.
Have one on me.
jpe
to start with:
Welcome to the ITRC VMS forum!
A number of issues have apparently come together here.
1) UAF> show smsc /identifier
Name Value Attributes
SMSC [000100,177777]
so, SMSC is the NAME (identifier for) the UIC _GROUP_ 100
You can verify this by
UAF> SHO /IDENT/VALU=UIC:[100,*]
-- the value for "*" is represented by the member high_value.
So, (barring explicitly specified entry) the FIRST username you entered with group UIC 100 was specified for ACCOUNT SMSC.
-- IF a user is added to a not-yet-populated group, AND an account name is specified, which is NOT yet an identiefier name, THEN the identifier
2) If a username is added, with an unused UIC, AND A NAME THAT IS NOT YET AN IDENTIEFIER, then that username is entered as identifier, with the UIC as value.
(If an existing UIC is used, by default the UIC identifier gets renamed to the new username. Can be overridden by /NOADD_IDENT)
3) you start your question with:
I have a username called "smsc"
I want to modify the system prompt from
PA41:[100,1]>
Obviously you somehow set the promt to the user identification (I guess PA41 is your nodename? Not that important for this discussion though)
You need to find out HOW you get this value in. I CAN think of some ways, but none are as simple as
$ node=f$getsyi("nodename")
$ user=f$edit(f$getjpi("","username"),"trim")
$ set prompt="''node'''user'>"
(to distinguish double quotes and apostrophies is the Forum rendering, please cut-&-paste into any non-proportional font, eg EDT, or even Notepad)
hth
Proost.
Have one on me.
jpe
Don't rust yours pelled jacker to fine doll missed aches.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-16-2006 09:39 PM
тАО11-16-2006 09:39 PM
Re: duplicate name error in rights database when I add identifier
Thank you for the detailed responses. Its made it an awful lot clearer. By removing the identifier and adding it again . It worked !
Kind Regards
Steve
Kind Regards
Steve
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP