- Learn Linux Quickly
- Ahmed AlKabary
- 154字
- 2021-06-11 18:43:53
Who Is Root?
So far, user elliot has been able to do quite a few things on the system. However, there are a whole lot of things that user elliot can't do! To demonstrate, let's try to create a file named happy in the /var directory:
elliot@ubuntu-linux:~$ touch /var/happy
touch: cannot touch '/var/happy': Permission denied
Oops! We got a Permission denied error.
Now let's try to create a new directory named games in /etc:
elliot@ubuntu-linux:/$ mkdir /etc/games
mkdir: cannot create directory ‘/etc/games': Permission denied
Again! We are getting the same error, Permission denied!
So what's going on here? Well, the user elliot doesn't have permission to do whatever he wants on the system! So who then? Who has permission to do anything on the system? It's the root user.
WHO IS ROOT?
root is a Linux user that has permission to do anything on the system. root is also known as the superuser.
推薦閱讀
- SPSS數(shù)據(jù)挖掘與案例分析應(yīng)用實踐
- Spring 5.0 By Example
- 微服務(wù)與事件驅(qū)動架構(gòu)
- C# 2012程序設(shè)計實踐教程 (清華電腦學(xué)堂)
- 看透JavaScript:原理、方法與實踐
- 概率成形編碼調(diào)制技術(shù)理論及應(yīng)用
- Kinect for Windows SDK Programming Guide
- Building a Quadcopter with Arduino
- Apache Spark 2.x for Java Developers
- Spring Security Essentials
- Elasticsearch Essentials
- 分布式架構(gòu)原理與實踐
- 虛擬現(xiàn)實建模與編程(SketchUp+OSG開發(fā)技術(shù))
- Spring MVC Blueprints
- Java EE 程序設(shè)計