Learning samba complex user permission settings, explaining the following command-Linux general technology-Linux technology and application information. The following is a detailed description. Please explain the following command. Thank you. Just explain a few representative statements. Thank you.
Root @ beinanIBM:/home # useradd-g siradm-G sirmas, siruser-d/home/samba-s/bin/false siradm
5.3 ownership and permissions of related directories;
Root @ beinanIBM:/home # ls-l | grep samba
Drwxr-xr-x 5 root 128 samba
Root @ beinanIBM:/home # ls-l | grep samba
Drwxr-xr-x 5 siradm 128 samba
Root @ beinanIBM:/home # cd/home/samba/
Root @ beinanIBM:/home/samba # ls-lh
Total 0
Drwxr-xr-x 2 root 48 software
Drwxr-xr-x 2 root 48 public document
Drwxr-xr-x 2 root 48 shared writable
Drwxr-xr-x 4 root 96 Member
Drwxr-xr-x 4 root 96 Management Department
Root @ beinanIBM:/home/samba # chown-R siradm: sirmas software public document sharing writable Management Department
Root @ beinanIBM:/home/samba # chown-R siradm: siruser Member
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