Linux Login loading configuration file sequence linux Login is divided into local login and remote login loading file sequence. use telnet. ssh and other connections to the server B. the server starts loginc. enter the account and password d. the server opens/etc/shadow and/etc/passwd to check the information. If correct, load the environment variable e in the memory. switch to the main directory f. the startup shell can be divided into login loading and non-login loading. login loading-remote login or local command xxshell-l the system only loads two files:/etc/profile and ~ /. Bash_profile (or. bash_login or. profile) but the default. pash_profile is called again ~ /. Bashrc. Therefore, the login and loading shell shows that three files are loaded, profile. bash_profile. bashrc2. non-login loading only loads. bashrc, login loading, and non-login loading files. In fact, they are just complementary.