linux F&Q

    技术2022-05-11  76

    常常忘了怎么使用,记下来先。 ------------------------------------------------------------------------------------------------------ 1,在文件中查找包含的指定内容   find ./ -name <filepattern> | xargs grep <contentpattern> 2,文件改名   rename from to file...   将文件名中的from替换为to

     

    3,telnet到SUSE10的机器出错:/usr/lib/mit/sbin/login.krb5: No such file or directory

      用yast2装kerbos-server包可以解决该问题,但是登录时的密码提示符会是:Password for <username>:

      其它的登录的工具(如:xmanager的xstart)会用不了telnet登录,要相应的更改提示符配置。

      以下为更改的解决方案(尚未验证):yast2的xinetd设置里禁用第二个telnet服务/usr/lib/mit/telnetd并确保只有第一个telnet服务是启用的,然后重启xinetd。------参考:http://www.linuxforums.org/forum/suse-linux-help/88619-unable-telnet-suse-10-2-box.html


    最新回复(0)