Fedora error accessing samba server: "You may not have permission to use network resources"

Source: Internet
Author: User
Fedora access to samba server error: & quot; you may not have permission to use network resources & quot; if you cannot access it when using Samba to create a Window to share with Linux, if you do not have the permission to use network resources, www.2cto.com means SELinux is playing a strange role [SELinux (Secu...
Fedora access to samba server error: "You may not have permission to use network resources" problem: when using Samba to create a Window sharing with Linux, if not, "You may not have the permission to use network resources", www.2cto.com, that is, SELinux is playing a strange role. [Security-Enhanced Linux) is the implementation of mandatory access control by the National Security Agency (NSA, is Linux®The most outstanding new security subsystem. NSA developed an access control system with the help of the Linux community. under the restriction of this access control system, processes can only access the files needed in their tasks. SELinux is installed on Fedora and Red Hat Enterprise Linux by default. It can also be easily installed on other distributions. SELinux is a MAC system provided in Linux kernel 2.6. For the currently available Linux security module, SELinux is the most comprehensive and fully tested. it was established based on 20 years of MAC research. SELinux combines multi-level security or an optional multi-class policy in a type forced server, and adopts the role-based access control concept. Most people who use SELinux-ready releases, such as Fedora, Red Hat Enterprise Linux (RHEL), Debian, or Gentoo. They enable SELinux in the kernel and provide a customizable security policy. They also provide many user-layer libraries and tools that can use the SELinux function. Www.2cto.com SELinux is a domain-type-based mandatory access control (MAC) security system. it is written and designed by NSA to include the kernel module into the kernel, some security-related applications are also patched with SELinux, and finally there is a corresponding security policy. As we all know, the standard UNIX security model is "arbitrary access control" DAC. That is to say, any program has full control over its resources. If a program is planning to throw a file containing potentially important information to the/tmp Directory, no one can block it in the DAC case! In MAC, the security policy completely controls access to all resources. This is the essential difference between MAC and DAC. SELinux provides better access control than traditional UNIX permissions. To make the shared directory accessible, run the # setenforce 0 command to temporarily stop SELinux. # setenforce 1 to enable SELinux.
Related Article

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.