Dear misc@ readers,
I was wondering what you normally do when running vi with doas if a
.exrc file is present in the normal user $HOME.
"doas /usr/bin/vi" without any special rules will end up with:
/home/just22/.exrc: not sourced: not owned by you
'cause the $HOME variable is preserved by default. The only thing that
came to my mind was to add to doas.conf(5):
permit setenv { -HOME } :wheel cmd /usr/bin/vi
but I really don't know if this is the best practice.
Any hints?
All the best
-- Alessandro DE LAURENZIS
[mailto:jus...@atlantide.t28.net]
LinkedIn: http://it.linkedin.com/in/delaurenzis