1、修改/etc/pam.d/login文件,将第二行注释掉。 suselinux:/etc/pam.d # more login #%PAM-1.0 auth requisite pam_unix2.so nullok #set_secrpc #auth required pam_securetty.so auth required pam_nologin.so #auth required pam_homecheck.so auth required pam_env.so auth required pam_mail.so account required pam_unix2.so password requ...
首先通过物理终端进入到linux上,手工检查ssh发现没运行 /etc/init.d/sshd status sshd is stopped 手工启动服务,发现报告权限错误。 /etc/init.d/sshd start Starting sshd:/var/empty/sshd must be owned by root and not group or world-writable. [FAILED] 使用rpm -V 命令可检查到ssh的软件包正常,但某个目录的属主错误。 rpm -V openssh-server S.5..... c /etc/ssh/sshd_config .....U.. /var/empty/sshd 经查看发现这个...
大家好! 我今天第一次用suse10,感觉和以前用过的suse8有挺大的差别。现在我想在我的服务器上开通ftp、telnet等功能,按照以前suse8上的方法去改相应的配置文件时发现有些配置文件没有了,比如/etc/inetd.conf,也不知道该怎么启动inetd(在/etc/rc.d和/etc/init.d下面运行inetd start都运行不了;yast2 inetd也没看见inetd这一项)。还请高手指教,多谢了!!!
一般服务器上系统安装完毕后, 要想远程管理它那么除了跟其它linux系统一样要开启配置目录下ssh 在图形界面下开启: 开始——设置——控制面板——找到sshD服务; 把启动改为自启动 这样就OK了。 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u3/108023/showart_2121992.html
一:执行setup命令将ssh服务加入到开机启动项目中。 二:编辑/etc/ssh/sshd_config 配置相应的选项,如permitroot login port等! 三:重新启动ssh服务--ok /etc/init.d/sshd restart 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/22697/showart_1084267.html
作者: Dywesz 出自: http://www.linuxdiyf.com 红旗linux6.0的图形桌面就像Windows一样。 但是安装完毕后,要想远程管理它那么除了跟其它linux系统一样要开启配置目录下ssh外,还要在图形界面下开启: 开始——设置——控制面板——找到sshD服务; 把启动改为自启动 这样就OK了。 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/31/showart_525363.html
本帖最后由 chinaboywg 于 2011-03-24 16:10 编辑 [code]#!/bin/bash #by chinaboyxiaobao #####edit_config function vsftpd_conifg() { sed 's/\#write_enable=YES/write_enable=YES/g' /etc/vsftpd.conf >/etc/vsftpd.conf.tmp mv /etc/vsftpd.conf.tmp /etc/vsftpd.conf sed 's/\#local_enable=YES/local_enable=YES/g' /etc/vsftpd.conf >/etc/vsftpd.conf.tmp mv /etc/vsftpd.conf.tmp /etc/vsftpd....
作者:skid 出处:linux.ccidnet.com 1.修改/etc/vsftpd.conf将里面的write_enable=yes,anonymous_enable=yes,local_login=yes. 2./etc/inetd.conf将里面关于ftp的两行的注释去掉。 3.将/etc/ftpusers中不能出现将来要登录的帐户名。 4。进入/etc/init.d/执行:./inetd restart 。按照以前的经验这样ftp服务就应该打开了。 ftp 127.0.0.1的时候,给出提示:421 service not aviaible,connection closed by remote compte...
来源:赛迪网技术社区 作者:skid 1.修改/etc/vsftpd.conf将里面的write_enable=yes,anonymous_enable=yes,local_login=yes. 2./etc/inetd.conf将里面关于ftp的两行的注释去掉。 3.将/etc/ftpusers中不能出现将来要登录的帐户名。 4。进入/etc/init.d/执行:./inetd restart 。按照以前的经验这样ftp服务就应该打开了。 ftp 127.0.0.1的时候,给出提示:421 service not aviaible,connection closed by remote comp...
作者:skid 出处:linux.ccidnet.com 1.修改/etc/vsftpd.conf将里面的write_enable=yes,anonymous_enable=yes,local_login=yes. 2./etc/inetd.conf将里面关于ftp的两行的注释去掉。 3.将/etc/ftpusers中不能出现将来要登录的帐户名。 4。进入/etc/init.d/执行:./inetd restart 。按照以前的经验这样ftp服务就应该打开了。 ftp 127.0.0.1的时候,给出提示:421 service not aviaible,connection closed by remote comp...