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

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.

主站蜘蛛池模板: 西和县| 明光市| 宿迁市| 东丰县| 辽阳县| 健康| 田东县| 婺源县| 准格尔旗| 阿勒泰市| 开封市| 锡林郭勒盟| 龙海市| 永济市| 乌恰县| 滕州市| 乐昌市| 北辰区| 京山县| 湟中县| 太谷县| 宁安市| 麻栗坡县| 盘锦市| 彭泽县| 云梦县| 临澧县| 阿鲁科尔沁旗| 深圳市| 修武县| 衡阳县| 墨玉县| 米泉市| 都兰县| 旬阳县| 托克逊县| 望江县| 绩溪县| 林甸县| 深水埗区| 雷州市|