`
helloyesyes
  • 浏览: 1326744 次
  • 性别: Icon_minigender_2
  • 来自: 武汉
文章分类
社区版块
存档分类
最新评论

How To Create An SYSASM User On Release 11g

阅读更多

On release 11g and onwards, you need to create an ASM user and grant the SYSASM role. The purpose of the SYSASM role is to provide a level of separation between the RDBMS & ASM credentials.

The SYSASM role, which has full capability on the ASM instance, is authenticated through the OSASM user group, similar to the SYSDBA roles, which is authenticated through OSDBA.

1) The following example shows how to connect as SYSASM and configure a new user for SYSASM role:

+ASM:oracle> export ORACLE_SID=+ASM

+ASM:oracle>sqlplus "/as sysasm"

SQL*Plus: Release 11.1.0.6.0 - Production on Thu Oct 1 15:44:00 2009

Copyright (c) 1982, 2007, Oracle. All rights reserved.


Connected to:
Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL> create user ASMUSER identified by oracle;

User created.

SQL> grant SYSASM, SYSOPER to ASMUSER;

Grant succeeded.

SQL> exit


2) Then connect as ASMUSER:

+ASM:oracle> export ORACLE_SID=+ASM

+ASM:oracle>sqlplus "ASMUSER/oracle as sysasm"

SQL*Plus: Release 11.1.0.6.0 - Production on Thu Oct 1 15:45:26 2009

Copyright (c) 1982, 2007, Oracle. All rights reserved.


Connected to:
Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL> select * from v$pwfile_users;

USERNAME SYSDBA SYSOPE SYSASM
------------------------------ ------ ------ ------
SYS TRUE TRUE TRUE
ASMUSER FALSE TRUE TRUE

From Oracle

-------------------------------------------------------------------------------------------------------

Blog http://blog.csdn.net/tianlesoftware

Email: dvd.dba@gmail.com

DBA1 群:62697716(); DBA2 群:62697977() DBA3 群:62697850()

DBA 超级群:63306533(); DBA4 群: 83829929 DBA5群: 142216823

聊天 群:40132017 聊天2群:69087192

--加群需要在备注说明Oracle表空间和数据文件的关系,否则拒绝申请

分享到:
评论

相关推荐

    Mastering Android Application Development(PACKT,2015)

    Learn how to create exemplary UIs that contribute to a satisfying user experience through the lens of Material Design, and explore how to harness the range of features within the Android SDK to help ...

    Apress.Beginning.Joomla.From.Novice.to.Professional.Jul.2007

    Want to create an online community for your hobby or user group? You're not alone. For thousands of like-minded around the globe, the answer is Joomla!, an open source content management system used ...

    Intro to the Alfresco Web Script Framework.pdf

    This article is an introduction to the Alfresco Web Script Framework that became available with release 2.1 of the product. We'll continue to extend the “SomeCo Whitepapers” example started in ...

    Foundation Expression Blend 4 with Silverlight 4

    platform RIAs using the extensive .NET 4 libraries, the powerful, design friendly Blend 4 Integrated Development Environment, and an enhanced workflow that allows designers and developers to work on ...

    11g_plsql_user_guide_and_reference.pdf

    ### PL/SQL Features in Oracle 11g Release 1 (11.1) #### Enhancements to Regular Expression Built-In SQL Functions In Oracle 11g Release 1, the regular expression built-in SQL functions have been ...

    Beginning iPhone 4 Development Exploring the iOS SDK

    We start with the basics, showing you how to download and install the tools you’ll need, and how to create your first simple application. Next you’ll learn to integrate all the interface elements ...

    VclZip pro v3.10.1

    Modified the SFX code (the code used to create the SFX stub distributed with VCLZip) so that it handles filenames that have been run through an OEM Conversion. The SFX was losing accented characters. ...

    Pro JavaFX 9: A Definitive Guide to Building Desktop, Mobile, and Embedded Java

    Use the JavaFX platform to create rich-client Java applications and discover how you can use this powerful Java-based UI platform, which is capable of handling large-scale data-driven business ...

    Mastering OpenStack - Second Edition

    We'll show you how to create your own OpenStack private cloud. Then you'll learn about various hypervisors and container technology supported by OpenStack. You'll get an understanding about the ...

    Pro JavaFX 9, 4th Edition

    Use the JavaFX platform to create rich-client Java applications and discover how you can use this powerful Java-based UI platform, which is capable of handling large-scale data-driven business ...

    Silverlight 4: Problem - Design - Solution

    This book uses the popular Problem – Design – Solution strategy to demonstrate how to harness the power and abilities of Silverlight 4 to add value to the overall user experience of a Web site....

    Java邮件开发Fundamentals of the JavaMail API

    You use the package to create Mail User Agent (MUA) type programs, similar to Eudora, pine, and Microsoft Outlook. The API's main purpose is not for transporting, delivering, and forwarding ...

    a project model for the FreeBSD Project.7z

    It contains information about where to fetch the source, what patches to apply and how, and how the package should be installed on the system. This allows automated tools to fetch, build and install ...

    GitHub Essentials

    If you ever wanted to learn how big projects like Twitter, Google or even GitHub collaborate on code then this book is for you, What You Will Learn, Create and upload repositories to your account...

    bochs user manual 单html文件+pdf 英文原版

    3.4.14. Building an RPM on Linux 3.4.15. Compile Problems 4. Setup 4.1. What does Bochs need? 4.2. ROM images 4.3. The configuration file bochsrc 4.3.1. plugin_ctrl 4.3.2. config_interface 4.3.3. ...

    vb写的ole 回调函数

    'as gospel on how to build good servers. For example, a good server 'should not have ANY msgbox calls outside of a debug mode. (If a 'production server tried to display a msg for the user... it could ...

    Senfore_DragDrop_v4.1

    * Asynchronous targets appears to be broken in the current release. * When TDropFileTarget.GetDataOnEnter is set to True, the component doesn't work with WinZip. Although the file names are ...

Global site tag (gtag.js) - Google Analytics