You are on page 1of 1

Practical-4

Worksheet

1. Create a user TOM with uid 2211 and assign a password “redhat”. Check that its
entry exists in the configuration file and check whether they can log in or not. Now
check the name of primary group of that user by visiting group configuration file.
After check its availability in primary group, add that used to the secondary group
named GRP.

2. Create a file named file34 using vi editor and add the contents as following:

“Try not to become a man with Success,


But rather try to become a man of Value”

After this, store a command as content in this file to display the ACL of this file.
Execute a command used for writing or changing the acls of file34 using its
configuration file. Execute a command to change the permission to 7 for accessing the
contents of file34 by user TOM.

You might also like