{"id":12843,"date":"2024-01-09T13:20:06","date_gmt":"2024-01-09T12:20:06","guid":{"rendered":"https:\/\/roglacup.com\/klaus62\/?p=12843"},"modified":"2024-01-09T15:11:48","modified_gmt":"2024-01-09T14:11:48","slug":"remote_login_passwordfile","status":"publish","type":"post","link":"https:\/\/roglacup.com\/klaus62\/2024\/01\/09\/remote_login_passwordfile\/","title":{"rendered":"REMOTE_LOGIN_PASSWORDFILE"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\" id=\"REFRN-GUID-726CF0F6-14A4-465B-B46B-E2AC8CFFD27A\">V$PASSWORDFILE_INFO<\/h2>\n\n\n\n<p><code>V$PASSWORDFILE_INFO<\/code>\u00a0provides information about the database password file.<\/p>\n\n\n\n<p>select * from v$passwordfile_info;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"351\" height=\"44\" src=\"https:\/\/roglacup.com\/klaus62\/wp-content\/uploads\/2024\/01\/image.jpeg\" alt=\"\" class=\"wp-image-12844\" srcset=\"https:\/\/roglacup.com\/klaus62\/wp-content\/uploads\/2024\/01\/image.jpeg 351w, https:\/\/roglacup.com\/klaus62\/wp-content\/uploads\/2024\/01\/image-300x38.jpeg 300w\" sizes=\"auto, (max-width: 351px) 100vw, 351px\" \/><\/figure>\n\n\n\n<p>show parameter remote_login_passwordfile;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"307\" height=\"56\" src=\"https:\/\/roglacup.com\/klaus62\/wp-content\/uploads\/2024\/01\/image-1.jpeg\" alt=\"\" class=\"wp-image-12845\" srcset=\"https:\/\/roglacup.com\/klaus62\/wp-content\/uploads\/2024\/01\/image-1.jpeg 307w, https:\/\/roglacup.com\/klaus62\/wp-content\/uploads\/2024\/01\/image-1-300x55.jpeg 300w\" sizes=\"auto, (max-width: 307px) 100vw, 307px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Remote_login_passwordfile Parameter and it&#8217;s use<\/h3>\n\n\n\n<p><strong>Remote_login_passwordfile&nbsp;<\/strong>&nbsp; specifies whether Oracle checks for a password file .&nbsp;When we grant &#8220;sysdba&#8221;&nbsp;or&nbsp;&nbsp;&#8220;sysoper&#8221;&nbsp;privileges to a user, that &nbsp;user&#8217;s name &nbsp;and &nbsp;privilege &nbsp;information &nbsp;are &nbsp;added to the password file.&nbsp;A user&#8217;s name remains in the password file only as long as that user has at least one of these two privileges. If we revoke both of these privileges, Oracle Database removes the user from the password file .<\/p>\n\n\n\n<p>We have two options for Super User&nbsp;&#8220;SYS&#8221;&nbsp;password authentication .<br>1.) Operating System authentication<\/p>\n\n\n\n<p>2.) Password file authentication<\/p>\n\n\n\n<p>Posted from : <a href=\"https:\/\/neeraj-dba.blogspot.com\/2011\/03\/remoteloginpasswordfile.html\">https:\/\/neeraj-dba.blogspot.com\/2011\/03\/remoteloginpasswordfile.html<\/a><\/p>\n\n\n\n<p>In one of your databases, user KING is:<br>1. Not a DBA user<br>2. An operating system (OS) user<br><\/p>\n\n\n\n<p>Examine this command and its output:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"663\" height=\"105\" src=\"https:\/\/roglacup.com\/klaus62\/wp-content\/uploads\/2024\/01\/image-8.png\" alt=\"\" class=\"wp-image-12846\" srcset=\"https:\/\/roglacup.com\/klaus62\/wp-content\/uploads\/2024\/01\/image-8.png 663w, https:\/\/roglacup.com\/klaus62\/wp-content\/uploads\/2024\/01\/image-8-300x48.png 300w\" sizes=\"auto, (max-width: 663px) 100vw, 663px\" \/><\/figure>\n\n\n\n<p>What must you do so that KING is authenticated by the OS when connecting to the database instance?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A.&nbsp;Set OS_AUTHENT_PREFIX to OPS$<\/li>\n\n\n\n<li>B.&nbsp;Have the OS administrator add KING to the OSDBA group<\/li>\n\n\n\n<li>C.&nbsp;Grant DBA to KING<\/li>\n\n\n\n<li><strong>D.&nbsp;<\/strong><strong>Unset REMOTE_LOGIN_PASSWORDFILE<\/strong><\/li>\n\n\n\n<li>E.&nbsp;Alter user KING to be IDENTIFIED EXTERNALLY<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>V$PASSWORDFILE_INFO V$PASSWORDFILE_INFO\u00a0provides information about the database password file. select * from v$passwordfile_info; show parameter remote_login_passwordfile; Remote_login_passwordfile Parameter and it&#8217;s use Remote_login_passwordfile&nbsp;&nbsp; specifies whether Oracle checks for a password file .&nbsp;When we grant &#8220;sysdba&#8221;&nbsp;or&nbsp;&nbsp;&#8220;sysoper&#8221;&nbsp;privileges to a user, that &nbsp;user&#8217;s name &nbsp;and &nbsp;privilege &nbsp;information &nbsp;are &nbsp;added to the password file.&nbsp;A user&#8217;s name remains in the password file&hellip;&nbsp;<a href=\"https:\/\/roglacup.com\/klaus62\/2024\/01\/09\/remote_login_passwordfile\/\" class=\"\" rel=\"bookmark\">Read More &raquo;<span class=\"screen-reader-text\">REMOTE_LOGIN_PASSWORDFILE<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":12847,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","footnotes":""},"categories":[1299],"tags":[],"class_list":["post-12843","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-1z0-082"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/roglacup.com\/klaus62\/wp-json\/wp\/v2\/posts\/12843","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/roglacup.com\/klaus62\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/roglacup.com\/klaus62\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/roglacup.com\/klaus62\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/roglacup.com\/klaus62\/wp-json\/wp\/v2\/comments?post=12843"}],"version-history":[{"count":1,"href":"https:\/\/roglacup.com\/klaus62\/wp-json\/wp\/v2\/posts\/12843\/revisions"}],"predecessor-version":[{"id":12848,"href":"https:\/\/roglacup.com\/klaus62\/wp-json\/wp\/v2\/posts\/12843\/revisions\/12848"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/roglacup.com\/klaus62\/wp-json\/wp\/v2\/media\/12847"}],"wp:attachment":[{"href":"https:\/\/roglacup.com\/klaus62\/wp-json\/wp\/v2\/media?parent=12843"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/roglacup.com\/klaus62\/wp-json\/wp\/v2\/categories?post=12843"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/roglacup.com\/klaus62\/wp-json\/wp\/v2\/tags?post=12843"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}