Sudo is a very useful tool on the Unix/linux platform that allows system administrators to assign reasonable "rights" to ordinary users to perform tasks that only superuser or other privileged users can accomplish, such as running some commands like
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
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
For example: Run some commands like Mount,halt,su, or edit some system configuration files, such as/etc/mtab,/etc/samba/smb.conf. In this way, it not only reduces the number of login and management time of root users, but also improves the security
Sudo command: if you use a Linux Command, the following error occurs: sudolinux
Have you ever received the "Permission denied" error message when running Linux commands? This may be because you are trying to perform an operation that requires the
In the previous two sections, we introduced the basic knowledge of users and user groups and how to manage users and user groups. Next let's take a look at other user-related commands.Finger tool for viewing user informationChfn tool for changing
Did you ever get an "access Denied (Permission denied)" error when using the Linux command line? This may be because you are trying to perform an operation that requires root permissions. For example, the following shows an error that occurs when I
3.7 su command :su Command is used to switch users, for example I want to switch from root user to user2 User: 650) this.width=650; "src=" Https://s4.51cto.com/wyfs02/M01/A7/18/wKioL1ngeKGz1MzHAAEc5cC8kHA232.png "style=" float : none; "title="
Sudo originated in the early 1980s s and was developed by the State University of New York in Buffalo, followed by the University of Colorado for in-depth development. Website: http://www.gratisoft.us/sudo/
Sudo is a tool that allows the system
The usage of the sudo command in Linux indicates the developer's online builder.com.cn Update Time:
2007-11-27Author: zsw00001 Source: CCID technical community Keyword: usage sudo Linux
How to Use the sudo command in Linux (-@ gehdK3 (TKsOriginal
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.