10 Haziran 2014 Salı

It Is Another Question


I had solved graphical resolution problem in oracle linux server at my company and i had also mentioned in my previous publish how i solved it. Here we had another problem after solving this isssue.The problem was to enter manually the kernel code at each restart. This was a struggle to rewrite appropriate code into kernel to get rid of it. Briefly,this was what the problem was.

I forgot my password for entry then started searching how to break password and define another one. There i found mysefl at kernel coding once again.

You just need to open single-user-mode from kernel. How you can do it is to write to the very end of line
1 or single.

For instance,  .....nomodeset 1 
                     .....nomodeset single

Then it opens up automatically the single-user-mode.

Secondly, you will write simply;

#passwd (username)
Then rewrite password twice to confirm it.

username in here is the user that you are trying to enter the computer.


#passwd root
***
***
#passwd oracle
***
***

I just decided to change 'root' and 'oracle' username which i basicly use as a username. Root is a base username which gives you privileges to do adjustments in system with an expanded mode. It even gives you priveleges to change system file which i had struggles to change before with another username (oracle).

SO BASICLY WE NEEDED TO SET 'NOMODESET' VALUE IN KERNEL AS A DEFAULT

not to rewrite it at each restart by entering GRUB.


There is file in /etc/grub.conf which you can set this value as a default at kernel.

Easily we can put this value inside this file to the very end of two kernel lines. Because there are two kernel lines which has to be altered.

The code was like as i wrote below;

rhgb quiet nomodeset



But here we have another question,

Is it that easy to break root password to have priveleges which we can do anything we want in server system?


It Is Another Question