Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

1: No code table for op: ++post


computers / comp.os.vms / Logical Name - remove with deassign and executive mode

SubjectAuthor
* Logical Name - remove with deassign and executive modeHCorte
+* Re: Logical Name - remove with deassign and executive modeJim
|`- Re: Logical Name - remove with deassign and executive modeHCorte
+- Re: Logical Name - remove with deassign and executive modeStephen Hoffman
`* Re: Logical Name - remove with deassign and executive modeSimon Clubley
 `- Re: Logical Name - remove with deassign and executive modeDave Froble

1
Logical Name - remove with deassign and executive mode

<9a40dd70-cc15-4df1-8ae0-40fb59ed6169n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=18162&group=comp.os.vms#18162

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:620a:31a0:: with SMTP id bi32mr4790884qkb.439.1634827470666;
Thu, 21 Oct 2021 07:44:30 -0700 (PDT)
X-Received: by 2002:ac8:5a4d:: with SMTP id o13mr6598603qta.330.1634827470499;
Thu, 21 Oct 2021 07:44:30 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Thu, 21 Oct 2021 07:44:30 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=89.115.249.100; posting-account=HDxk_QoAAABHOnxohqRjEL16UDUgop5K
NNTP-Posting-Host: 89.115.249.100
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <9a40dd70-cc15-4df1-8ae0-40fb59ed6169n@googlegroups.com>
Subject: Logical Name - remove with deassign and executive mode
From: hmmbco...@gmail.com (HCorte)
Injection-Date: Thu, 21 Oct 2021 14:44:30 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 18
 by: HCorte - Thu, 21 Oct 2021 14:44 UTC

After creating a logical name "olmteste"

define/exec olmteste "teste"

tried to remove with "deassign olmteste" but returning
%SYSTEM-F-NOLOGNAM, no logical name match

sh log olmteste
"OLMTESTE" = "teste" (LNM$PROCESS_TABLE)

The logical name is in the process_table that's the default table that the deassign search's so shouldn't need to specify the table "deassign/process olmteste" but even specifying get the same message of no match.

when close the console that logical name is removed as expected since its in the process table.

Just don't get why can't remove manualy with deassign, when with supervisor mode can remove without a probleam.

Note: tried in eisner.decus.org and even with executive mode could remove with sucess using deassign, so assuming that the environment that made the test must have some extra validation in deassign but just a guess.

does exists a default command procedure or file that can have some personalized rules for deassign remove of logical names?

Re: Logical Name - remove with deassign and executive mode

<f70577c1-59cd-4d65-8b25-e77739102cdfn@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=18163&group=comp.os.vms#18163

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:ac8:7fd5:: with SMTP id b21mr3630975qtk.101.1634828264671;
Thu, 21 Oct 2021 07:57:44 -0700 (PDT)
X-Received: by 2002:a05:6214:300d:: with SMTP id ke13mr5347666qvb.54.1634828264517;
Thu, 21 Oct 2021 07:57:44 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Thu, 21 Oct 2021 07:57:44 -0700 (PDT)
In-Reply-To: <9a40dd70-cc15-4df1-8ae0-40fb59ed6169n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=204.115.183.4; posting-account=Cx45xwoAAAD0NLqIo3_yGuVPeDAcfc14
NNTP-Posting-Host: 204.115.183.4
References: <9a40dd70-cc15-4df1-8ae0-40fb59ed6169n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <f70577c1-59cd-4d65-8b25-e77739102cdfn@googlegroups.com>
Subject: Re: Logical Name - remove with deassign and executive mode
From: mckinn...@leidos.com (Jim)
Injection-Date: Thu, 21 Oct 2021 14:57:44 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 16
 by: Jim - Thu, 21 Oct 2021 14:57 UTC

On Thursday, October 21, 2021 at 10:44:32 AM UTC-4, HCorte wrote:
> After creating a logical name "olmteste"
>
> define/exec olmteste "teste"
>
> tried to remove with "deassign olmteste" but returning
> %SYSTEM-F-NOLOGNAM, no logical name match
>
> sh log olmteste
> "OLMTESTE" = "teste" (LNM$PROCESS_TABLE)
>
> The logical name is in the process_table that's the default table that the deassign search's so shouldn't need to specify the table "deassign/process olmteste" but even specifying get the same message of no match.
>

Default is supervisor mode... yours is executive mode, so you need to indicate that when deassigning.

$ deassign/executive_mode olmteste

Re: Logical Name - remove with deassign and executive mode

<8b0c69ee-5213-4262-ab38-7a79706c4db9n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=18164&group=comp.os.vms#18164

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:ae9:eb8a:: with SMTP id b132mr4952914qkg.497.1634829551286;
Thu, 21 Oct 2021 08:19:11 -0700 (PDT)
X-Received: by 2002:ac8:5a01:: with SMTP id n1mr6464176qta.77.1634829551042;
Thu, 21 Oct 2021 08:19:11 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Thu, 21 Oct 2021 08:19:10 -0700 (PDT)
In-Reply-To: <f70577c1-59cd-4d65-8b25-e77739102cdfn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=89.115.249.100; posting-account=HDxk_QoAAABHOnxohqRjEL16UDUgop5K
NNTP-Posting-Host: 89.115.249.100
References: <9a40dd70-cc15-4df1-8ae0-40fb59ed6169n@googlegroups.com> <f70577c1-59cd-4d65-8b25-e77739102cdfn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <8b0c69ee-5213-4262-ab38-7a79706c4db9n@googlegroups.com>
Subject: Re: Logical Name - remove with deassign and executive mode
From: hmmbco...@gmail.com (HCorte)
Injection-Date: Thu, 21 Oct 2021 15:19:11 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 25
 by: HCorte - Thu, 21 Oct 2021 15:19 UTC

A quinta-feira, 21 de outubro de 2021 à(s) 15:57:45 UTC+1, Jim escreveu:
> On Thursday, October 21, 2021 at 10:44:32 AM UTC-4, HCorte wrote:
> > After creating a logical name "olmteste"
> >
> > define/exec olmteste "teste"
> >
> > tried to remove with "deassign olmteste" but returning
> > %SYSTEM-F-NOLOGNAM, no logical name match
> >
> > sh log olmteste
> > "OLMTESTE" = "teste" (LNM$PROCESS_TABLE)
> >
> > The logical name is in the process_table that's the default table that the deassign search's so shouldn't need to specify the table "deassign/process olmteste" but even specifying get the same message of no match.
> >
> Default is supervisor mode... yours is executive mode, so you need to indicate that when deassigning.
>
> $ deassign/executive_mode olmteste

Thanks Jim,

that's it got the wrong edia... that only needed to specify the table only in case it wasn't default one "process" in use.

Re: Logical Name - remove with deassign and executive mode

<sks2r7$b6u$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=18165&group=comp.os.vms#18165

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: seaoh...@hoffmanlabs.invalid (Stephen Hoffman)
Newsgroups: comp.os.vms
Subject: Re: Logical Name - remove with deassign and executive mode
Date: Thu, 21 Oct 2021 12:00:39 -0400
Organization: HoffmanLabs LLC
Lines: 79
Message-ID: <sks2r7$b6u$1@dont-email.me>
References: <9a40dd70-cc15-4df1-8ae0-40fb59ed6169n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: reader02.eternal-september.org; posting-host="e6f38c098497fd73d5fca99277da4234";
logging-data="11486"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+oMM6bR1eYDEDFcfagxQma1HMq5teyFoM="
User-Agent: Unison/2.2
Cancel-Lock: sha1:D/I0rAuuN0Sg7rF5HF0Y6Oz329k=
 by: Stephen Hoffman - Thu, 21 Oct 2021 16:00 UTC

On 2021-10-21 14:44:30 +0000, HCorte said:

> After creating a logical name "olmteste"
> ...
> does exists a default command procedure or file that can have some
> personalized rules for deassign remove of logical names?

Logical names can translate from any table in the default list of
logical name tables and in the table order specified, and translated
from modes in ascending order of least to most privilege in each table.

First translation wins, the rest get ignored.

Creation and deletion of privileged-mode logical names involves
privileges (CMEXEC, CMKRNL, etc), and involves explicit specification
of mode.

If the logical name is not in the default searchlist of tables, the
table of residence will need be explicitly specified.

Logical name translations can be restricted to trusted modes by
explicit request (usually for security), or by operating in certain
trusted contexts (for security), or by selecting a list of tables to
translate from. This because the first translation wins, which can be
entirely untrusted and least-privileged translation if not otherwise
restricted during the logical name translation request.

Logical name tables can be protected by protection
(S:RWED,O:RWED,G:RWED,W:RWED) bitmask and by access control list. The
tables are considered security objects, for the purpose of OpenVMS
security.

Logical name translations have a chaotic little feature of ignoring
leading underscores in various translation contexts, sort of. This was
supposedly a means to restrict translations to physical devices (which
can have a leading underscore), but it doesn't work that way now. The
overhaul at VAX/VMS V4.0 didn't fully implement what earlier and
simpler logical name implementations had provided here: in earlier
versions, a leading underscore had stopped translations. Now that's
sorta-kinda the concealed and terminate options on the logical name
definition.

This whole area all works rather similar to the logical-name based
searchlist logical names used for the system disk too, with the added
wrinkle of needing to create directories in each translation lest
errors arise for some operations. You read from all translations, you
write to the first translation. (This is how inexperienced cluster
system administrators can fill their cluster roots with files too,
while intending to share the files from within the common root.) To
get these to work, parallel the translation options on SYS$SYSROOT and
related translations, as the correct operation of searchlist logical
names are entirely dependent on the specified translation options.

Logical names are a bad means of providing configuration information to
apps past temporary and transient device and file redirections, not
that OpenVMS has looked at this area since VAX/VMS V4.0 or so, and not
that OpenVMS has really looked at app-level context APIs and features
for that matter. Logical names for app management purposes past device
and file redirections do have virtue of being simple for the developer
to start using and harder to properly implement and far harder quit,
which is why we've been enjoying bad app configuration management
interfaces ~everywhere on OpenVMS for decades. Once you see how awful
logical names really are as compared with purpose-built app
configuration APIs, seeing the logical names used everywhere is...
frustrating.

I'd suggest having a look at the OpenVMS User's Manual and the OpenVMS
Programming Concepts manuals for some background in the lower-level
platform features. The manuals are scattershot around coverage of
specific topic areas, such as logical names; "recipe" or "cookbook"
stuff from that era was usually provided over in the support database,
and that material was slowly or variously never incorporated into the
documentation information design.

--
Pure Personal Opinion | HoffmanLabs LLC

Re: Logical Name - remove with deassign and executive mode

<sks9hs$i8$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=18168&group=comp.os.vms#18168

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: Logical Name - remove with deassign and executive mode
Date: Thu, 21 Oct 2021 17:55:08 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <sks9hs$i8$1@dont-email.me>
References: <9a40dd70-cc15-4df1-8ae0-40fb59ed6169n@googlegroups.com>
Injection-Date: Thu, 21 Oct 2021 17:55:08 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="98d13aea3c38d7de0dca7178108c08f9";
logging-data="584"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/uvP/GyYty0yAIdMMk3pgVwcXVHfiZf+k="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:0jBpkh8lIJrAxE21obvsq2E1ljI=
 by: Simon Clubley - Thu, 21 Oct 2021 17:55 UTC

On 2021-10-21, HCorte <hmmbcorte@gmail.com> wrote:
>
> Note: tried in eisner.decus.org and even with executive mode could remove with sucess using deassign, so assuming that the environment that made the test must have some extra validation in deassign but just a guess.
>

Assuming you are not privileged on Eisner, it wasn't created as an
executive mode logical, but it was silently converted to a supervisor
mode logical.

Personally, I think you should get a not sufficiently privileged error
message in that case and not a silent conversion to supervisor mode.

If you could create an executive mode logical that you control as
a non-privileged user, then congratulations, you would have earned
yourself a CVE number. :-)

Simon.

--
Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.

Re: Logical Name - remove with deassign and executive mode

<skshkb$jc3$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=18169&group=comp.os.vms#18169

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: Logical Name - remove with deassign and executive mode
Date: Thu, 21 Oct 2021 16:12:51 -0400
Organization: A noiseless patient Spider
Lines: 33
Message-ID: <skshkb$jc3$1@dont-email.me>
References: <9a40dd70-cc15-4df1-8ae0-40fb59ed6169n@googlegroups.com>
<sks9hs$i8$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 21 Oct 2021 20:12:59 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="109636508e62c472b74b491c690acc88";
logging-data="19843"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+M/hVihmUuCvRhjU6uxiV+H34rdYYjUTs="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:SHSm+bSDBvCJKPQqyKlkvxkCLuY=
In-Reply-To: <sks9hs$i8$1@dont-email.me>
 by: Dave Froble - Thu, 21 Oct 2021 20:12 UTC

On 10/21/2021 1:55 PM, Simon Clubley wrote:
> On 2021-10-21, HCorte <hmmbcorte@gmail.com> wrote:
>>
>> Note: tried in eisner.decus.org and even with executive mode could remove with sucess using deassign, so assuming that the environment that made the test must have some extra validation in deassign but just a guess.
>>
>
> Assuming you are not privileged on Eisner, it wasn't created as an
> executive mode logical, but it was silently converted to a supervisor
> mode logical.
>
> Personally, I think you should get a not sufficiently privileged error
> message in that case and not a silent conversion to supervisor mode.
>
> If you could create an executive mode logical that you control as
> a non-privileged user, then congratulations, you would have earned
> yourself a CVE number. :-)
>
> Simon.
>

Some years ago (many) there was an interesting upgrade for DCL request.

"Do what I mean, not what I type" ...

DCL should have kicked the define statement back as an error, since the OP
did not have EXEC privs, and added the /EXEC switch.

--
David Froble Tel: 724-529-0450
Dave Froble Enterprises, Inc. E-Mail: davef@tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA 15486

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor