linux nobody is an ordinary user, a non-privileged user. Some service processes, such as apache, aquid, etc., use some special accounts to run, such as nobody, news, games, etc. This can prevent the program itself from In case of security issues, hackers will not be able to obtain root privileges.
#The operating environment of this tutorial: linux5.9.8 system, Dell G3 computer.
linux What user is nobody?
nobody is an account that cannot be logged in in Linux. Some service processes such as apache, aquid, etc. use some special accounts to run, such as nobody, news, games, etc. This is fine To prevent hackers from obtaining root privileges when the program itself has security issues
1. The Windows system will automatically create some user accounts after installation. In the Linux system, there are also some user accounts that are created after the system is installed. There is, just like the built-in accounts in Windows systems.
2. They are used to complete specific tasks, such as nobody and ftp, etc. When we visit the web program of www.111cn.net, the official website server allows customers to log in as nobody (equivalent to Windows Anonymous account in the system); when we access ftp anonymously, we will use user ftp or nobody.
3. First of all, nobody is an ordinary user, a non-privileged user. The 'purpose' of using the nobody username is so that anyone can log into the system, but its UID and GID do not provide any privileges, that is, the uid and gid can only access files that everyone can read and write.
4. Secondly, many systems create a nobody by default and try to 'limit its permissions to the minimum'. When the server provides external services, the client may be allowed to log in as nobody.
5. Nobody is an ordinary account. Because the default login shell is '/sbin/nologin', this user cannot log in to the system directly, which means it is difficult for hackers to connect to your server through loopholes. destroy. In addition, the permissions of this user are also configured very low. Therefore, it has relatively high security. Everything is only given to the lowest permissions. This is the meaning of nobody's existence.
Related recommendations: "Linux Video Tutorial"
The above is the detailed content of What user is linux nobody?. For more information, please follow other related articles on the PHP Chinese website!