From the course: Learning Linux Command Line
Unlock the full course today
Join today to access over 23,200 courses taught by industry experts.
Understand user roles and sudo - Linux Tutorial
From the course: Learning Linux Command Line
Understand user roles and sudo
- [Narrator] Modern Linux is a multi-user environment. On older systems, and on single user systems, there's only one user, or rather there isn't really the concept of users. Whoever uses the computer is the system administrator, and they can do whatever they want. On a multi-user system, I can have a user, you can have a user and our files are kept separate in our individual home directories. We can create files that only one or another user can access. At the command line, we can switch between users with the SU command, which is variously referred to as set user, switch user or substitute user. To use SU, we write that command, followed by the name of the user we want to switch to, and then we'll need to provide the password for that user. One of the most common uses for switching users at the command line is to do some system administration tasks. There are two basic user roles on the…
Contents
-
-
-
-
-
The Linux file system6m 18s
-
(Locked)
Understanding file paths4m 50s
-
(Locked)
Navigating the file system6m 58s
-
(Locked)
Exploring the output of the ls command2m 33s
-
(Locked)
Create and remove directories3m 36s
-
(Locked)
Copy, move, and delete files and directories7m 53s
-
(Locked)
Find files from the command line2m 10s
-
(Locked)
Understand user roles and sudo6m 3s
-
(Locked)
Understand file permissions5m 57s
-
(Locked)
Modify file permissions7m 4s
-
(Locked)
Create hard and symbolic links3m 26s
-
(Locked)
Challenge: Fix broken syntax26s
-
(Locked)
Solution: Fix broken syntax1m 24s
-
(Locked)
Challenge: Practice working with files34s
-
(Locked)
Solution: Practice working with files32s
-
-
-
-