允许telnet
在系统最开始配置的时候,最好能够打开
telnet
,等配置完毕再关闭。
编辑
/etc/xinetd.d/telnet
修改
disable=no
执行
/etc/rc.d/init.d/xinetd restart
增加telnet到root的能力
编辑
/etc/securetty
增加
telnet
的
tty
pts/0
pts/1
pts/2
|
增加普通用户登录后 /sbin 下文件的使用
更改
/etc/profile
文件中如下内容:
if [ `id -u` = 0 ]; then
pathmunge /sbin
pathmunge /usr/sbin
pathmunge /usr/local/sbin
fi
|
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
转载于:https://blog.51cto.com/ameng/199484