1, Su Command function: The role of SU is to change the identity of other users, except for superuser, you need to type the user's password. How to use: Su [-FMP] [-C command] [-s Shell] [--help] [--version] [-] [USER [ARG]] Parameter description:
Su-#su-oldboy//When executing this command, switch to Oldboy user, and re-read the user environment-related configuration file, specifically to execute under the user home directory. Bash_profile and. bashrc files, this we become the full switch
In daily operation in order to avoid some mis-operation, more secure management system, usually use the user identity is ordinary users, rather than root. When you need to perform some administrator command operation, then switch to the root user to
Summary: When you do permissions on Linux, you often get the problem: 1 Why installing the software requires sudo before apt-get. Just installed, run again apt-get but no need to add sudo in front. 2 Why it is sometimes shown that the user is isn't
the difference between Su-and Su--Interactive logon and non-interactive login
First, Brief introductionInteractive : Enter the account password directly through the terminal login, etc.variables, aliases, etc. won't inherits from the
Linux study notes -- usage and differences of su and sudo commands
Abstract: This article mainly introduces the functions of the su and sudo commands and the differences between them. And usage
I. Differences between the two
Su is used for
In daily operation in order to avoid some mis-operation, more secure management system, usually use the user identity is ordinary users, not root. When you need to perform some administrator command operation, then switch to the root user to execute.
Designed to illustrate the basic usage and differences of the SU and sudo commands in CentOSKnowledge Reserve
1.Linux is usually not recommended to log in as root directly, too dangerous! However, as a regular user login, and at some point by
Linux Learning notes--su, sudo command usage and differencesSummary: The main features of the SU and sudo commands are described and the difference between the two. And how to use itOne: The difference between the twoSu is used for switching between
The name of the gender study number class204205 Gross G 1 1106722 Wang Xin G 2 1201028 Wang Peng B 3 1201621 Liu Ziki B 4 1201628 Jacky Lau Xuan G 5 1107507 Liu Runyao B 6 1200721 Zhu Yo all B 7 1200342 Zhu Jinhong B 8 1103521 Jiangjiahao B 9 1202412
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.