Professional Documents
Culture Documents
Lab 03
Lab 03
LAB 3
I learn how to add user, delete user, how to change the information of the user, including password.
I learn how to install and delete a software in the system
I learn how to create a directory, create a file, edit the contents in the file.
ii) Install and run text based file manager called Midnight Commander
iii) Using dpkg -L list all Midnight Commander installed file
ii) Using cat or less command, view the user data in /etc/passwd and identify username,
userid and groupid field for sysadmin and linux
e) Password management
i) Using cat or less command, view password data in /etc/shadow.
ii) Using passwd command, change the linux password to ubuntu***. View the content of
/etc/shadow using cat command and identify the changes in password field.
3. File dan Disk Management
a) Find FOUR different types of files in /dev directory such as symbolic link, block device,
character device and directory
c) Create a file called Proton using touch command. Give others write permission to the file.
d) Edit the file using nano, add Saga, Waja, Iswara, X90 and X70 as it content.
e) Rename Proton to Models and move the file to Car directory.
Note:
Use snipping tools to capture screen
Save the file as PDF. Use file name as: Section-Lab3-StudentID-Name.pdf
Upload the file to Google Classroom.