| 탐색 링크 건너뛰기 | |
| 인쇄 보기 종료 | |
|
시스템 관리 설명서: 고급 관리 Oracle Solaris 10 1/13 Information Library (한국어) |
3. Service Access Facility를 사용하여 직렬 포트 관리(작업)
x86: 시스템 재부트 중 SMF 부트 아카이브 서비스가 실패할 경우 수행할 작업
큰 파일 또는 디렉토리가 만들어져 파일 시스템이 가득 참
시스템 메모리 부족으로 인해 TMPFS 파일 시스템이 가득 참
복사 또는 복원 후 파일 ACL이 손실된 경우 수행할 작업
파일 시스템 백업 후 루트(/) 파일 시스템이 가득 참
루트 암호를 잊어 시스템에 로그인할 수 없는 경우 다음 작업을 수행해야 합니다.
키보드 중지 시퀀스를 사용하여 시스템을 중지합니다.
Oracle Solaris 10: 부트 서버나 설치 서버 또는 로컬 CD-ROM에서 시스템을 부트합니다.
루트(/) 파일 시스템을 마운트합니다.
/etc/shadow 파일에서 루트 암호를 제거합니다.
시스템을 재부트합니다.
로그인 후 루트 암호를 설정합니다.
루트 암호를 잊어 시스템에 로그인할 수 없는 경우 다음 작업을 수행해야 합니다.
키보드 중지 시퀀스를 사용하여 시스템을 중지합니다.
Solaris 10 1/06 릴리스부터: x86 기반 시스템에서는 Solaris의 비상 안전 조치를 한 아카이브로 시스템을 부트합니다.
Oracle Solaris 10: 부트 서버나 설치 서버 또는 로컬 CD-ROM에서 시스템을 부트합니다.
루트(/) 파일 시스템을 마운트합니다.
/etc/shadow 파일에서 루트 암호를 제거합니다.
시스템을 재부트합니다.
로그인 후 루트 암호를 설정합니다.
이러한 절차는 시스템 관리 설명서: 기본 관리의 12 장, Oracle Solaris 시스템 부트(작업)에서 자세히 설명됩니다.
주 - 이 릴리스에서는 SPARC 기반 시스템에서 GRUB 기반 부트를 사용할 수 없습니다.
다음 예에서는 SPARC 및 x86 기반 시스템에서 잊은 루트 암호를 복구하는 방법에 대해 설명합니다.
예 18-1 SPARC: 루트 암호를 잊은 경우 수행할 작업
다음 예에서는 루트 암호를 잊은 경우 네트워크에서 부트하여 복구하는 방법에 대해 설명합니다. 이 예에서는 부트 서버를 사용할 수 있다고 가정합니다. 시스템이 재부트된 후에는 새 루트 암호를 적용해야 합니다.
(Use keyboard abort sequence--Press Stop A keys to stop the system) ok boot net -s # mount /dev/dsk/c0t3d0s0 /a # cd /a/etc # TERM=vt100 # export TERM # vi shadow (Remove root's encrypted password string) # cd / # umount /a # init 6
예 18-2 x86: 루트 암호를 잊은 경우 GRUB 기반 부트 수행
이 예에서는 부트 서버를 사용할 수 있다고 가정합니다. 시스템이 재부트된 후에는 새 루트 암호를 적용해야 합니다.
GNU GRUB version 0.95 (637K lower / 3144640K upper memory)
+-------------------------------------------------------------------+
| be1
| be1 failsafe
| be3
| be3 failsafe
| be2
| be2 failfafe
+------------------------------------------------------------------+
Use the ^ and v keys to select which entry is highlighted.
Press enter to boot the selected OS, 'e' to edit the
commands before booting, or 'c' for a command-line.Searching for installed OS instances...
An out of sync boot archive was detected on /dev/dsk/c0t0d0s0.
The boot archive is a cache of files used during boot and
should be kept in sync to ensure proper system operation.
Do you wish to automatically update this boot archive? [y,n,?] n
Searching for installed OS instances...
Multiple OS instances were found. To check and mount one of them
read-write under /a, select it from the following list. To not mount
any, select 'q'.
1 pool10:13292304648356142148 ROOT/be10
2 rpool:14465159259155950256 ROOT/be01
Please select a device to be mounted (q for none) [?,??,q]: 1
mounting /dev/dsk/c0t0d0s0 on /a
starting shell.
.
.
.
# cd /a/etc
# vi shadow
(Remove root's encrypted password string)
# cd /
# umount /a
# reboot예 18-3 x86: 루트 암호를 잊은 경우 시스템 부트
Oracle Solaris 10: 다음 예에서는 루트 암호를 잊은 경우 네트워크에서 부트하여 복구하는 방법을 보여 줍니다. 이 예에서는 부트 서버를 사용할 수 있다고 가정합니다. 시스템이 재부트된 후에는 새 루트 암호를 적용해야 합니다.
Press any key to reboot.
Resetting...
.
.
.
Initializing system
Please wait...
<<< Current Boot Parameters >>>
Boot path: /pci@0,0/pci-ide@7,1/ide@0/cmdk@0,0:a
Boot args:
Type b [file-name] [boot-flags] <ENTER> to boot with options
or i <ENTER> to enter boot interpreter
or <ENTER> to boot with defaults
<<< timeout in 5 seconds >>>
Select (b)oot or (i)nterpreter: b -s
SunOS Release 5.10 Version amd64-gate-2004-09-30 32-bit
Copyright (c) 1983, 2011, Oracle and/or its affiliates. All rights reserved.
Use is subject to license terms.
DEBUG enabled
Booting to milestone "milestone/single-user:default".
Hostname: venus
NIS domain name is example.com
Requesting System Maintenance Mode
SINGLE USER MODE
Root password for system maintenance (control-d to bypass): xxxxxx
Entering System Maintenance Mode
.
.
.
# mount /dev/dsk/c0t0d0s0 /a
.
.
.
# cd /a/etc
# vi shadow
(Remove root's encrypted password string)
# cd /
# umount /a
# init 6