Thursday, 28 November 2013

RUN LEVELS IN RHEL 6 by jaggikhanna



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


They are not commands. These are the some particular levels

Saturday, 23 November 2013

LOGIN WITHOUT PASSWORD IN LINUX



                                    LOGIN WITHOUT PASSWORD



We normally login as

Login :root
Passwd ----------

]#


But to login without password
[there is a file in a [/etc/passwd] this file conatain all the password informations for all the users. Open the file that contain a [X] follow by the user name like [root:x:0:0: ] simply delete the [X] carefully and it will not ask for the password but when we reassign the password for the user this [x] will come back again to its position.

So by deletion the [X] for the particular user you can loginby that user without enter a password.


Now how to do_________________________________________________________

#vi /etc/passwd

   root:x:0:0:root:/root:/bin:.bash


Delete this x only and the following appears

root::0:0:root:/root:/bin:.bash



:wq! __________ save n exit

Now you can login the root without a password

Login : root

]#


Now if you make more users then to check there entries in the [passwd] file
Press [shift+g] to go to bottom.