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

  • 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.

主站蜘蛛池模板: 通山县| 峡江县| 黔江区| 雅安市| 灵寿县| 延津县| 和田市| 安达市| 临海市| 贵溪市| 青川县| 凤冈县| 西昌市| 同心县| 巴楚县| 科尔| 上栗县| 萍乡市| 颍上县| 金华市| 台北县| 宝鸡市| 德庆县| 固阳县| 江津市| 古交市| 乌什县| 马鞍山市| 融水| 宝应县| 托克逊县| 芜湖市| 普安县| 金湖县| 巫溪县| 博野县| 云霄县| 阿坝县| 平顺县| 佳木斯市| 象州县|