DBA는 유저 관리, 권한 부여가 중요하다.
Profile 암호관리
오라클에서는 프로파일로 암호를 관리 제어 할수 있음
-계정 잠금
-암호 수명, 기간만료
-암호이력
-암호 복잡성 검증
*암호 설정 방법
-프로필을 사용자에게 지정하여 암호를 관리 할수 있음
| create profile scott_password limit falied_login_attempts 3 -> 로그인 실패 횟수 password_life_time 30 -> 기간 마료일 password_refuse_time 30 ->암호가 재사용될 때까지의 날수 password_verify_fuction verify_function ->복합성 검사를 수행할 pl/sql password_grace_time 5 ; -> 유예기간 |
*암호할당
| alter user scott profile scott_password ; -암호할당 조회 select username,profile from dba_users where username='scott'; -프로파일 조회 select * from dba_profiles; select username,profile from dba_users; |
USER조회
| select * from dba_users; -user계정생성 및 권한 부여 create user u123 identified by "u123" profile 프로파일이름; grant connect to u123; -user삭제 drop user u123 cascade; |
ROLL조회
| select * from dba_role_privs where grantee ='유저명'; |
참고
'Database > Oracle' 카테고리의 다른 글
| [오라클 성능 트러블 슈팅 기초] 1장, 기본 개념 및 툴 (스냅샷,프로파일링, SQL스크립팅, 동적뷰, PL/SQL패키지) (0) | 2024.08.19 |
|---|---|
| DML성능 저하 원인 (0) | 2024.03.21 |
| 오라클 구성 참고 (0) | 2024.03.18 |
| [Oracle] Undo Data란 (0) | 2024.03.14 |
| Oracle ASM (0) | 2024.03.12 |