Showing posts with label rhel6. Show all posts

RUN LEVELS IN RHEL 6



#RUN LEVELS#



 RUN LEVELS ___________________________________________________________
                           RUN levels are the levels or stages in the Linux that are used to do the 
                           Different kinds of works of particular levels.   
1__There are 7 run levels in the Linux .They have there own different works



The each run level start from the [init]  run level is the initialization of a task to do.

Init = initialization.


The 7 run levels are

                                    Run level.                  Works.                                                            Level no.
                                    Init 0                           shutdown system.                                        Level 0
                                    Init 1                           troubleshooting                                            level 1
                                    Init 2                           multitasking, multiuser,  no networking    level 2
                                    Init 3                           for command mode                                      level 3
                                    Init 4                           no use                                                            level 4
                                    Init 5                           GUI mode                                                      level 5                                                            init 6                           restart system                                                level 6


These are the some particular levels that  do there particular works and also they are not commands.ss                    

ENCRYPTING THE FILE



                                                #ENCRYPTING THE FILE#

NOW WE ARE GOING TO LEARN ABOUT THE ENCRYPTION IN THE LINUX.______

To ENCRYPT a file open this file in the [VIM] editor .that is must required for encryption.



Like I make a file name [gourav] in vim and add contents like
#vim gourav
My name is govam saddar.  Hay hallo to all use this notes. Bye.





:X___________________________________________type collons +capital [X]   on INSERT mode
Enter encryption key _ _ _ _ _ _ _ _ _
Retype the key _ _ _ _ _ _ _

Successfully done.

:wq!__________________    ________________to save n exit from the file .



Now this file is encrypted
CHECK it bye open in VI editor.

#vi gourav
@!%#$^!&^*(^(!)*_*!_(_&)@(^*!&#%@^#!&^$&I$@^&@$%@&$%@&$*%^!#*^#@


It will show thee encrypted form.


To show the encrypted file in decrypted mode
Open the file in VIM

# vim gourav

@#!$#^!%^!*&!)*^&(^!$@$!#^%!%*)@^!)*@#&^(!&*%#&^!$
E@^%!#$&^@#$


Enter encryption key _ _  _ _ _


But after save it again encrypt. so to make decrypt permanently.
TO MAKE A FILE DECRYPTED FORM___________________________________________

# vim gourav

@#!$#^!%^!*&!)*^&(^!$@$!#^%!%*)@^!)*@#&^(!&*%#&^!$
E@^%!#$&^@#$


Enter encryption key _ _  _ _ _



After put the key it will show u as the original file.

To break encryption after enter the encryption key



:set key=____enter _____________collon+set+space+key+=   to break the encryption



But must know the encryption password it mean who knows the password can only decrypt the file .

okkkk