There are lots of different python versions in my ubuntu machine:
/home$ ls /usr/bin/ | grep python
dh_python2
dh_python3
python
python2
python2.7
python3
python3.5
python3.5m
python3m
/home$ which python
/usr/local/bin/python
python --version
Python 3.6.6
I want a certain user group have access to only "python"(e.g. 3.6.6) and disable access for other versions.
I think uninstalling python would cause other problems.What would be the recommended way to achieve this goal without breaking anything?