CIS206_3.3_Create_and_Modify_Users_and_Groups_Corey_Adams
docx
keyboard_arrow_up
School
ECPI University, Greensboro *
*We aren’t endorsed by this school
Course
206
Subject
Information Systems
Date
Nov 24, 2024
Type
docx
Pages
3
Uploaded by corada5995
Guided Practice Lab Report
Before completing this guided practice report, you should have completed the associated procedure.
Screenshots
As you complete the procedure for the guided practice, add your screenshots below.
Guided Practice Questions
After you have completed the procedure for the guided practice, provide your answers to the guided practice questions here.
1.
What are the differences between useradd and adduser?
The commands adduser and useradd are used to create such Users. The main difference is that adduser sets up user folders, directories, and other necessary functions easily, whereas useradd creates a new user without adding the directories as mentioned and settings.
2.
How would you search a file for an occurrence of a word using grep?
If I want to search ECPI then I use grep command and it searches through the file, looking for matches to the pattern specified. To use it type grep , then the pattern we're searching for and finally the name of the file (or files) we're searching in. The output is the three lines in the file that contain the letters 'ECPI'.
3.
What are the differences between su and su -?
The difference between the su and the hyphenated su – commands is the su command without arguments keeps almost all environment variables belonging to the original user. Contrary to this, the hyphenated su – command clears most environment variables.
4.
What does sudo accomplish?
Allows a permitted user to execute a specified command as another user. Also commonly used with root. However, this allows you to specifically manage what commands may be executed as another use. (For instance, you could give a user the ability to run an init.
5.
When you create a new user, what default group is created?
A user's primary group is the default group the account is associated with. Directories and files the user creates will have this Group ID.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help