aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArkadiusz Lipiec <alus@mandriva.org>2003-05-06 19:42:08 +0000
committerArkadiusz Lipiec <alus@mandriva.org>2003-05-06 19:42:08 +0000
commitdd6e7c9a42e0e2d47f8a97b3a7085539922bdc9c (patch)
tree51df523b3a68f11c53b333a5d44e74a1bc154997
parent49fa2c864c69b1ce4508e91c5335790ec43dc717 (diff)
downloadmsec-dd6e7c9a42e0e2d47f8a97b3a7085539922bdc9c.tar
msec-dd6e7c9a42e0e2d47f8a97b3a7085539922bdc9c.tar.gz
msec-dd6e7c9a42e0e2d47f8a97b3a7085539922bdc9c.tar.bz2
msec-dd6e7c9a42e0e2d47f8a97b3a7085539922bdc9c.tar.xz
msec-dd6e7c9a42e0e2d47f8a97b3a7085539922bdc9c.zip
Polish version of msec manual
-rw-r--r--man/pl/msec.871
1 files changed, 71 insertions, 0 deletions
diff --git a/man/pl/msec.8 b/man/pl/msec.8
new file mode 100644
index 0000000..aa0e6ef
--- /dev/null
+++ b/man/pl/msec.8
@@ -0,0 +1,71 @@
+.TH msec 8 "29 Sep 2001" "Mandrakesoft" "Mandrake Linux"
+.IX msec
+.SH NAME
+msec \- Narzędzia bezpieczeństwa Mandrake
+.SH SYNOPSIS
+.B msec
+([-o <option>=<value>...]) ([0-5])
+.SH DESCRIPTION
+\fPmsec\fP jest głównym skryptem pakietu msec. Umożliwia on
+administratorowi systemu zmianę poziomu bezpieczeństwa dla systemu.
+msec jest dostarczony z sześcioma wstępnie skonfigurowanymi poziomami
+bezpieczeństwa. Od najsłabszego bezpieczeństwa, łatwego w użyciu do
+paranoidalnej konfiguracji odpowiedniej dla bardzo wrażliwych
+aplikacji serwerowych.
+.PP
+Skrypt \fPmsec\fP można uruchamiać tylko z poziomu administratora.
+.br
+Uruchom "msec x" aby ustawić poziom bezpieczeństwa na x (x=[0-5]).
+Wywołanie to zmodyfikuje system w zależności od funkcji poziomu
+bezpieczeństwa. Skrypt wywoływany bez argumentów wymusi bieżący
+poziom bezpieczeństwa bez jego zmiejszania.
+.br
+Wszystkie zmiany są zapisywane do dziennika systemowego z funkcją
+AUTH przy wywołaniu nie interaktywnym (na przykład za pośrednictwem
+mechanizmu cron) lub z funkcją LOCAL1 przy wywoływaniu interaktywnym
+(z wiersza poleceń lub na przykład z Centrum Sterowania Mandrake).
+.br
+Aby uzyskać pełny opis każdego poziomu bezpieczeństwa, skonsultuj
+się z dokumentacją w pliku /usr/share/doc/msec-*/security.txt.
+.PP
+Jeśli chcesz uczynić zmiany w bieżącym poziomie bezpieczeństwa,
+użyj pliku /etc/security/msec/perm.local aby nadpisać
+uprawnienia/właścicieli/grupy oraz /etc/security/msec/level.local
+aby nadpisać zasady (zajrzyj do manuala mseclib(3) aby uzyskać
+więcej szczegółów).
+.PP
+Dostępne opcje:
+.TP
+\fB\-o all-local-files=<wartość>\fR
+jeśli <wartość> wynosi 1, zakłada się, że wszystkie pliki są lokalne.
+.TP
+\fB\-o log=<wartość>\fR
+jeśli <wartość> jest różna niż syslog komunikaty nie są wysyłane do
+dziennika tylko na wyjście standardowe
+.TP
+\fB\-o nolocal=<ścieżka>\fR
+bez wczytywania zasad /etc/security/msec/level.local.
+.TP
+\fB\-o non-local-fstypes=<wartość>\fR
+<wartość> jest listą nielokalnych systemowych typów plików rozdzielonych
+spacjami.
+.TP
+\fB\-o print=<wartość>\fR
+jeśli <wartość> jest równa 1, wypisuje domyślne wartości zasad.
+.TP
+\fB\-o root=<ścieżka>\fR
+używanie parametru <ścieżka> jako głównego systemu plików.
+.SH FILES
+/usr/sbin/msec
+.br
+Wykonywalny plik \fPmsec\fP (skrypt sh)
+.PP
+/var/lib/msec/security.conf
+.br
+Zawiera konfigurację bieżącego aktywnego poziomu bezpieczeństwa. Te
+ustawienia mogą być nadpisane w pliku /etc/security/msec/security.conf.
+
+.SH AUTHOR
+Vandoorselaere Yoann, Mandrakesoft
+.br
+yoann@mandrakesoft.com
/a> 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504
package interactive; # $Id$

