I have a TX2 that I'm using a custom carrier board with. The BSP for this board is flashed onto the TX2, rather than one directly from NVIDIA. There have been issues when user have attempted to do a package list update ie apt-get upgrade. and I would like to disable the ability for users to run the upgrade command. My first thought was to create an alias with the same name, but I can't create a multi-word alias.
So is there a way to disable the ability for users utilize .
The setup is a single log in for all users. They need root access for everything else, so I can't limit the user privileges, but I do not want them being able to upgrade the package lists.
apt-get
wrapper script and have it fail for 'upgrade' and pass through otherwise.