Joined on 2022-10-16
Block a user
Run command on a given user SSH connection
Could in theory modify .bashrc but I suspect that the user can avoid running this file, for instance by using SCP. Furthermore, the aim is to not trust the user to not remove this statement from…
Run command on a given user SSH connection
Avoid users to see commands executed by others
I don't want a crontab solution as the statement may not be the…
Avoid users to see commands executed by others
https://ubuntuforums.org/archive/index.php/t-2443493.html does not seem helpful.
Could give a try to /etc/fstab, see the Super User question 1858984.