view
This is an alias of vim.
File read
This executable can read data from local files.
- This function can be performed by any unprivileged user.
vim -c ':redir! >/path/to/output-file | echo "DATA" | redir END | q'This function is performed by the privileged user if executed viasudobecause the acquired privileges are not dropped.vim -c ':redir! >/path/to/output-file | echo "DATA" | redir END | q'This function is performed by the privileged user if the executable has the SUID bit set and the right ownership because the effective privileges are not dropped.vim -c ':redir! >/path/to/output-file | echo "DATA" | redir END | q'
Inherit
This executable can inherit functions from another.
- This function can be performed by any unprivileged user.
vim -c ':py ...'This function is performed by the privileged user if executed viasudobecause the acquired privileges are not dropped.vim -c ':py ...'This function is performed by the privileged user if the executable has the SUID bit set and the right ownership because the effective privileges are not dropped.vim -c ':py ...' - This function can be performed by any unprivileged user.
vim -c ':lua ...'This function is performed by the privileged user if executed viasudobecause the acquired privileges are not dropped.vim -c ':lua ...'This function is performed by the privileged user if the executable has the SUID bit set and the right ownership because the effective privileges are not dropped.vim -c ':lua ...' - This function can be performed by any unprivileged user.
vimThis function is performed by the privileged user if executed viasudobecause the acquired privileges are not dropped.vimThis function is performed by the privileged user if the executable has the SUID bit set and the right ownership because the effective privileges are not dropped.vim