官术网_书友最值得收藏!

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.

主站蜘蛛池模板: 隆德县| 海伦市| 商南县| 清丰县| 大余县| 静海县| 富川| 精河县| 苍山县| 沧州市| 临潭县| 抚顺市| 阳泉市| 灵山县| 兴隆县| 汉源县| 化德县| 双鸭山市| 繁峙县| 德庆县| 广东省| 德保县| 龙南县| 墨玉县| 永善县| 兖州市| 淮滨县| 波密县| 米林县| 乐平市| 包头市| 景泰县| 沅江市| 报价| 平顶山市| 搜索| 尚义县| 建德市| 吉首市| 甘泉县| 凤庆县|