From the course: Practical Linux for Network Engineers: Part 1

Unlock this course with a free trial

Join today to access over 22,600 courses taught by industry experts.

Shells, home directories, and groups

Shells, home directories, and groups - Linux Tutorial

From the course: Practical Linux for Network Engineers: Part 1

Shells, home directories, and groups

- In this example I'll go to root, LS - L shows us files in root. And it also shows us permissions. For this directory we have, the owner permission, the group permissions and the permissions allocated to anyone else. So with user accounts and groups we can make sure that access to specific resources or files is limited to certain people and certain groups. Every file has a user owner and a group owner, and we can see the permissions of both the user owner and group owner. So we can again limit which processes as well as which user accounts, in other words humans or standard users have access to resources on our Linux system. The user owner is root in this example and a group owner is root. These are the permissions assigned to the user, root. These are the permissions assigned to the group, root. So I'll go back to my home directory. LS shows us files there. This shows us details of the files. So this file called my file has an owner of David. These are the permissions, group David…

Contents