I just found a folder inside /opt that surprised the heck out of me.
Code
root@cubeserv:/opt# ls -la
total 20
drwxr-xr-x 5 root root 4096 Nov 30 18:56 .
drwxrwxr-x 19 root root 4096 Feb 27 11:11 ..
drwx--x--x 4 root root 4096 Nov 18 21:32 containerd
drwxrwxr-x 4 luderterz 1001 4096 Feb 1 2019 EasyRSA-v3.0.6
drwxr-xr-x 8 root root 4096 Nov 22 12:33 emby-server
root@cubeserv:/opt# ls -la EasyRSA-v3.0.6/
total 124
drwxrwxr-x 4 luderterz 1001 4096 Feb 1 2019 .
drwxr-xr-x 5 root root 4096 Nov 30 18:56 ..
-rw-rw-r-- 1 luderterz 1001 3968 Feb 1 2019 ChangeLog
-rw-rw-r-- 1 luderterz 1001 1305 Feb 1 2019 COPYING.md
drwxrwxr-x 2 luderterz 1001 4096 Feb 1 2019 doc
-rwxrwxr-x 1 luderterz 1001 48730 Feb 1 2019 easyrsa
-rw-rw-r-- 1 luderterz 1001 18093 Feb 1 2019 gpl-2.0.txt
-rw-rw-r-- 1 luderterz 1001 1036 Feb 1 2019 mktemp.txt
-rw-rw-r-- 1 luderterz 1001 4651 Feb 1 2019 openssl-easyrsa.cnf
-rw-rw-r-- 1 luderterz 1001 2039 Feb 1 2019 README.md
-rw-rw-r-- 1 luderterz 1001 3335 Feb 1 2019 README.quickstart.md
-rw-rw-r-- 1 luderterz 1001 8576 Feb 1 2019 vars.example
drwxrwxr-x 2 luderterz 1001 4096 Nov 30 18:56 x509-types
root@cubeserv:/opt#
Alles anzeigen
Not sure why EasyRSA is installed on my system - is it part of OMV? Is it part of certbot (which I installed as root)? Or is it a remnant of me installing and then removing openvpn at some point? (I don't remember if I did or not.)
But my real confusion lies in the fact that the EasyRSA folder and all its contents are owned by luderterz. That's a user I created solely with permissions to access a dedicated shared folder via FTPS from the public LAN. luderterz has no access whatsoever to /opt/ or any other folders.
Questions:
- How did this happen?
- Should I chown the EasyRSA folder to root, or leave it?