Showing posts with label booting. Show all posts
Showing posts with label booting. Show all posts

Login Process in Linux


When Linux booting process is completed it display the login prompt. There are different process running in Linux when any user login to their shell. these processes are as follows.




Login process steps


Init starts getty process

getty process initiates login prompt on terminal

login command check user credentials from /etc/passwd

getty starts user shell process

shell reads the system wide files /etc/profile, /etc/bashrc

Shell reads user specific files .profile, .login

Now it reads shell specific configuration file .bashrc

Shell displays the default prompt


Linux Booting Process


Introduction: 

Linux is Open source Operating System. We can check starting, stopping of operating system, where it loads specified programs using their particular configurations and permits you to change those configurations to control the boot process, and shuts down in a graceful and organized way. 

Beyond the question of controlling the boot or shutdown process, the open nature of Linux makes it much easier to determine the exact source of most problems associated with starting up or shutting down your system. A basic understanding of this process is quite beneficial to everybody who uses a Linux system.