"Thedifference between the login shell and the Non-login shell "
Login Shell: A full login process is required to go to bash. That is, by entering the account and password to log into the system, the obtained shell is called the login shell
1.login & Non-login ShellLinux system bootstrap, the kernel will create the INIT process for a series of system initialization operations. When each user logs in to the shell, the relevant login profile is read regardless of whether it is logged on
Problem: Switching a user through the su command does not enter the user's shell environment. Why? To solve this problem, we must be clear about the difference between using Login Shell and non-login shell.
Login Shell:Complete logon process is
Linux login & non-login shell and su, sudo related concepts, linuxlogin1. login & non-login shell
In Linux, the kernel will create the init process to perform a series of system initialization operations. When a user logs on to the shell, the
Login Shell: A full login process is required to go to bash. That is, by entering the account and password to log into the system, the obtained shell is called the login shellnon-login Shell: The method of obtaining the Sbash interface does not
This article from: http://www.microsoft.com/china/MSDN/library/mobility/embedded/EDGvirtu.mspx? MFR = true
Abstract:
Making applications a shell is one of the key features of Windows XP embedded. A device can be started in a custom shell instead
Before introducing what shell is, let's review the relationship between users and computer systems. We know that computer operations cannot leave hardware, but users cannot directly drive hardware, hardware drivers can only be controlled through a
Today I ran into a problem with my virtual machine test. Login CentOS always return login, account number and password Yes, I also changed two users.1. Description of the problemI normally enter the user name and passwordError tip: Return to login
Knowledge before learning shell scripts1) Record command historyThe commands we've knocked on, Linux will be recorded, and presets can record 1000 historical commands. These commands are saved in the. bash_history file in the user's home directory.
(after waking up for a nap, the mind is particularly clear, so to organize a piece of Cao classmate's yesterday answers the ^_^, the process of collecting information, but also the process of learning)Background:Yesterday quickly off work, every
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.