use diagnostics;
use strict;

#-######################################################################################
#- misc imports
#-######################################################################################
use MDK::Common::Func;
use common;

#- minimal example using interactive:
#
#- > use lib qw(/usr/lib/libDrakX);
#- > use interactive;
#- > my $in = interactive->vnew;
#- > $in->ask_okcancel('title', 'question');
#- > $in->exit;

#- ask_from_ takes global options ($common):
#-  title                => window title
#-  messages             => message displayed in the upper part of the window
#-  advanced_messages    => message displayed when "Advanced" is pressed
#-  ok                   => force the name of the "Ok"/"Next" button
#-  cancel               => force the name of the "Cancel"/"Previous" button
#-  advanced_label       => force the name of the "Advanced" button
#-  advanced_label_close => force the name of the "Basic" button
#-  advanced_state       => if set to 1, force the "Advanced" part of the dialog to be opened initially
#-  focus_cancel         => force focus on the "Cancel" button
#-  focus_first          => force focus on the first entry
#-  callbacks            => functions called when something happen: complete canceled advanced changed focus_out ok_disabled

#- ask_from_ takes a list of entries with fields:
#-  val      => reference to the value
#-  label    => description
#-  icon     => icon to put before the description
#-  help     => tooltip
#-  advanced => wether it is shown in by default or only in advanced mode
#-  disabled => function returning wether it should be disabled (grayed)
#-  gtk      => gtk preferences
#-  type     => 
#-     button => (with clicked or clicked_may_quit)
#-               (type defaults to button if clicked or clicked_may_quit is there)
#-               (val need not be a reference) (if clicked_may_quit return true, it's as if "Ok" was pressed)
#-     label => (val need not be a reference) (type defaults to label if val is not a reference) 
#-     bool (with "text" or "image" (which overrides text) giving an image filename)
#-     range (with min, max)
#-     combo (with list, not_edit, format)
#-     list (with list, icon2f (aka icon), separator (aka tree), format (aka pre_format function),
#-           help can be a hash or a function,
#-           tree_expanded boolean telling wether the tree should be wide open by default
#-           quit_if_double_click boolean
#-           allow_empty_list disables the special cases for 0 and 1 element lists
#-           image2f is a subroutine which takes a value of the list as parameter, and returns an array (text, image_file_name))
#-     entry (the default) (with hidden)
#
#- heritate from this class and you'll get all made interactivity for same steps.
#- for this you need to provide
#- - ask_from_listW(o, title, messages, arrayref, default) returns one string of arrayref
#-
#- where
#- - o is the object
#- - title is a string
#- - messages is an refarray of strings
#- - default is an optional string (default is in arrayref)
#- - arrayref is an arrayref of strings
#- - arrayref2 contains booleans telling the default state,
#-
#- ask_from_list and ask_from_list_ are wrappers around ask_from_biglist and ask_from_smalllist
#-
#- ask_from_list_ just translate arrayref before calling ask_from_list and untranslate the result
#-
#- ask_from_listW should handle differently small lists and big ones.
#-


#-######################################################################################
#- OO Stuff
#-######################################################################################