강좌
클라우드/리눅스에 관한 강좌입니다.
데이터베이스 분류

패스워드파일을 사용한 인증(DB인증)

작성자 정보

  • 웹관리자 작성
  • 작성일

컨텐츠 정보

본문

패스워드파일을 사용한 인증(DB인증)
 
 
[oracle@localhost dbs]$ svrmgrl 
 
Oracle Server Manager Release 3.0.5.0.0 - Production 
 
(c) Copyright 1997, Oracle Corporation. All Rights Reserved. 
 
Oracle8 Release 8.0.5.0.0 - Production 
PL/SQL Release 8.0.5.0.0 - Production 
 
SVRMGR> connect internal 
연결되었습니다 
SVRMGR> startup 
ORACLE 인스턴스가 시작되었습니다 
시스템 글로벌 영역 4754704 바이트 합계 
Fixed Size 48400 바이트 
Variable Size 4222976 바이트 
Database Buffers 409600 바이트 
Redo Buffers 73728 바이트 
데이터베이스가 올려졌습니다 
데이터베이스가 열려졌습니다 
SVRMGR> grant sysdba to kang; 
명령문이 처리되었습니다 
SVRMGR> grant sysoper to kang; 
명령문이 처리되었습니다 
SVRMGR> select * from v$pwfile_users;         
USERNAME SYSDB SYSOP 
------------------------------ ----- ----- 
INTERNAL TRUE TRUE  
SYS TRUE TRUE  
KANG TRUE TRUE  
3 행이 선택되었습니다 
 
 
 
[linux@localhost linux]$ svrmgrl 
 
Oracle Server Manager Release 3.0.5.0.0 - Production 
 
(c) Copyright 1997, Oracle Corporation. All Rights Reserved. 
 
Oracle8 Release 8.0.5.0.0 - Production 
PL/SQL Release 8.0.5.0.0 - Production 
 
SVRMGR> connect kang/kang as sysdba 
연결되었습니다 
SVRMGR> shutdown 
데이터베이스가 닫혔습니다 
데이터베이스가 분리되었습니다 
ORACLE 인스턴스가 종료되었습니다 
SVRMGR> quit 
Server Manager 완료 
[linux@localhost linux]$  
 
 
[linux@localhost dbs]$ l 
total 13 
lrwxrwxrwx 1 oracle dba 60 Sep 22 13:32 configkang.ora -> 
/usr/local/Oracle/app/oracle/admin/kang/pfile/configkang.ora -rw-r--r-- 1 oracle dba 8361 Nov 4 20:08 init.ora lrwxrwxrwx 1 oracle dba 58 Sep 22 13:32 initkang.ora ->
/usr/local/Oracle/app/oracle/admin/kang/pfile/initkang.ora lrwxrwxrwx 1 oracle dba 60 Sep 22 13:32 initkang_0.ora ->
/usr/local/Oracle/app/oracle/admin/kang/pfile/initkang_0.ora --w--w---- 1 oracle dba 0 Sep 22 13:32 lkKANG -rwSr----- 1 oracle dba 2048 Nov 4 20:11 orapwkang [linux@localhost dbs]$ [linux@localhost linux]$ svrmgrl Oracle Server Manager Release 3.0.5.0.0 - Production (c) Copyright 1997, Oracle Corporation. All Rights Reserved. Oracle8 Release 8.0.5.0.0 - Production PL/SQL Release 8.0.5.0.0 - Production SVRMGR> connect kang/kang as sysdba 연결되었습니다 SVRMGR> shutdown 데이터베이스가 닫혔습니다 데이터베이스가 분리되었습니다 ORACLE 인스턴스가 종료되었습니다 SVRMGR> startup LRM-00109: could not open parameter file '/usr/local/Oracle/
app/oracle/admin/kang/pfile/configkang.ora' LRM-00113: error when processing file '/usr/local/Oracle/app/
oracle/admin/kang/pfile/configkang.ora' ORA-01078: 시스템 매개변수 처리 오류입니다 SVRMGR> [oracle@localhost Oracle]$ ll /usr/local/Oracle/app/oracle/admin/kang/pfile/ total 13 drwxr-xr-x 2 oracle dba 1024 Sep 22 13:32 ./ drwxr-xr-x 7 oracle dba 1024 Sep 22 13:32 ../ -rw-rw---- 1 oracle dba 880 Sep 30 1998 configkang.ora -rw-r--r-- 1 oracle dba 4709 Nov 4 20:09 initkang.ora -rw-r--r-- 1 oracle dba 4673 Sep 30 1998 initkang_0.ora [oracle@localhost Oracle]$ [oracle@localhost dbs]$ chmod o+r /usr/local/Oracle/app/oracle/admin/
kang/pfile/configkang.ora [linux@localhost linux]$ svrmgrl Oracle Server Manager Release 3.0.5.0.0 - Production (c) Copyright 1997, Oracle Corporation. All Rights Reserved. Oracle8 Release 8.0.5.0.0 - Production PL/SQL Release 8.0.5.0.0 - Production SVRMGR> connect kang/kang as sysdba 연결되었습니다 SVRMGR> startup ORACLE 인스턴스가 시작되었습니다 시스템 글로벌 영역 4754704 바이트 합계 Fixed Size 48400 바이트 Variable Size 4222976 바이트 Database Buffers 409600 바이트 Redo Buffers 73728 바이트 데이터베이스가 올려졌습니다 데이터베이스가 열려졌습니다 SVRMGR>

관련자료

댓글 0
등록된 댓글이 없습니다.

공지사항


뉴스광장


  • 현재 회원수 :  60,039 명
  • 현재 강좌수 :  35,848 개
  • 현재 접속자 :  86 명