- 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.
推薦閱讀
- Data Visualization with D3 4.x Cookbook(Second Edition)
- Qt 5 and OpenCV 4 Computer Vision Projects
- Flask Blueprints
- C#程序設計教程
- Swift 3 New Features
- Visual C++數(shù)字圖像處理技術詳解
- AutoCAD VBA參數(shù)化繪圖程序開發(fā)與實戰(zhàn)編碼
- Learning ArcGIS for Desktop
- 新一代SDN:VMware NSX 網(wǎng)絡原理與實踐
- Geospatial Development By Example with Python
- 大數(shù)據(jù)時代的企業(yè)升級之道(全3冊)
- SAP Web Dynpro for ABAP開發(fā)技術詳解:基礎應用
- Java程序設計實用教程(第2版)
- Qt 5.12實戰(zhàn)
- Mastering R for Quantitative Finance