linux开通gssftp之后,客户端连接linux出现以下问题,简单记录之,备忘
D:\>ftp 10.181.75.240
Connected to 10.181.75.240.
220 sbackup FTP server (Version 5.60) ready.
User (10.181.75.240:(none)): root
331 Password required for root.
Password:
230-No directory! Logging in with home=/
230 User root logged in.
ftp> cd /home
550 /home: Permission denied.
ftp> cd /tmp
250 CWD command successful.
解决方法如下:
关闭selinux即可
[root@sbackup ~]# cat /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 instead of enforcing.
# disabled - SELinux is fully disabled.
SELINUX=
disable
# SELINUXTYPE= type of policy in use. Possible values are:
# targeted - Only targeted network daemons are protected.
# strict - Full SELinux protection.
SELINUXTYPE=targeted
将selinux处于permissive模式
[root@sbackup ~]# setenforce 0
分享到:
相关推荐
开启iptables和selinux会使很多服务都无法正常提供服务,再次我就FTP的selinux和iptables总结一下。
2.5: SELinux 、 系统故障修复 、 防火墙策略管理 、 服务管理.docx
排查SELinux故障.docx
FTP服务器与SELinux的关系 Linux第6次作业 1.使用匿名用户登录(setenforce 0) 打开主配置文件 [root@linzefeng ~]# vim /etc/vsftpd/vsftpd.conf 更改第12行 设置anonymous_enable=YES就可以启动匿名用户登录了 ...
linux selinux development
SELinux by example is the first complete, hands-on guide to using SELinux in production environments. Authored by three leading SELinux researchers and developers, it illuminates every facet of ...
讲解selinux的作用,生效机制,并详细介绍了如何编写selinux策略模块 中文版
selinux cookbook selinux cookbook
[Packt Publishing] SELinux 系统管理手册 (英文版) [Packt Publishing] SELinux System Administration (E-Book) ☆ 图书概要:☆ A comprehensive guide to walk you through SELinux access controls ...
中文selinux手册和selinux详细解说,非常适合入门学习,很受用。
SELinux System - 2nd Edition + SELinux 详解 SEAndroid基础
Selinux规则转换工具。Selinux规则转换工具。Selinux规则转换工具。Selinux规则转换工具。Selinux规则转换工具。Selinux规则转换工具。Selinux规则转换工具。Selinux规则转换工具。Selinux规则转换工具。Selinux规则...
SELinux详解(带完整中文标签),不错的介绍selinux的文档
Lock SELinux forced mode.zip
《SELinux详解中文版》对于想要深入了解SELinux的朋友来说绝对是一本好书。这本书本身就是讲解SELinux方面的权威。SELinux代表linux安全方向全新的探索。希望大家喜欢。
主要介绍在RHEL5上的SELinux细节!
学习selinux很不错的资料
本文档详细介绍了SELinux系统,并且详细讨论了在android平台上应该如何配置SELinux规则 SELinux是一套完整的安全策略,最开始是美国国家安全局和一些公司联合设计为了针对Linux系统的安全隐患而产生的一套系统,它为...
selinux初始化流程