Zmena securelevels

Vaclav Rehak vasek at openbsd.cz
Tue Nov 12 12:16:23 CET 2002


On Tue, Nov 12, 2002 at 09:57:45AM +0100, Milos Urbanek wrote:
> On Tue, Nov 12, 2002 at 09:19:42AM +0100, Liquid wrote:
> > Zdravim,
> > 
> > da se prosim vas, zmenit securelevels smerem dolu, aniz bych musel
> > restartovat celej stroj?
> 
> nevim, jestli to jde ve FreeBSD, ale treba v OpenBSD by pomohlo neco
> ve stylu (za predpokladu ze v kernelu je zakompilovan ddb)
> 
> sysctl -w ddb.console = 1
> pak zmacknout ctrl+alt+esc -> spusti se ddb
> v ddb zadat
> w securelevel -1

no tohle neni uplne pravda (alespon pro securelevel 2),
to by bylo moc jednoduche.

viz securelevel(7):
      2 Highly secure mode
	...
        -   the ddb.console and ddb.panic sysctl(8) variables may not be raised

v.



More information about the Users-l mailing list