After the Successfully booting the system we got a login prompt and entered username and password.
To know about boot process, click here
1 - Enter Username and Password, System Execute profile file, its location in /etc directory.
2 - Profile file search and execute all scripts (*.sh ) file from the /etc/profile.d/ directory.
ls -l /etc/profile.d/3 - profile and profile.d/*.sh keeps all the systemwide environment and shell variables
4 - successful execution of profile, system find and execute bash_profile file, this file store in home directory of the user.
cat ~/.bash_profile
5 - bash_profile stores all user specific environment and shell variables and execute it.
6 - in the next steps of shell login execute ~/.bashrc file, this file execute /etc/bashrc file with their system wide aliases and local functions, User command aliases and shell functions.
cat ~/.bashrc7 - After all successfully executed,we got a login on the system and ready to enter any command.
To know about Command execution process, click here
Shell Login | Shell Login Steps | System Login Steps by linuxtopic |
Thanks
End of this Shell Login Process, we need your support so i request you to please comment if
something missed by me, share and like this post.
www.linuxtopic.com
End of this Shell Login Process, we need your support so i request you to please comment if
something missed by me, share and like this post.
www.linuxtopic.com