coppermine
February 8th, 2013, 10:29 AM
Hi all,
I did some search in order to find ways how to detect and act when some user logins on the system. I want to do the following: when user X logins, a script is run.
I will provide also some context. I am currently running a dedicated server located who knows where in a datacenter. I have full superuser privileges except direct access to the user root. The user root can be used by technicians to login on the system and carry out any operations they need to.
Well... I do not trust the root user since some sensitive data is stored in Truecrypt volumes. What I want to do, is when root user login is to unmount any truecrypt volumes.
Cheers
I did some search in order to find ways how to detect and act when some user logins on the system. I want to do the following: when user X logins, a script is run.
I will provide also some context. I am currently running a dedicated server located who knows where in a datacenter. I have full superuser privileges except direct access to the user root. The user root can be used by technicians to login on the system and carry out any operations they need to.
Well... I do not trust the root user since some sensitive data is stored in Truecrypt volumes. What I want to do, is when root user login is to unmount any truecrypt volumes.
Cheers