How to Enable Root Login on RHEL6.0/OEL6.3

How to Enable Root Login on RHEL6.0/OEL6.3

 

If You want to login as a root from GUI in RHEL6  then you have
to edit something like some files which are located to /etc/pam.d/
Open your Terminal from Applications -> System Tools -> Terminal

Now Login as a root  from your terminal

Step 1 :- [oracle]$ su – root
Password:-

Step 2:- Now go to your /etc/pam.d/ directory.

[root]# cd /etc/pam.d/
Then first take a backup of gdm file
cp gdm gdm.bkp ( always take backup if anything goes wrong you can correct it by original file)

Step 3 :- Now Open gdm file in your favourite editor. I am using vi as my editor.
[root]#  vi gdm
Find and Comment or remove this line into your gdm file
auth required pam_succeed_if.so user != root quiet


Step 4 :- Save & Exit From that File.

Now Logout and Try to Login as a
root user. Now you are able to Login as a root user from GUI in RHEL6/OEL6.3.

No comments:

ORA-00059: Maximum Number Of DB_FILES Exceeded in 19C database

When I am adding datafile to my 19C database facing the below error. SQL> alter tablespace DATA  add datafile '/u01/data/data15.dbf&#...