Click Back to learn the path of the Linux command line and shell script
7.1-linux user accounts and groups
The core of the Linux security system is the user account.
Each user who can access the Linux system is assigned a unique user account, and the user's access to the objects in the system depends on the account they are logged in with.
When you log in to the Linux system to launch a bash shell, bash looks for commands in several files by default, which becomes the startup file;
The Boot file for bash check depends on how you start the bash shell, and the bash shell is launched in 3 ways:
- Log in as the default login shell;
- As an interactive shell for a non-login shell, enter bash on the command line;
- Executes the shell in the shell script as a non-interactive shell that runs the script;
Self-study Linux Shell7.1-linux user accounts and groups