From the course: Complete Guide to Navigating Linux: Working with Users, Files, and Networks
Unlock this course with a free trial
Join today to access over 24,900 courses taught by industry experts.
Lesson 2 lab solution: Managing users and processes - Linux Tutorial
From the course: Complete Guide to Navigating Linux: Working with Users, Files, and Networks
Lesson 2 lab solution: Managing users and processes
- [Instructor] Alright, so first, sudo useradd -m linda. That's how you create user with the name Linda. I think the user already exist and as you can see we get the message about it and that's okay. Now I need to open a shell as user Linda. Oh yeah, I needed to set the password, the shell. So sudo passwd Linda, prompts for the password once. Ignore the warning about failed dictionary check because it's just what it is, only a warning. Now I have my user and I can open a shell as user Linda. Su -linda will prompt me for the password of user Linda. And then I can create a simple textile with the contents echo hello world. Echo echo hello world will do that. And I need to create a simple textile. We didn't have a clue about the name so I'm calling it simple. Then I need to run this fail as a program fail. Now what is the essence about it? The essence is if you want to run it as a program fell, you need the execute permission. So ch *X on simple, that'll make it executable. And then what…
Contents
-
-
-
-
(Locked)
Learning objectives37s
-
(Locked)
Working as administrator6m 36s
-
(Locked)
Linux users and groups4m 31s
-
File permissions and ownership7m 4s
-
(Locked)
Managing processes9m 5s
-
(Locked)
Starting processes automatically3m 32s
-
(Locked)
Background and foreground jobs1m 40s
-
(Locked)
Command overview1m 48s
-
(Locked)
Lesson 2 lab: Managing users and processes42s
-
(Locked)
Lesson 2 lab solution: Managing users and processes2m 55s
-
(Locked)
-
-
-