Linux exercises-user groups and permissions

Source: Internet
Author: User
Tags varnish
1. Create user Gentoo, additional group is bin and root, default shell is/bin/csh, annotation information is "Gentoo distribution"

  1. Create the following user, group, and group memberships named Webs Group user Nginx use Webs as the satellite group user varnish, also use webs as the satellite group user MySQL, non-interactive login system, and not webs members, Nginx,varnish, The MySQL passwords are all magedu.

  2. When user Docker does not have execute permissions on the/testdir directory, what does that mean?

  3. When user MongoDB does not have read access to the/testdir directory, what does that mean?

  4. Is the read-only file file1 in this directory modifiable and deleted when the user Redis has no write permission to the/testdir directory?

  5. Can the read-only file file1 in this directory be modified and deleted when the user Zabbix the/testdir directory with write and execute permissions?

  6. Copy the/etc/fstab file to/var/tmp, set the file owner to Tomcat read and write permissions, the group has read and write permissions for the apps group, no other people have permissions

  7. User git's home directory has been mistakenly deleted, please rebuild and restore the user home directory and the corresponding permission attributes

Linux exercises-user groups and permissions

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.