Discussion:
Logical Name - remove with deassign and executive mode
(too old to reply)
Jim
2021-10-21 14:57:44 UTC
Permalink
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
HCorte
2021-10-21 15:19:10 UTC
Permalink
Post by Jim
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.
Simon Clubley
2021-10-21 17:55:08 UTC
Permalink
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, ***@remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.
Loading...