09-16-2009
Adding hdparm to system start-up
Hi,
I have read about a vulnerability that allows to lock any IDE/SATA hard drive with a password, unless the BIOS "freezes" the drive's (no-password) status.
Even though less secure, this protection can also be archieved by software (only few BIOSes have that feature). hdparm offers a "security-freeze" parameter for this.
So, I wanted to add a call to hdparm with the respective parameter to my runlevels. I did so by running "update-rc.d hdparm defaults" and editing /etc/hdparm.conf (removing the '#' in front of the line with the parameter and setting "ROOTFS" to /dev/hda).
Unfortunately, running "hdparm -I /dev/hda" still shows "not frozen", meaning that the protection has not been applied.
Could anybody give me a hint what I'm doing wrong?
Thank you,
Gunther
Last edited by Gunther; 09-16-2009 at 08:28 PM..
10 More Discussions You Might Find Interesting
1. HP-UX
hi, am new to hp-ux, i just bought an hp-ux with the hp-ux 11.0 os, is very old, and i wnat to start the x window system but it send an error that said that couldn't open the x server, i try startx, xinit, and nothing, and also where i can find tutorials for hp-ux os for beginners (7 Replies)
Discussion started by: nobody
7 Replies
2. SCO
I am running OpenServer 5.0.5a on a Compaq Proliant 800. When trying to start the system it goes through loading everything and at the end I get the following message.
WARNING: hd: no root disk controller was found
H iinit ime Loadable Driver May be requiredG drain8042
PANIC: srmontfun -... (1 Reply)
Discussion started by: karlb1
1 Replies
3. Shell Programming and Scripting
I want to know if there is a way to make a certain set of programs start in order at system startup with cron or something else i dont know about. (3 Replies)
Discussion started by: rcunn87
3 Replies
4. UNIX for Advanced & Expert Users
Hi all,,i'm sorry if my post is repost..but i'm need help about my problem...
My specifications is :
Sony Vaio VGN CR-323
Intel Dual-Core T2390(1.86 GHz)
Memory 2GB DDR
Harddisk 200GB
with Debian lenny 2.6.26-1-686
i'm install xen via apt-get install xen blah..blah blah
root@hell:~#... (4 Replies)
Discussion started by: demhyt
4 Replies
5. AIX
As topic, assume we have a service called "blahservice"
and we can start it by:
startsrc -s blahservice
what is the best practice to run such command when system start?
- directly use mkitab to add it into /etc/inittab
or
- drop startup scripts in /etc/rc.d/rcX.d
I know they... (4 Replies)
Discussion started by: acerlinux
4 Replies
6. Shell Programming and Scripting
Hi
I had written a piece of script .
Please let me know is it possible to run / execute this script at system startup ??
Thanks in advance . (5 Replies)
Discussion started by: Ravi Pavanv
5 Replies
7. Solaris
Hi, The system is Sun x4150. I use putty ssh to access to it. I can't start system console:
(hung)
Any help will be greatly appreciated! (5 Replies)
Discussion started by: aixlover
5 Replies
8. What is on Your Mind?
Hi all,
I wonder if you guys could give me some advice on this. I have messed around with Linux for the last few years, and I'm at the point where I would like to become a system administrator - as a career.
I already have a bachelor's degree, but it is in the humanities (art history) so... (2 Replies)
Discussion started by: ScottLew
2 Replies
9. Shell Programming and Scripting
Hi,
I have the following script that looks for a certain file and then executes the start.sh file. How can i make this process to kick when the box reboots. Please advice
if ; then
/u01/Essbase/Oracle//Middleware/user_projects/epmsystem7/bin/start.sh;
rm... (8 Replies)
Discussion started by: thinkingeye
8 Replies
10. Solaris
Hi everyone,
I hope you are doing well..
I am having the following issue that need your advice.
I am configuring syslog on Solaris 10. I have edited the /etc/syslog.conf by adding the following entry:
*.err;kern.debug;daemon.notice;mail.crit;auth.debug;user.debug;local6.info @<IP Address of... (7 Replies)
Discussion started by: michael_hoang
7 Replies
LEARN ABOUT NETBSD
viaide
VIAIDE(4) BSD Kernel Interfaces Manual VIAIDE(4)
NAME
viaide -- AMD, NVIDIA and VIA IDE disk controllers driver
SYNOPSIS
viaide* at pci? dev ? function ? flags 0x0000
options PCIIDE_AMD756_ENABLEDMA
DESCRIPTION
The viaide driver supports the following IDE controllers and provides the interface with the hardware for the ata driver:
- Advanced Micro Devices AMD-756, 766, 768 and CS5536 IDE Controllers
- NVIDIA nForce, nForce2, nForce2 400, nForce3, nForce3 250, nForce4, MCP04, MCP55, MCP61, MCP65, MCP67 IDE and SATA Controllers.
- VIA Technologies VT82C586, VT82C586A, VT82C596A, VT82C686A, VT8233A, VT8235, VT8237/VT8237R IDE Controllers, VT6421 Serial RAID
Controller and CX700 IDE Controller.
The 0x0002 flag forces the viaide driver to disable DMA on chipsets for which DMA would normally be enabled. This can be used as a debugging
aid, or to work around problems where the IDE controller is wired up to the system incorrectly.
SEE ALSO
ata(4), atapi(4), intro(4), pci(4), pciide(4), wd(4), wdc(4)
NOTES
Drives on the VT6421 Serial RAID Controller can only be accessed after they have been configured into RAID or JBOD sets via its BIOS. It is
also inaptly named as it has both SATA and PATA interfaces.
BUGS
The AMD756 chip revision D2 has a bug affecting DMA (but not Ultra-DMA) modes. The workaround documented by AMD is to not use DMA on any
drive which does not support Ultra-DMA modes. This does not appear to be necessary on all drives, the PCIIDE_AMD756_ENABLEDMA option can be
used to force multiword DMA on the buggy revisions. Multiword DMA can eventually be disabled on a per-drive basis with config flags, see
wd(4). The bug, if triggered, will cause a total system hang.
The timings used for the PIO and DMA modes for controllers listed above are for a PCI bus running at 30 or 33 MHz. This driver may not work
properly on overclocked systems.
BSD
August 31, 2007 BSD