LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 06-16-2009, 07:18 PM   #1
dellthinker
Member
 
Registered: Jan 2007
Distribution: Debian etch 4.0/Debian lenny 5.0
Posts: 209

Rep: Reputation: 30
Securing my laptop


Hi all, i've just reinstalled and im planning on securing my laptop. I've already decided to chmod 711 most of the dir's in /* .

However if i did that for /dev/* would that mean i couldnt access my driver and/or DVD-RW as well? Im planning on leaving that one alone. Any suggestions are appreciated.

P.S. While i was editing my makefile i noticed the /media dir. Could that be what i dont want to deny access to?

Or could it be /cdrom that i should leave?

Last edited by dellthinker; 06-16-2009 at 07:24 PM.
 
Old 06-16-2009, 07:46 PM   #2
Uncle_Theodore
Member
 
Registered: Dec 2007
Location: Charleston WV, USA
Distribution: Slackware 12.2, Arch Linux Amd64
Posts: 896

Rep: Reputation: 60
If I were you I would NOT change any directory permissions in / at all. You will most definitely encounter a lot of weird problems later. That is, if the system will be able to boot at all.
If you want a secure Linux machine, read on the SELinux project.
 
Old 06-16-2009, 08:30 PM   #3
dellthinker
Member
 
Registered: Jan 2007
Distribution: Debian etch 4.0/Debian lenny 5.0
Posts: 209

Original Poster
Rep: Reputation: 30
What if i went ahead and did what you said i shouldnt do before i saw your post

And everything went down the crapper, how would i go about restoring everything, seeing how root user has been some how 'deleted' =/
 
Old 06-16-2009, 10:35 PM   #4
Uncle_Theodore
Member
 
Registered: Dec 2007
Location: Charleston WV, USA
Distribution: Slackware 12.2, Arch Linux Amd64
Posts: 896

Rep: Reputation: 60
I don't know what you can do short of a clean reinstall. Sorry. Maybe. somebody else will have a better idea.
 
Old 06-16-2009, 10:40 PM   #5
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
If you've just reinstalled (prior to changing things), it would be a way lot quicker to just do it again. I'm sure you can dig out all the relevant permissions, but it will take a long time, and they aren't all the same (so you can't just do a recursive change).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Securing a server investmentbnker75 Linux - Security 4 10-09-2008 08:50 PM
Securing Joomla / Other brokenpromises Linux - Security 3 02-11-2008 08:54 AM
Securing Ubuntu 7.4 americanforest Linux - Newbie 4 09-16-2007 06:56 PM
securing a wlan mane.x Linux - Security 17 08-14-2006 05:03 PM
securing vsftpd stryfetew Linux - Software 4 03-15-2006 02:51 PM


All times are GMT -5. The time now is 07:15 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration