How To Give Permission To Specific User In Linux?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
1. Open the terminal.
2. Use the command “sudo su” to log in as Root User.
3. Enter the command “usermod –aG [group_name] [username]” to give the user permission to the specified group.
4. Type the command “chmod –R [permission] [file or directory]” to set specific permissions for the desired file or directory.
5. Use the command “chown –R [username] [file or directory]” to change the ownership of the specified file or directory to the given user.