0% found this document useful (0 votes)
3 views

linux_3

The document outlines a practical worksheet for a Linux Administration Lab, focusing on user and group management using commands like useradd, userdel, and groupadd. It also covers file access control using chmod, chgrp, and Access Control Lists (ACL). The learning outcomes include managing users, groups, file ownership, and permissions.

Uploaded by

Harman Deep
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

linux_3

The document outlines a practical worksheet for a Linux Administration Lab, focusing on user and group management using commands like useradd, userdel, and groupadd. It also covers file access control using chmod, chgrp, and Access Control Lists (ACL). The learning outcomes include managing users, groups, file ownership, and permissions.

Uploaded by

Harman Deep
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Worksheet No.

- 3

Student Name:Harmandeep Singh UID: 24MCA20491


Branch:UIC Section/Group:24MCA-7b
Semester: 1st Date of Performance:23 Sept,24

Subject Name: Linux Adm Lab Subject Code:24CAP-607

Aim/Overview of the practical: Creating and managing users and groups using user add, userdel,
groupadd and passwd.Controlling Access to Files with Access Control Lists (ACL) using chmod, chgrp
and chown

Objective:The objective of this experiment is to learn how to manage users, groups, and control file
access using Linux commands like useradd, groupadd, chmod, chgrp, and chown.

Input/Apparatus Used:

1.
This command is used to add a new user to the system.

2.
This command is used to create a new group.

3.
This command is used to delete the specified user.

4.
This command is used to delete the specified group.
5.
This command is used to show the groups the user belongs to.

6.
This command is used to add the user to an existing group without removing them from other
groups.

7.
This command is used to create an empty file named demo1.txt.

8.
This command is used to show detailed information about file.txt, including its permissions and
ownership.

9.
This command is used to change the ownership of demo1.txt to the specified user.

10.
This command is used to set file permissions to 755 (owner can read, write, execute; group and
others can read and execute).

11.
This command is used to add read and write permissions for the user on demo1.txt.

12.
This command is used to install the ACL package for fine-grained permission control.

13.
First command is used to give read permission to a specific user on demo1.txt.
Second command is used to display the ACL entries for file.txt.
Learning outcomes (What I have learnt):

1. I learned how to create and manage users and groups in Linux using commands like useradd, userdel,
and groupadd.

2. I learned how to change file ownership and permissions using chown and chmod commands.

3. I learned how to control file access using Access Control Lists (ACL) with commands like setfacl and
getfacl.

4. I learned how to manage group memberships and grant specific permissions to users on files.

Evaluation Grid:
Sr. No. Parameters Marks Obtained Maximum Marks
1. Demonstration and Performance 12
2. Worksheet 8
3. Viva 10

You might also like