配置turbo linux es11上的ftp(gssftp) and telnet服务,及让root 直接telnet备记

bash-3.2$ hostname
turbolinux.es11.com
[root@turbolinux ~]# bash
[root@turbolinux ~]# clear
[root@turbolinux ~]# cd /etc/xinetd.d
[root@turbolinux xinetd.d]# ls
amanda         chargen-stream  discard-dgram   eklogin       klogin       rlogin         telnet
amandaidx      cvs             discard-stream  ekrb5-telnet  krb5-telnet  rsh            telnet.bak
amidxtape      daytime-dgram   echo-dgram      gssftp        kshell       rsync          time-dgram
chargen-dgram  daytime-stream  echo-stream     gssftp.bak    rexec        tcpmux-server  time-stream
[root@turbolinux xinetd.d]# more telnet
# default: on
# description: The telnet server serves telnet sessions; it uses \
#       unencrypted username/password pairs for authentication.
service telnet
{
        flags           = REUSE
        socket_type     = stream       
        wait            = no
        user            = root
        server          = /usr/sbin/in.telnetd
        log_on_failure  += USERID
        disable         = no   #本来是yes
}

[root@turbolinux xinetd.d]# more gssftp
# default: off
# description: The kerberized FTP server accepts FTP connections \
#              that can be authenticated with Kerberos 5.
service ftp
{
        flags           = REUSE
        socket_type     = stream       
        wait            = no
        user            = root
        server          = /usr/kerberos/sbin/ftpd
        server_args     = -l  #本来是-l -a
        log_on_failure  += USERID
        disable         = no  #本来是yes
}
[root@turbolinux xinetd.d]# service xinetd restart  #重启xinetd服务
Stopping xinetd: [  OK  ]
Starting xinetd: [  OK  ]


[root@turbolinux etc]# more securetty.bak   #为了让root直接telnet,把/etc/securetty改名另一个文件名.就可以了
console
vc/1
vc/2
vc/3
vc/4
vc/5
vc/6
vc/7
vc/8
vc/9
vc/10
vc/11
tty1
tty2
tty3
tty4
tty5
tty6
tty7
tty8
tty9
tty10
tty11
pts/0
pts/1
[root@turbolinux etc]#

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/9240380/viewspace-541354/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/9240380/viewspace-541354/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值