theGreaterDuck
New Member
Mint 20.04, Ryzen 5-4500:
Hi, I am developing (Lazarus-FPC) some bespoke internal+external email-software for my Son's business and I need to isolate it from the Internet while testing. I have created a Standard-User "Test" to work there and I need it to crash at "no Internet" to handle errors etc.
Currently I am manually turning all-Network off/on, but that gets a little tedious as I have to do other daily-work on the Admin side many times a day.
No matter what I set within User Test, unless it is all-off, it still gets access to the Network and Internet.
Can someone please point me at, or help with a script that will auto-run when I TTY to Test (TTY2) that will disable the Network?
Then, when I TTY back to Admin (TTY1) another script auto-runs to reinstate the Network for my normal use?
Thanks
Hi, I am developing (Lazarus-FPC) some bespoke internal+external email-software for my Son's business and I need to isolate it from the Internet while testing. I have created a Standard-User "Test" to work there and I need it to crash at "no Internet" to handle errors etc.
Currently I am manually turning all-Network off/on, but that gets a little tedious as I have to do other daily-work on the Admin side many times a day.
No matter what I set within User Test, unless it is all-off, it still gets access to the Network and Internet.
Can someone please point me at, or help with a script that will auto-run when I TTY to Test (TTY2) that will disable the Network?
Then, when I TTY back to Admin (TTY1) another script auto-runs to reinstate the Network for my normal use?
Thanks