- 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.
推薦閱讀
- Dynamics 365 Application Development
- Getting Started with ResearchKit
- Learning ArcGIS Pro 2
- CentOS 7 Linux Server Cookbook(Second Edition)
- PyQt從入門到精通
- 焊接機器人系統操作、編程與維護
- Learning jQuery(Fourth Edition)
- 分布式數據庫原理、架構與實踐
- Python程序設計開發寶典
- Python 3快速入門與實戰
- PHP動態網站開發實踐教程
- Improving your Penetration Testing Skills
- Python數據分析與挖掘實戰(第2版)
- Unity AI Game Programming(Second Edition)
- TensorFlow+Keras深度學習算法原理與編程實戰