#navbar { (To hide nav bar in blogger) height: 0px; visibility: hidden; display: none; }

Friday, April 23, 2010

 

Give Permission to Separate User Without Changing Pervious Permission

Give Permission to Separate User Without Changing Pervious Permission

Question: now one new user is added to the OS. Now you should give the permission only to this new user for file /bashscript without affecting other user, group, root permission.
For this problem we can use Linux UNIX command acl
Acl-access control list
#mount –o remount /bashscript
#setfacl –m user +rwx /bashscript
You can check there permission by through getfacl command
Note: that director should mount using acl command then only it is work.
By through this method we can give full permission only to new user without changing other user permission
 


Comments:

Post a Comment

Subscribe to Post Comments [Atom]





<< Home

This page is powered by Blogger. Isn't yours?

Subscribe to Posts [Atom]