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

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.

主站蜘蛛池模板: 雅江县| 莱阳市| 宁津县| 宝兴县| 新郑市| 洪泽县| 和田县| 富顺县| 桐城市| 图木舒克市| 宜阳县| 玉溪市| 镇原县| 紫阳县| 虹口区| 阿坝县| 平利县| 尤溪县| 普安县| 景泰县| 青浦区| 惠安县| 博罗县| 民丰县| 堆龙德庆县| 兴宁市| 富顺县| 木里| 新巴尔虎左旗| 措勤县| 商洛市| 东方市| 武功县| 潮安县| 南澳县| 潢川县| 上杭县| 四平市| 本溪| 府谷县| 栾川县|