Re: Prevent Linux root password change
- From: Steven Mocking <mocking@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 16 Jan 2007 13:30:49 +0100
Tomislav wrote:
My question is: is there any known method to prevent this on Linux or
any kind of Unix system ?
Physical security:
Servers:
Lock servers up securely and keep track of all copies of the keys. Don't
use those biometric fingerprint door locks. While they're cool, they're
useless. Especially the affordable ones can be tricked with a xerox copy
of your fingerprint. While armed guards might be a bit over the top,
it's usually good to have people working near your server room (like
yourself). People plus locks combined are great deterrents.
Workstations:
Metal cases around the CPU unit with padlocks
Software security:
Make the shadow immutable with chattr +i. While using chattr -i as root
will remove this protection, it breaks a lot of rootkits among other things.
Use BIOS to disable booting from CD and set a BIOS password. The metal
case with padlock or locked server room will prevent unauthorized BIOS
purging by removing the CMOS battery.
Cryptography:
If physical security of the servers is insufficient, you could use an
encrypted root filesystem. If you set it up correctly and you have a
remote serial console to make it practical, this will make it extremely
hard for anyone without the private key and/or passphrase to write/read
any data from the disk once the machine has been down. Downside is that
you'll need a password to boot the machine, it's tricky to set up, and
not something you can do in a few minutes to an existing server.
.
- Follow-Ups:
- Re: Prevent Linux root password change
- From: Tomislav
- Re: Prevent Linux root password change
- References:
- Prevent Linux root password change
- From: Tomislav
- Prevent Linux root password change
- Prev by Date: Re: Split
- Next by Date: Re: Prevent Linux root password change
- Previous by thread: Re: Prevent Linux root password change
- Next by thread: Re: Prevent Linux root password change
- Index(es):
Relevant Pages
|
|