LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 07-17-2019, 02:49 PM   #1
jones5
Member
 
Registered: Mar 2015
Distribution: MX
Posts: 118

Rep: Reputation: 1
Is there any software that will remove important directories if I do not use my OS for a set period?( newb)


I ask the above in a theoretical case that I do not have access or control over my system for some unforeseen reason - illness, loss of computer etc - not nefarious use!

Is there any software that will eradicate my whole system or the most sensitive folders/directories and a pre-set amount of time can be chosen before the action is carried out

I could only find something called auto delete in windows?
 
Old 07-17-2019, 02:58 PM   #2
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,242

Rep: Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322
Suggestion: use "at" to schedule a "dd" command that zeroes out your drives at, or after, a certain time.
 
1 members found this post helpful.
Old 07-17-2019, 03:01 PM   #3
petelq
Member
 
Registered: Aug 2008
Location: Yorkshire
Distribution: openSUSE(Leap and Tumbleweed) and a (not so) regularly changing third and fourth
Posts: 627

Rep: Reputation: Disabled
How would you choose the set time if the future problem was unforeseen? Are you saying that it could self destuct after so many days (hours?, months?) of inaction? What if an outsider carried out some action within that time, the delay would be put off further.
You could always set a root crontab for future date with
Code:
rm -rf /
but hthat could spell disaster if you forgot to check.
 
1 members found this post helpful.
Old 07-17-2019, 04:52 PM   #4
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
if the system is always on, perhaps a loop.
a weeks worth of hours.
Code:
while sleep 168h
do
{
 rm -r /home/user/myspecialTOPSECRETfiles
  break
}
done
https://www.tecmint.com/10-most-dang...cute-on-linux/

Last edited by BW-userx; 07-17-2019 at 04:58 PM.
 
1 members found this post helpful.
Old 07-17-2019, 06:37 PM   #5
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,242

Rep: Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322
Instead of taking this approach, have you considered protecting your data with encryption? Perhaps with VeraCrypt?

Last edited by dugan; 07-17-2019 at 07:54 PM.
 
1 members found this post helpful.
Old 07-18-2019, 03:51 AM   #6
jones5
Member
 
Registered: Mar 2015
Distribution: MX
Posts: 118

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by petelq View Post
How would you choose the set time if the future problem was unforeseen? Are you saying that it could self destuct after so many days (hours?, months?) of inaction? What if an outsider carried out some action within that time, the delay would be put off further.
All good suggestions - I particularly liked the above point. I never foresaw 'if the problem was unseen' issue

I would set the time - say one month, simply by knowing what the maximum normal time would be to be away from the machine. Any longer would be unusual and therefore may warrant destruction. As I say it may seem overkill but just a theoretical situation.

Any solution would have to overcome the machine being left on standby or shutdown by accident - ie ran out of power.

Yes - I am saying it should self-destruct after a set period. I would assume no outsider could get into the system with password protection. So simply pressing keys would not count as 'action' to put off delay. I would need to access properly.

Yes - I have considered veracrypt, and I may use it as a (better) alternative.
 
Old 07-18-2019, 06:29 AM   #7
Geist
Member
 
Registered: Jul 2013
Distribution: Slackware 14 / current
Posts: 442

Rep: Reputation: 196Reputation: 196
You should definetely encrypt sensitive files, otherwise it's just too easy to get to them. Even windows has ext4 readers that don't give a hoot about passwords.
So if someone had physical access to your computer while you cannot prevent them from having it, your data is in extreme danger.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Samba: Less Important Because Windows is Less Important LXer Syndicated Linux News 0 01-11-2013 05:11 AM
How can I prevent any software installation during a period of time. Jaloma Linux - Software 4 05-09-2012 08:51 PM
How to incorporate Contention free period and contention period together in 802.11e? stud17 Linux - Newbie 0 01-20-2012 05:27 PM
Am confused - The all important . (period) - ???? newbie01.linux Programming 3 01-17-2011 12:06 PM
is there any time period for taking 310-202 LinuxLover Solaris / OpenSolaris 0 10-11-2007 02:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 05:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration