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 06-13-2006, 01:56 PM   #1
Hal
Member
 
Registered: Oct 2003
Location: East Anglia, England
Distribution: Dapper Drake / Slackware
Posts: 151

Rep: Reputation: 30
Delete /dev/console


Theoretically, what would happen to the system if someone where to compromise my system and delete /dev/console?

A friend asked me out of the blue and I would have thought it would have got re-created, but I didn't know for sure.
 
Old 06-13-2006, 03:29 PM   #2
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 78
It probably depends on which unix running. I assume this is going to be linux (after all this is linuxquestions.org). Then it also depends on what versions. Newer versions are running udev (instead of devfsd), which might recreate the file, depending on how its rules are configured.

I know this is kind of vague, but an open-ended question deserves an open-ended answer. The important thing is that it is possible for one to set up their system such that any such devices deleted would be recreated.
 
Old 06-13-2006, 04:05 PM   #3
Hal
Member
 
Registered: Oct 2003
Location: East Anglia, England
Distribution: Dapper Drake / Slackware
Posts: 151

Original Poster
Rep: Reputation: 30
Yes, sorry it was only meant to be a question out of curiosity.

Thanks anyway.
 
  


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
How-To Delete File/Directory in CentOS console tyyp88 Linux - Newbie 13 12-15-2013 07:35 AM
logs sent to /dev/console appear on /dev/tty1 lfur Linux - General 3 01-08-2008 01:19 PM
I need the DELETE console command Sabinou Linux - Newbie 6 04-13-2006 01:28 PM
[Udev] Can I delete the content of /dev? lokee Linux - Software 6 02-04-2005 08:30 PM
delete file via console psa Linux - Newbie 3 08-24-2004 02:24 AM

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

All times are GMT -5. The time now is 08:30 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