redhat5开启xmanager方法

redhat5开启xmanager方法

ID:14064559

大小:28.00 KB

页数:3页

时间:2018-07-25

redhat5开启xmanager方法_第1页
redhat5开启xmanager方法_第2页
redhat5开启xmanager方法_第3页
资源描述:

《redhat5开启xmanager方法》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库

1、一、XMANAGER 连接到REDHATAS5 需要修改的地方。配置文件位置:/usr/share/gdm/default.conf修改配置选项:[xdmcp]段DisplaysPerHost=101、Enable=true //257行2、Port=177//284行[security]段3、AllowRemoteRoot=true //214行 替换原来最后一行为/etc/inittab文件最后一行为x:5:respawn:/usr/bin/gdm使用命令gdm-restart重启gdm;查看gdm监听端口开启成功;netstat-nltpu

2、grep177xmanage

3、r连接不上,可能关闭RedHat防火墙serviceiptablesstop二、如果允许Root用户连接到XMANAGER需要修改以下内容:    #vi/usr/share/gdm/defaults.conf  [security]#Allowroottologin. Itmakessensetoturnthisoffforkioskuse,when#youwanttominimizethepossibilityofbreakin.AllowRoot=true#AllowloginasrootviaXDMCP. Thisvaluewillbeoverriddenandset

4、to#falseifthe/etc/default/loginfileexistsandcontains#"CONSOLE=/dev/login",andsettotrueifthe/etc/default/loginfileexists#andcontainsanyothervalueornovalueforCONSOLE.AllowRemoteRoot=true#Thiswillallowremotetimedlogin.AllowRemoteAutoLogin=false#0isthemostrestrictive,1allo    #vi/etc/securetty.

5、.....tty2tty3tty4tty5tty6tty7tty8tty9tty10tty11pts/0pts/1pts/2pts/3pts/4  添加这一些。    #vi/etc/pam.d/login  #%PAM-1.0#auth[user_unknown=ignoresuccess=okignore=ignoredefault=bad]pam_securetty.soauth      include     system-authaccount   required    pam_nologin.soaccount   include     system-aut

6、hpassword  include     system-auth#pam_selinux.socloseshouldbethefirstsessionrulesession   required    pam_selinux.soclosesession   include     system-authsession   required    pam_loginuid.sosession   optional    pam_console.so#pam_selinux.soopenshouldonlybefollowedbysessionstobeexecutedin

7、theusercontextsession   required    pam_selinux.soopensession   optional    pam_keyinit.soforcerevoke~  #vi /etc/pam.d/remote  #%PAM-1.0#auth      required    pam_securetty.soauth      include     system-authaccount   required    pam_nologin.soaccount   include     system-authpassword  incl

8、ude     system-auth#pam_selinux.socloseshouldbethefirstsessionrulesession   required    pam_selinux.soclosesession   include     system-authsession   required    pam_loginuid.sosession   optional    pam_console.so#pam_selinux.soopenshouldonlybefollowedby

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。