login shell is a type of shell session that is typically used when you log in to your system. It executes certain initialization files and scripts, such as
.bashrc, or equivalent files for other shells like
.zshrc for Zsh.
These files can contain environment variable definitions, path configurations, and other settings that should be applied globally to your user session.
Your user experience goes to a different level when it comes to automatic login.
Automatic login can save time and effort, especially if you use the same terminal configuration and working directory for every session.
You won't need to manually start the shell or navigate to your preferred directory each time you open a terminal.
Automatic login bypasses the need to enter your password or use other forms of authentication. This can be problematic if you're relying on your user account's password for security.
If your system is compromised, an attacker can gain access to your user account without needing to know your password.
Check your OS
This step is just to make sure you have Deepin OS 20.9 installed.
cat /etc/os-release lsb_release -a uname -a
Open the terminal
CTRL + ALT + T
Right-click on the terminal and choose
Terminator terminal emulator, profiles are configurations that allow you to customize the appearance and behavior of your terminal sessions.
Profiles enable you to create different settings for different terminal windows or tabs, making it easier to manage and organize your work environment.
Run command as login shell
When you enable the option in your Terminator profile settings and open a new terminal window or tab with that profile,
Terminator will start a new shell session as a login shell.
This means it will execute the login shell's initialization files, allowing you to set global environment variables and apply system-wide configurations.
Restart your terminal
I hope this article has been helpful to you. Please feel free to ask if you have any questions.
Your thoughts, suggestions, and corrections are highly welcome.
By the way, don't hesitate to share your ideas for new blog articles. Looking forward to seeing you next time.