<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic duplicate name error in rights database when I add identifier in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/duplicate-name-error-in-rights-database-when-i-add-identifier/m-p/3899614#M10981</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have a username called "smsc"&lt;BR /&gt;&lt;BR /&gt;I want to modify the system prompt from &lt;BR /&gt;&lt;BR /&gt;PA41:[100,1]&amp;gt;&lt;BR /&gt;&lt;BR /&gt;to.....&lt;BR /&gt;&lt;BR /&gt;PA41:smsc&amp;gt;&lt;BR /&gt;&lt;BR /&gt;I attempted the following to update the user identifier to a text value, hoping that it would appear in the prompt on login &lt;BR /&gt;&lt;BR /&gt;UAF&amp;gt; add /identifier /user=[100,1]&lt;BR /&gt;%UAF-E-RDBADDERRU, unable to add SMSC value [000100,000001] to rights database&lt;BR /&gt;-SYSTEM-F-DUPLNAM, duplicate name&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;When I run the following two commands I noticed that the UIC numbers are not consistent .&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;SYSTEM&amp;gt; mc authorize show smsc&lt;BR /&gt;Username: SMSC                             Owner:&lt;BR /&gt;Account:                                   UIC:    [100,1] ([100,1])&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;UAF&amp;gt; show smsc /identifier&lt;BR /&gt;  Name                             Value           Attributes&lt;BR /&gt;  SMSC                             [000100,177777]&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;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?!??!&lt;BR /&gt;&lt;BR /&gt;Very much appreciated &lt;BR /&gt;Steve</description>
    <pubDate>Thu, 16 Nov 2006 12:11:18 GMT</pubDate>
    <dc:creator>stevec123</dc:creator>
    <dc:date>2006-11-16T12:11:18Z</dc:date>
    <item>
      <title>duplicate name error in rights database when I add identifier</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/duplicate-name-error-in-rights-database-when-i-add-identifier/m-p/3899614#M10981</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have a username called "smsc"&lt;BR /&gt;&lt;BR /&gt;I want to modify the system prompt from &lt;BR /&gt;&lt;BR /&gt;PA41:[100,1]&amp;gt;&lt;BR /&gt;&lt;BR /&gt;to.....&lt;BR /&gt;&lt;BR /&gt;PA41:smsc&amp;gt;&lt;BR /&gt;&lt;BR /&gt;I attempted the following to update the user identifier to a text value, hoping that it would appear in the prompt on login &lt;BR /&gt;&lt;BR /&gt;UAF&amp;gt; add /identifier /user=[100,1]&lt;BR /&gt;%UAF-E-RDBADDERRU, unable to add SMSC value [000100,000001] to rights database&lt;BR /&gt;-SYSTEM-F-DUPLNAM, duplicate name&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;When I run the following two commands I noticed that the UIC numbers are not consistent .&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;SYSTEM&amp;gt; mc authorize show smsc&lt;BR /&gt;Username: SMSC                             Owner:&lt;BR /&gt;Account:                                   UIC:    [100,1] ([100,1])&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;UAF&amp;gt; show smsc /identifier&lt;BR /&gt;  Name                             Value           Attributes&lt;BR /&gt;  SMSC                             [000100,177777]&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;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?!??!&lt;BR /&gt;&lt;BR /&gt;Very much appreciated &lt;BR /&gt;Steve</description>
      <pubDate>Thu, 16 Nov 2006 12:11:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/duplicate-name-error-in-rights-database-when-i-add-identifier/m-p/3899614#M10981</guid>
      <dc:creator>stevec123</dc:creator>
      <dc:date>2006-11-16T12:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: duplicate name error in rights database when I add identifier</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/duplicate-name-error-in-rights-database-when-i-add-identifier/m-p/3899615#M10982</link>
      <description>Hi &lt;BR /&gt;The value SMSC [000100,177777] indicates that this identifier has been defined as:&lt;BR /&gt;UAF&amp;gt;add/id smsc/val=uic:[100,*]&lt;BR /&gt;&lt;BR /&gt;Generally to indicates a user group.&lt;BR /&gt;&lt;BR /&gt;To solve this problem yo can remove this identifier and after add this new.&lt;BR /&gt;UAF&amp;gt;add/id smsc/val=uic:[100,1]&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;For the system prompt you can use on login.com this command:&lt;BR /&gt;&lt;BR /&gt;$prompt="PA41:"+f$edit(f$getjpi("","username"),"collapse")+"&amp;gt;"&lt;BR /&gt;$set prompt='prompt'</description>
      <pubDate>Thu, 16 Nov 2006 12:50:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/duplicate-name-error-in-rights-database-when-i-add-identifier/m-p/3899615#M10982</guid>
      <dc:creator>Daniel Fernandez Illan</dc:creator>
      <dc:date>2006-11-16T12:50:30Z</dc:date>
    </item>
    <item>
      <title>Re: duplicate name error in rights database when I add identifier</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/duplicate-name-error-in-rights-database-when-i-add-identifier/m-p/3899616#M10983</link>
      <description>Steve,&lt;BR /&gt;&lt;BR /&gt;to start with:&lt;BR /&gt;&lt;BR /&gt;Welcome to the ITRC VMS forum!&lt;BR /&gt;&lt;BR /&gt;A number of issues have apparently come together here.&lt;BR /&gt;&lt;BR /&gt;1) UAF&amp;gt; show smsc /identifier&lt;BR /&gt;Name Value Attributes&lt;BR /&gt;SMSC [000100,177777]&lt;BR /&gt;&lt;BR /&gt;so, SMSC is the NAME (identifier for) the UIC _GROUP_ 100&lt;BR /&gt;&lt;BR /&gt;You can verify this by&lt;BR /&gt;UAF&amp;gt; SHO /IDENT/VALU=UIC:[100,*]&lt;BR /&gt;-- the value for "*" is represented by the member high_value.&lt;BR /&gt;&lt;BR /&gt;So, (barring explicitly specified entry) the FIRST username you entered with group UIC 100 was specified for ACCOUNT SMSC.&lt;BR /&gt;-- 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 &lt;ACCOUNT-NAME&gt; is added, with RESOURCE attribute, and UIC-format value [&lt;GRPNUMBER&gt;&lt;/GRPNUMBER&gt;&lt;BR /&gt;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.&lt;BR /&gt;(If an existing UIC is used, by default the UIC identifier gets renamed to the new username. Can be overridden by /NOADD_IDENT)&lt;BR /&gt;&lt;BR /&gt;3) you start your question with: &lt;BR /&gt;&lt;BR /&gt;I have a username called "smsc"&lt;BR /&gt;&lt;BR /&gt;I want to modify the system prompt from &lt;BR /&gt;&lt;BR /&gt;PA41:[100,1]&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Obviously you somehow set the promt to the user identification (I guess PA41 is your nodename? Not that important for this discussion though)&lt;BR /&gt;&lt;BR /&gt;You need to find out HOW you get this value in. I CAN think of some ways, but none are as simple as&lt;BR /&gt;&lt;BR /&gt;$ node=f$getsyi("nodename")&lt;BR /&gt;$ user=f$edit(f$getjpi("","username"),"trim")&lt;BR /&gt;$ set prompt="''node'''user'&amp;gt;"&lt;BR /&gt;&lt;BR /&gt;(to distinguish double quotes and apostrophies is the Forum rendering, please cut-&amp;amp;-paste into any non-proportional font, eg EDT, or even Notepad)&lt;BR /&gt;&lt;BR /&gt;hth&lt;BR /&gt;&lt;BR /&gt;Proost.&lt;BR /&gt;&lt;BR /&gt;Have one on me.&lt;BR /&gt;&lt;BR /&gt;jpe&lt;/ACCOUNT-NAME&gt;</description>
      <pubDate>Thu, 16 Nov 2006 13:09:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/duplicate-name-error-in-rights-database-when-i-add-identifier/m-p/3899616#M10983</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2006-11-16T13:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: duplicate name error in rights database when I add identifier</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/duplicate-name-error-in-rights-database-when-i-add-identifier/m-p/3899617#M10984</link>
      <description>Thank you for the detailed responses. Its made it an awful lot clearer. By removing the identifier and adding it again . It worked !&lt;BR /&gt;&lt;BR /&gt;Kind Regards&lt;BR /&gt;Steve</description>
      <pubDate>Fri, 17 Nov 2006 05:39:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/duplicate-name-error-in-rights-database-when-i-add-identifier/m-p/3899617#M10984</guid>
      <dc:creator>stevec123</dc:creator>
      <dc:date>2006-11-17T05:39:36Z</dc:date>
    </item>
  </channel>
</rss>

