Set Permission using aclctl apply
Submitted by deepak on Tue, 2007-11-27 12:13
How to set Permissons using aclctl .
- 1. Create a ticket for the task and inform the client with the given mail template << Task Creation Mail Template >>
- 2. Login to the Server where permission has to be set.
- 3. check if RCS directory exists else create a new directory named RCS under /etc.
- # mkdir /etc/RCS
- 4. check the permissions of the file /etc/applyacl.cf
- # ll /etc/apply.cf
- Note the permissions given in the output as given in below example.
- -rw-r----- 1 root root 6019 Nov 24 11:41 /etc/applyacl.cf
- 5. Check in a revision of the file as given below. Give proper reasons for backup with date and user.
- # ci -l /etc/applyacl.cf
- 6. Check the permissions and ownership of the file again and it should be same as noted by you in step 4.
- 7. Open the file in vi editor.
- 8. add user name for whoom the permissions has to be added to the folder.
- For eg if suppose you want to add user deepak to have permissions for /var/shared/Otherdos/Project_MIS
- You will have to append the user deepak to both set clause and to defset clause as shown below
- defset -R -t /var/shared/Otherdocs/Project_MIS dipnwita piyush pramod prashant sangeeta suman deepak
- set -R -t /var/shared/Otherdocs/Project_MIS dipnwita piyush pramod prashant sangeeta suman deepak
- 9. save the file
- 8. execute the following command to apply the permissions.
- # nice aclctl apply
- 9. Mail the customer with the template << Task Completion Mail template >>
- 10. Close the Ticket after the confirmation from the client.
- 11. Mail the customer with the template << Task closure Mail template >>
»
- Login to post comments
- Printer-friendly version
- Send to friend