Помощь - Поиск - Пользователи - Календарь
Полная версия: VAX 4000-600A: 3. Получение доступа в систему
MAXIOL > Техника > DEC hardware / software > VAX > VAX 4000-600A
SuperMax
Так как мы не знаем паролей от пользователя SYSTEM (аналог root в *nix)

Попробуем его сбросить:

Произведем загрузку системы в ограниченном режиме - в утилиту SYSBOOT

Код

>>>BOOT /R5:1 DIA0:
(BOOT/R5:1 DIA0:)

  2..
-SYSTEM$DIA0
  1..0..

SYSBOOT>  SET/STARTUP OPA0:

SYSBOOT>  SET WINDOW_SYSTEM 0

SYSBOOT>  SET WRITESYSPARAMS 0

SYSBOOT>  CONTINUE

   VAX/VMS Version V5.5-2H4 Major version id = 1 Minor version id = 0


OPA0: это консоль
после загрузки ОС
пытаемся запустить утилиту AUTHORIZE
но получаем отлуп

Код

$ SET DEFAULT SYS$SYSTEM
SET DEFAULT SYS$SYSTEM
$ RUN AUTHORIZE
RUN AUTHORIZE
%DCL-W-ACTIMAGE, error activating image SECURESHRP
-CLI-E-IMGNAME, image file SYSTEM$DIA0:[SYS0.SYSCOMMON.][SYSLIB]SECURESHRP.EXE;5
-SYSTEM-F-PROTINSTALL, protected images must be installed
  SYSTEM       job terminated at  3-MAY-2015 11:33:35.82

  Accounting information:
  Buffered I/O count:              48         Peak working set size:     650
  Direct I/O count:                24         Peak page file size:      3364
  Page faults:                    235         Mounted volumes:             0
  Charged CPU time:           0 00:00:00.08   Elapsed time:     0 00:00:35.18



и сейчас надо нажать "reset"
потому, что мы забыли команду SPAWN

сейчас этой ошибки не повторяем:
нам не страшно - сказано инсталлировать - ставим:
повторяем этапы и сейчас:

Код

$ SET NOON
$ SPAWN
SPAWN
%DCL-S-SPAWNED, process SYSTEM_1 spawned
%DCL-S-ATTACHED, terminal now attached to process SYSTEM_1
$ SPAWN
%DCL-S-SPAWNED, process SYSTEM_2 spawned
%DCL-S-ATTACHED, terminal now attached to process SYSTEM_2
$ SPAWN
%DCL-S-SPAWNED, process SYSTEM_3 spawned
%DCL-S-ATTACHED, terminal now attached to process SYSTEM_3
$ SPAWN
%DCL-S-SPAWNED, process SYSTEM_4 spawned
%DCL-S-ATTACHED, terminal now attached to process SYSTEM_4
$ SPAWN$ INSTALL:== $INSTALL/COMMAND_MODE
%DCL-S-SPAWNED, process SYSTEM_5 spawned
%DCL-S-ATTACHED, terminal now attached to process SYSTEM_5
%DCL-S-RETURNED, control returned to process SYSTEM_4
$ SET NOON
$ INSTALL
INSTALL> ADD/OPEN/HEADER/SHARE SYS$SHARE:SECURESHR.EXE
INSTALL> ADD/OPEN/HEADER/PROTECT/SHARE SYS$SHARE:SECURESHRP.EXE
INSTALL> EXIT

SET DEFAULT SYS$SYSTEM
$ SET DEFAULT SYS$SYSTEM
$ RUN AUTHORIZE
UAF> MODIFY SYSTEM /PASSWORD=pass
%UAF-I-MDFYMSG, user record(s) updated
UAF> EXIT
%UAF-I-DONEMSG, system authorization file modified
%UAF-I-NAFNOMODS, no modifications made to network proxy data base
%UAF-I-RDBNOMODS, no modifications made to rights data base



после перезагрузке при первом логоне система нас попросит сразу сменить пароль:

IPB Image

Код

  Accounting information:
  Buffered I/O count:            3439         Peak working set size:     962
  Direct I/O count:              3214         Peak page file size:      6996
  Page faults:                  19100         Mounted volumes:             1
  Charged CPU time:           0 00:00:10.64   Elapsed time:     0 00:01:52.11

        Welcome to VAX/VMS V5.5-2H4

Username: SYSTEM
Password:
        Welcome to VAX/VMS version V5.5-2H4 on node TROLL
    Last interactive login on Sunday,  3-MAY-2015 01:23
    Last non-interactive login on Thursday, 15-JUN-1995 09:26


Your password has expired; you must set a new password to log in

New password:
Verification:
Password found in history list; please choose a new password
Please try again or press <CTRL/Y> to abort login


Повтор пароля не прошел - VMS 1993го года это не винда, уровень безопасности на несколько порядков выше.

Код

New password:
Verification:

%%%%%%%%%%%  OPCOM   3-MAY-2015 12:18:59.88  %%%%%%%%%%%
Message from user AUDIT$SERVER on TROLL
Security alarm (SECURITY) and security audit (SECURITY) on TROLL, system id: 1026
Auditable event:        System UAF record modification
Event time:              3-MAY-2015 12:18:59.79
PID:                    0000021C        
Username:               SYSTEM          
Image name:             SYSTEM$DIA0:[SYS0.SYSCOMMON.][SYSEXE]LOGINOUT.EXE
Object name:            SYS$COMMON:[SYSEXE]SYSUAF.DAT;1
Object type:            file
User record modified:   SYSTEM
Fields modified:        PASSWORD


и так - мы в консоли!

SuperMax
На дисках обнаружена и другая версия VMS

действуем аналогично
Код

>>>boot dia4:     /R5:1 DIA4:
(BOOT/R5:1 DIA4:)

  2..
-TROLL4$DIA4
  1..0..


SYSBOOT>  SET/STARTUP OPA0:

SYSBOOT>  SET WINDOW_SYSTEM 0

SYSBOOT>  SET WRITESYSPARAMS 0

SYSBOOT>  CONTINUE

   OpenVMS VAX Version V6.1     Major version id = 1 Minor version id = 0
%DECnet-I-LOADED, network base image loaded, version = 05.03.00

$ SET NOON
SET NOON
$ SPAWN
SPAWN
%DCL-S-SPAWNED, process SYSTEM_1 spawned
%DCL-S-ATTACHED, terminal now attached to process SYSTEM_1
$ SPAWN
%DCL-S-SPAWNED, process SYSTEM_2 spawned
%DCL-S-ATTACHED, terminal now attached to process SYSTEM_2
$ SPAWN
%DCL-S-SPAWNED, process SYSTEM_3 spawned
%DCL-S-ATTACHED, terminal now attached to process SYSTEM_3

$ SET NOON
$ RUN AUTHORIZE
%DCL-W-ACTIMAGE, error activating image SECURESHRP
-CLI-E-IMGNAME, image file TROLL4$DIA4:[SYS0.SYSCOMMON.][SYSLIB]SECURESHRP.EXE;1
-SYSTEM-F-PROTINSTALL, protected images must be installed
$ INSTALL
INSTALL> ADD/OPEN/HEADER/SHARE SYS$SHARE:SECURESHR.EXE
INSTALL> R\R\
INSTALL> ADD/OPEN/HEADER/PROTECT/SHARE SYS$SHARE:SECURESHRP.EXE
INSTALL>  EXIT
$ SET DEFAULT SYS$SYSTEM
$ RUN AUTHORIZE
UAF> MODIFY SYSTEM /PASSWORD=qazxdrwes3
%UAF-I-MDFYMSG, user record(s) updated
UAF> EXIT
%UAF-I-DONEMSG, system authorization file modified
%UAF-I-NAFNOMODS, no modifications made to network proxy database
%UAF-I-RDBNOMODS, no modifications made to rights database
$ sh dev

Device                  Device           Error    Volume         Free  Trans Mnt
Name                   Status           Count     Label        Blocks Count Cnt
TROLL4$DIA4:            Mounted              0  OPENVMS061      112290    51   1

Device                  Device           Error
Name                   Status           Count
OPA0:                   Online               0

Device                  Device           Error
Name                   Status           Count
PAA0:                   Online               0
$


Это текстовая версия — только основной контент. Для просмотра полной версии этой страницы, пожалуйста, нажмите сюда.
Русская версия Invision Power Board © 2001-2018 Invision Power Services, Inc.