<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>OpenText Analytics Database 26.2.x – Types of database users</title>
    <link>/en/admin/db-users-and-privileges/db-users/types-of-db-users/</link>
    <description>Recent content in Types of database users on OpenText Analytics Database 26.2.x</description>
    <generator>Hugo -- gohugo.io</generator>
    
	  <atom:link href="/en/admin/db-users-and-privileges/db-users/types-of-db-users/index.xml" rel="self" type="application/rss+xml" />
    
    
      
        
      
    
    
    <item>
      <title>Admin: Database administration user</title>
      <link>/en/admin/db-users-and-privileges/db-users/types-of-db-users/db-admin-user/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/admin/db-users-and-privileges/db-users/types-of-db-users/db-admin-user/</guid>
      <description>
        
        
        &lt;p&gt;On installation, a new OpenText™ Analytics Database automatically contains a user with &lt;a href=&#34;../../../../../en/admin/db-users-and-privileges/db-privileges/granting-and-revoking-privileges/superuser-privileges/&#34;&gt;superuser privileges&lt;/a&gt;. Unless explicitly named &lt;a href=&#34;../../../../../en/setup/set-up-on-premises/install-using-command-line/install-with-installation-script/perform-basic-install/&#34;&gt;during installation&lt;/a&gt;, this user is identified as &lt;code&gt;dbadmin&lt;/code&gt;. This user cannot be dropped and has the following irrevocable roles:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../../../en/admin/db-users-and-privileges/db-roles/predefined-db-roles/dbadmin/&#34;&gt;DBADMIN&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../../../en/admin/db-users-and-privileges/db-roles/predefined-db-roles/dbduser/&#34;&gt;DBDUSER&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../../../en/admin/db-users-and-privileges/db-roles/predefined-db-roles/pseudosuperuser/&#34;&gt;PSEUDOSUPERUSER&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;With these roles, the &lt;code&gt;dbadmin&lt;/code&gt; user can perform all database operations. This user can also create other users with administrative privileges.

&lt;div class=&#34;admonition important&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Important&lt;/h4&gt;
&lt;p&gt;Do not confuse the &lt;code&gt;dbadmin&lt;/code&gt; user with the &lt;a href=&#34;../../../../../en/admin/db-users-and-privileges/db-roles/predefined-db-roles/dbadmin/&#34;&gt;DBADMIN role&lt;/a&gt;. The DBADMIN role is a set of privileges that can be assigned to one or more users.&lt;/p&gt;
&lt;p&gt;This documentation often refers to the &lt;code&gt;dbadmin&lt;/code&gt; user as a &amp;quot;superuser&amp;quot;. This term is unrelated to Linux superusers.&lt;/p&gt;

&lt;/div&gt;&lt;/p&gt;
&lt;h2 id=&#34;creating-additional-database-administrators&#34;&gt;Creating additional database administrators&lt;/h2&gt;
&lt;p&gt;As the &lt;code&gt;dbadmin&lt;/code&gt; user, you can create other users with the same privileges:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Create a user:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; CREATE USER DataBaseAdmin2;
CREATE USER
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Grant the appropriate roles to new user &lt;code&gt;DataBaseAdmin2&lt;/code&gt;:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; GRANT dbduser, dbadmin, pseudosuperuser to DataBaseAdmin2;
GRANT ROLE
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;User &lt;code&gt;DataBaseAdmin2&lt;/code&gt; now has the same privileges granted to the original dbadmin user.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;As &lt;code&gt;DataBaseAdmin2&lt;/code&gt;, enable your assigned roles with &lt;a href=&#34;../../../../../en/sql-reference/statements/set-statements/set-role/#&#34;&gt;SET ROLE&lt;/a&gt;:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; \c - DataBaseAdmin2;
You are now connected to database &amp;#34;VMart&amp;#34; as user &amp;#34;DataBaseAdmin2&amp;#34;.
=&amp;gt; SET ROLE dbadmin, dbduser, pseudosuperuser;
SET ROLE
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Confirm the roles are enabled:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; SHOW ENABLED ROLES;
name          | setting
-------------------------------------------------
enabled roles | dbduser, dbadmin, pseudosuperuser
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;/ol&gt;

      </description>
    </item>
    
    <item>
      <title>Admin: Object owner</title>
      <link>/en/admin/db-users-and-privileges/db-users/types-of-db-users/object-owner/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/admin/db-users-and-privileges/db-users/types-of-db-users/object-owner/</guid>
      <description>
        
        
        &lt;p&gt;An object owner is the user who creates a particular database object and can perform any operation on that object. By default, only an owner (or a &lt;a class=&#34;glosslink&#34; href=&#34;../../../../../en/glossary/db-superuser/&#34; title=&#34;&#34;&gt;superuser&lt;/a&gt;) can act on a database object. In order to allow other users to use an object, the owner or superuser must grant privileges to those users using one of the &lt;a href=&#34;../../../../../en/sql-reference/statements/grant-statements/#&#34;&gt;GRANT statements&lt;/a&gt;.

&lt;div class=&#34;alert admonition note&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Note&lt;/h4&gt;

Object owners are &lt;a href=&#34;../../../../../en/admin/db-users-and-privileges/db-users/types-of-db-users/public-user/&#34;&gt;PUBLIC users&lt;/a&gt; for objects that other users own.

&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;See &lt;a href=&#34;../../../../../en/admin/db-users-and-privileges/db-privileges/#&#34;&gt;Database privileges&lt;/a&gt; for more information.&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Admin: PUBLIC user</title>
      <link>/en/admin/db-users-and-privileges/db-users/types-of-db-users/public-user/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/admin/db-users-and-privileges/db-users/types-of-db-users/public-user/</guid>
      <description>
        
        
        &lt;p&gt;All non-DBA (superuser) or object owners are PUBLIC users.

&lt;div class=&#34;alert admonition note&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Note&lt;/h4&gt;

Object owners are PUBLIC users for objects that other users own.

&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;Newly-created users do not have access to schema PUBLIC by default. Make sure to GRANT USAGE ON SCHEMA PUBLIC to all users you create.&lt;/p&gt;
&lt;h2 id=&#34;see-also&#34;&gt;See also&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;../../../../../en/admin/db-users-and-privileges/db-roles/predefined-db-roles/public/#&#34;&gt;PUBLIC&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

      </description>
    </item>
    
  </channel>
</rss>
