ChinaUnix.net
相关文章推荐:

fedora selinux关闭 samba开启 为什么还访问不了

安装CentOS默认是开启selinux的,所以会导致samba、ftp等应用程序无法访问相应目录,解决办法如下 开启samba用户HOME目录权限 1 /usr/sbin/setsebool -P samba_enable_home_dirs=1 开启单个共享目录(path)权限 1 chcon -t samba_share_t path 开启所有共享目录 只读权限 1 /usr/sbin/setsebool -P samba_export_all_ro on 读写权限 1 /usr/sbin/setsebool -P samba_export_all_rw on 查看某个目录(path)是否开启了权限 1 ls ...

by elisli - Linux文档专区 - 2009-09-18 11:33:21 阅读(845) 回复(0)

相关讨论

我有多块磁盘,系统装在/dev/hdb 上,在这块磁盘上 samba 共享目录,能正常访问,读写。 但在 /dev/hdd 上,磁盘上的 samba 共享目录却是失败的,请问何故?谢谢! 附:samba_enable_home_dirs --> on 这个已经开了 别让我关闭selinux 还有 /var/log/audit/audit.log 大牛教下怎么读这个日志? [root@server ~]# audit2allow -i test #============= smbd_t ============== allow smbd_t file_t:dir search; #### 谁解...

by vdlee - Linux系统管理 - 2009-11-25 14:37:08 阅读(1866) 回复(7)

samba 配置好后,windows可以访问,但是网上邻居看不到,使为什么samba 配置好后,windows可以通过\\主机名访问,但是网上邻居看不到,这是为什么? 版本是fedora8.

by ychyao - 服务器应用 - 2009-09-27 10:26:59 阅读(1860) 回复(2)

大家好: fedora10 启动时由于selinux 无法启动,所以我在网上 baidu 之后 在启动时 加了 enforcing=0 选项,这下可以启动了, 进入系统后,找到 /etc/sysconfig/selinux 添加了最后一行.(/etc/selinux/config 也是一样的) # This file controls the state of selinux on the system. # selinux= can take one of these three values: # enforcing - selinux security policy is enforced. # permissive - selinux prints warnings ...

by peoong - Linux系统管理 - 2009-05-22 02:38:16 阅读(1471) 回复(5)

RedHat的 /etc/sysconfig/selinux 在新版本中的Red Hat 和 fedora 上,修改档案 /etc/sysconfig/selinux : # This file controls the state of selinux on the system. # selinux= can take one of these three values: # enforcing - selinux security policy is enforced. # permissive - selinux prints warnings instead of enforcing. # disabled - selinux is fully disabled. selinux=enforcing # SEL...

by hecangbo - Linux文档专区 - 2010-01-26 19:09:17 阅读(2387) 回复(0)

RedHat的 /etc/sysconfig/selinux 在新版本中的Red Hat 和 fedora 上,修改档案/etc/sysconfig/selinux: # This file controls the state of selinux on the system. # selinux= can take one of these three values: # enforcing - selinux security policy is enforced. # permissive - selinux prints warnings instead of enforcing. # disabled - selinux is fully disabled. selinux=enforcing # selinuxT...

by bitmilong - Linux文档专区 - 2008-06-06 16:20:04 阅读(2336) 回复(0)

RedHat的 /etc/sysconfig/selinux 在新版本中的Red Hat 和 fedora 上,修改档案 /etc/sysconfig/selinux : # This file controls the state of selinux on the system. # selinux= can take one of these three values: # enforcing - selinux security policy is enforced. # permissive - selinux prints warnings instead of enforcing. # disabled - selinux is fully disabled. selinux=enforcing # SEL...

by Mozer - Linux文档专区 - 2007-07-01 14:16:03 阅读(521) 回复(0)

fedora中有时候我们想关闭selinux,因为有时候本是合法的操作也总是弹出窗口阻止我们的操作。下面介绍三种方法来关闭/禁用selinux。 1.在安装fedora时选择开启或者关闭selinux。当然相信大多数来到这里的不会是为了这种方法来到这里。 2.临时关闭selinux。如果你仅仅只是想临时关闭,可以输入 setenforce 0 3.禁用selinux。在 /etc 下可以看到一个selinux文件夹,进入后,里面有个config文件,在终端进入到文件夹,输入 vi conf...

by eriolchan - Linux文档专区 - 2009-10-22 16:00:29 阅读(925) 回复(0)

编辑/etc/sysconfig/selinux导致的问题 selinux=targeted改成了selinux=disabled #targeted 不知道后面不能加注释的 怎么解决? 急!!在线等~~~ [ 本帖最后由 YangFan30 于 2008-11-18 00:06 编辑 ]

by YangFan30 - Linux系统管理 - 2008-11-18 00:05:35 阅读(1423) 回复(1)

vi /etc/selinux/config,里面有个selinux=disabled 重启系统后提示unable to load selinux policy,machine is enforce mode .halting now kernel panic - not syncing:attempted to kill init!

by soulmoon - Linux系统管理 - 2011-02-04 20:29:08 阅读(5238) 回复(11)

在win的 ie 输入 \\192.168.71.128 ,之后让我输入用户名和密码,但是登录不进去,过一会儿又出现用户名密码画面, 注:在samba中已经 smbpasswd -a user 了。

by 巴拉克 - 服务器应用 - 2010-07-20 12:19:10 阅读(2385) 回复(2)