Up to [cvs.NetBSD.org] / src / sbin / atactl
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: netbsd-3-1-RC3
Revision 1.37.2.1 / (download) - annotate - [select for diffs], Fri Apr 15 22:07:53 2005 UTC (19 years ago) by tron
Branch: netbsd-3
CVS Tags: netbsd-3-1-RELEASE,
netbsd-3-1-RC4,
netbsd-3-1-RC3,
netbsd-3-1-RC2,
netbsd-3-1-RC1,
netbsd-3-1-1-RELEASE,
netbsd-3-1,
netbsd-3-0-RELEASE,
netbsd-3-0-RC6,
netbsd-3-0-RC5,
netbsd-3-0-RC4,
netbsd-3-0-RC3,
netbsd-3-0-RC2,
netbsd-3-0-RC1,
netbsd-3-0-3-RELEASE,
netbsd-3-0-2-RELEASE,
netbsd-3-0-1-RELEASE,
netbsd-3-0
Changes since 1.37: +66 -30
lines
Diff to previous 1.37 (colored) next main 1.38 (colored)
Pull up revision 1.38 (requested by drochner in ticket #156): Implement a "security" command with subcommands to query the status of the "security" extension and to "freeze" it. With the security extension frozen, disk passwords cannot be set anymore, until the next hard reset. Normally, this is the business of the BIOS, but older/buggy/embedded BIOSes don't care. This leaves the (theoretical) possibility that a malicious program in posession of superuser rights sets a disk password, rendering the disk useless (or at least uneconomical to recover from). Inspired by an article in the german "ct" magazine. Being here, consolidate the implementations of IDENTIFY into one, and fix an obvious alignment problem.