- 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.
推薦閱讀
- Getting Started with Citrix XenApp? 7.6
- LabVIEW Graphical Programming Cookbook
- Python自動(dòng)化運(yùn)維快速入門(第2版)
- Java高手真經(jīng)(高級(jí)編程卷):Java Web高級(jí)開發(fā)技術(shù)
- Ray分布式機(jī)器學(xué)習(xí):利用Ray進(jìn)行大模型的數(shù)據(jù)處理、訓(xùn)練、推理和部署
- Visual Basic程序設(shè)計(jì)習(xí)題解答與上機(jī)指導(dǎo)
- Elasticsearch Server(Third Edition)
- Instant Nancy Web Development
- C語(yǔ)言開發(fā)基礎(chǔ)教程(Dev-C++)(第2版)
- 細(xì)說Python編程:從入門到科學(xué)計(jì)算
- Django實(shí)戰(zhàn):Python Web典型模塊與項(xiàng)目開發(fā)
- Practical Microservices
- Unity 5.X從入門到精通
- VMware vSphere 5.5 Cookbook
- 循序漸進(jìn)Vue.js 3前端開發(fā)實(shí)戰(zhàn)