Hello members,
I am working at a new project and having a problem with it.
My problem is that i have someway to run a script(Ex: read 3 ints and print them) every time linux asks for the root password.
If anyone can tell me how to solve the problem, i would be grateful.
I also mention it won't be used for bad purpososes.
Ex:
Code:
user@home:~$ sudo apt-get update
insert 3 numbers: 2 3 4
the numbers are: 2 3 4
[sudo] password for user:
Best regards,
Big-G