User initialization scripts
Till now, we have seen different scripts, these scripts initialize the operating system, prior to the login of any user. Once the basic operating system in initialized, the user login process starts. This process is explained in the following topics.
Systemwide settings scripts
In the /etc/ folder, the following files are related to the user level initialization:
- /etc/profile: Few distributions will have additional folder- /etc/profile.d/. All the scripts from the- profile.dfolder will be executed.
- /etc/bash.bashrc
The preceding scripts are called by all the users, including root and normal users. Initially, the /etc/profile script will be called. This script creates system-wide environment settings. Few distributions will have the /etc/profile.d/ folder. SuSE Linux has additional /etc/profile.local script. The scripts in this folder will also be called. Then, the /etc/bash.bachrc script will be executed.
User level settings – default files
Scripts in the /etc...
 
                                             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
     
         
                 
                 
                 
                 
                 
                 
                 
                 
                