Hi Arco,
Some more mumbling and opinions on my part
On Windows all "Administrators" are not equal
With Win3.1, Win95 & friends you were the boss of the machine as a user
Then with NT and it's follow-ons the User was a mere runner of programs and
the Administrator ids were all powerful like on Win3.1 so folks would just
run as Admin all the time.
Now with Win10 for example even if you are using an Administrator id it for
the most part runs as a user. You can then do the Run-As-Administrator
thing to elevate (sudo-ish?) and do admin tasks. Or you might get prompted
to run a task as admin. BUT, you can do stuff like turn down the UAC so
that you can run admin tasks without elevation and even poke files into
protected directories, but not update existing files so configs can get
unintentionally messed up - this can lead to issues like RDI licenses
becoming nodelocked
So be good, use Admin for admin tasks only and you will be fine, most of
the time ;)
Mike Hockings, M.Eng., P.Eng.
DevOps for Enterprise
IBM Developer for z Systems and Power Systems Software Technical Support
IBM Canada Ltd. Laboratory
hockings@xxxxxxxxxx
voice 1-905-413-3199 T/L 313-3199 ITN 23133199
From: Arco Simonse <arco400@xxxxxxxxx>
To: "Rational Developer for IBM i / Websphere Development Studio
Client for System i & iSeries" <wdsci-l@xxxxxxxxxxxxxxxxxx>
Date: 2019/02/13 16:45
Subject: Re: [WDSCI-L] Is it possible to change the language settings
for iSphere?
Sent by: "WDSCI-L" <wdsci-l-bounces@xxxxxxxxxxxxxxxxxx>
Hi Mike,
Thank you for those clarifications. Maybe I'm missing something
obvious, but I believe that I just work the way you advise.
We are not member of local administrator group. When I daily use RDi,
it is always started in the normal way, not elevated.
When I need to add a plugin, or update something in the config, I
always close RDi and reopen elevated. That has always worked well.
Until now that I wanted to add this language parameter to the
shortcut. When I added that initially, I probably may not have started
RDi in elevated mode, probably then there lies the root cause?
Regards,
-Arco
Op wo 13 feb. 2019 om 22:12 schreef Mike Hockings <hockings@xxxxxxxxxx>:
Just some random-ish mumbling that may or may not be 100% correct and are
at best just my opinion FWIW ...
Run-As-Administrator is not some sort of snake-oil curative, really. If
your config is so messed that R-A-A is a "fix" then maybe you need to
consider installing things as a user so that there is no authority
issues.
Yes, Windows' way of protecting programs from malicious software is, um,
unusual. So, you will find odd things when the UAC is turned up when as
a
normal user you modify an eclipse.ini, save it then look at it and it is
unchanged (presumably the same for shortcuts). This is because, as I
understand it anyway, Windows will write the change but to some shadow
directory structure and leaves the original file unchanged. This same
behaviour leads to nodlocked licenses if you apply an Activation Kit with
the UAC turned down so that you can start IM without error from the RDI
menu. So you get no warning that it is not elevated but it can't change
files in C:\ProgramData\*, just add them...
So, you want to modify a shortcut, copy-paste it to someplace write-abe
(your desktop?) then make the change. Same with the eclipse.ini, copy it
to your desktop, change it then copy it back and click through the
dialogs
to do the replace thing.
If you run RDI as admin all the time that means that it and all those
plugins that you have installed from wherever have the ability to make
whatever change it wants on your machine without asking - think about
where
that could lead ...
The bottom line is that you should only use admin auth to make changes to
your machine, want to add a plugin to RDI, start it as admin, add the
plugin then stop it and restart normally. On Windows always start IM
from
the Start menu so that it is properly elevated.
Feel free to ignore all this though - it is the internet and you can't
trust it
Mike Hockings
--
This is the Rational Developer for IBM i / Websphere Development Studio
Client for System i & iSeries (WDSCI-L) mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.midrange.com_mailman_listinfo_wdsci-2Dl&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=wo0uDJijITU2f7aW2HWa1KiNWzc2cb7dgMN4W-85iwI&m=4--u2KwXRJoC3jJ62WW8pbNEolXcmQ60HdkeRYBnlrk&s=tmn4hXluRl3Q278vJ_0vNnor-eTaWV4RpmyqzT2d_P4&e=
or email: WDSCI-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
https://urldefense.proofpoint.com/v2/url?u=https-3A__archive.midrange.com_wdsci-2Dl&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=wo0uDJijITU2f7aW2HWa1KiNWzc2cb7dgMN4W-85iwI&m=4--u2KwXRJoC3jJ62WW8pbNEolXcmQ60HdkeRYBnlrk&s=jUaAsnOYu0GaR8ifmUB2vD1zyYfd4FtHdVouoywc2BA&e=
.
Help support midrange.com by shopping at amazon.com with our affiliate
link:
https://urldefense.proofpoint.com/v2/url?u=https-3A__amazon.midrange.com&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=wo0uDJijITU2f7aW2HWa1KiNWzc2cb7dgMN4W-85iwI&m=4--u2KwXRJoC3jJ62WW8pbNEolXcmQ60HdkeRYBnlrk&s=JLDCMCU5jjCS3fG80dZ4IcSGbvx2_ThdGyLXzPILp-k&e=
As an Amazon Associate we earn from qualifying purchases.