SuseLinux上配置Telnet服务,重启xinetd守护进程时的异常

我按下面步骤启动SUSE上的Telnet服务,在重启xinetd守候进程一直报错。请高手指点……

 

# more /etc/pam.d/login
#%PAM-1.0
auth     requisite      pam_nologin.so
auth     [user_unknown=ignore success=ok ignore=ignore auth_err=die default=bad]pam_securetty.so
auth     include        common-auth
account  include        common-account
password include        common-password
session  required       pam_loginuid.so
session  include        common-session
session  required       pam_lastlog.so  nowtmp
session  optional       pam_mail.so standard
session  optional       pam_ck_connector.so

# more /etc/pam.d/login
#%PAM-1.0
auth     requisite      pam_nologin.so
auth     [user_unknown=ignore success=ok ignore=ignore auth_err=die default=bad] pam_securetty.so
auth     include        common-auth
account  include        common-account
password include        common-password
session  required       pam_loginuid.so
session  include        common-session
session  required       pam_lastlog.so  nowtmp
session  optional       pam_mail.so standard
session  optional       pam_ck_connector.so

#把下面文件的第二行注释掉
# vi /etc/pam.d/login
#%PAM-1.0
auth     requisite      pam_nologin.so
#auth     [user_unknown=ignore success=ok ignore=ignore auth_err=die default=bad]        pam_securetty.so
auth     include        common-auth
account  include        common-account
password include        common-password
session  required       pam_loginuid.so
session  include        common-session
session  required       pam_lastlog.so  nowtmp
session  optional       pam_mail.so standard
session  optional       pam_ck_connector.so

 

#如果没有该文件请,新建一个,并把内容写入该文件。如果有该文件,请把disable=?行改为no
#我这里用的是新建
# more /etc/xinetd.
xinetd.conf  xinetd.d/   
linux-vezv:/etc/init.d # more /etc/xinetd.d/telnet
# default: off
# description: Telnet is the old login server which is INSECURE and should \
#        therefore not be used. Use secure shell (op
#        If you need telnetd not to "keep-alives" (e.g. if it runs over a
#        uplink), add "-n".  See 'man telnetd' for more d
service telnet
{
        disable         = no
        socket_type     = stream
        protocol        = tcp
        wait            = no
        user            = root
        server          = /usr/sbin/in.telnetd
}

#重启xinetd守候进程
# /etc/init.d/xinetd restart
Shutting down xinetd: (not running)                                                    done
Starting INET services. (xinetd)                                                       failed

#检查telnet服务当前状态
# chkconfig -l telnet
xinetd based services:
        telnet:             on

 

请各位高手指点……小弟这里谢过了!

你可能感兴趣的:(SUSE,Linux)