LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-03-2007, 07:46 PM   #1
nusz
LQ Newbie
 
Registered: Sep 2007
Posts: 1

Rep: Reputation: 0
Unhappy How to Delete my System with login fail count


if someone try to login fail in 5 time.
I want to format same partition on my redhat.

How to do that. that is posible ?

thankyou for any answer.
 
Old 09-03-2007, 07:53 PM   #2
lostnhell
Member
 
Registered: Sep 2005
Location: Virginia Beach, VA
Distribution: Slackware-current
Posts: 50

Rep: Reputation: 17
Quote:
Originally Posted by nusz View Post
if someone try to login fail in 5 time.
I want to format same partition on my redhat.

How to do that. that is posible ?

thankyou for any answer.
You could setup a cron job that scans the output of syslog for the failed attempts and if a failure is detected it will delete your chosen files. I do not think you can delete the partition, because it will be your working partition that contains the OS and commands needed to complete the action.
 
Old 09-03-2007, 07:55 PM   #3
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
It would take a long time to securely erase a partition. Better to encrypt the partition. Then you don't have to delete anything. If the computer falls into the wrong hands they won't be able to decrypt the partitions.

Deleting the system based on failed login attempts doesn't make sense anyway. If someone took your computer they could put the hard disk into one of their computers.

Encryption is the only secure solution.

Last edited by stress_junkie; 09-03-2007 at 07:56 PM.
 
  


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
/ Var directory was delete.system cannot login! xi_guadiy Linux - Server 6 08-30-2007 11:27 AM
pam_mount login count doesn't decrement beaucoup Linux - Security 0 08-04-2005 11:08 PM
Graphical login fail, text login works livewire98801 Linux - General 2 10-11-2004 06:09 PM
ssh failed login count - where is it? mbhenry Linux - Security 1 11-13-2003 11:35 AM
maximum value of count in read system call udayan Programming 2 06-13-2002 06:51 AM

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

All times are GMT -5. The time now is 06:05 PM.

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