Re: mcedit
Ben via mc <[email protected]> Wed, 18 Jan 2023 23:18:24 -0700
| Newsgroups | gmane.comp.gnome.apps.mc.general |
|---|---|
| Message-ID | <CANv=BrqgFE_GNPPpqiSjNLQsra6mPQYDH776YFdPpxZGu3Qa_w@mail.gmail.com> |
This was a good idea.
The answer is...
/Users/MyName
...so one would expect all the settings, macros and etc. to be the same for
admin as for my normal, less-priv user.
So weird.
On Wed, Jan 18, 2023 at 2:09 PM mi via mc <[email protected]>
wrote:
>
> It seems a root shell invoked with e.g. sudo -s takes $HOME of the admin
> calling it, and generally takes the admin env (but reducing it):
>
> From the net,
>
> $ sudo -s
> Password:
> # whoami
> root
> # echo $HOME
> /Users/armin
>
>
> So the question is, is there a special root home folder ? I've seen the
> path /var/root/Library/Preferences somewhere. How about that.
> --
> mc mailing list
> [email protected]
> https://lists.midnight-commander.org/mailman/listinfo/mc
>
--
mc mailing list
[email protected]
https://lists.midnight-commander.org/mailman/listinfo/mc