在 2006-08-27日的 15:04 +0200,Anders Johansson写道:
On Sunday 27 August 2006 12:16, 张韡武 wrote:
Hello. I miss the good old days on almost every Linux that normal users cannot shutdown the machine. I have a SuSE 10.1 installation which has to be on for all the time. Every user go to click 'Desktop' -> 'Logout', then, instead of given this dialog: gopher://sdf.lonestar.org/I/users/weiwu/logout_prompt_1.png This dialog is given: gopher://sdf.lonestar.org/I/users/weiwu/logout_prompt_2.png
What I want is dialog 1. What I have is dialog 2.
Can I achieve it?
Edit /etc/sysconfig/displaymanager, and change DISPLAYMANAGER_SHUTDOWN to "root", then run /sbin/SuSEconfig and restart kdm
As far as I know this change affects only the display manager, (also available as Yast option in local security policy). Current problem is that I wish to disable user from shutdown the computer when he logs out! 1. If I start gnome with startx, I click logout, I was asked if I wish to logout. 2. If I login remotely with XDMCP, I click logout, I was asked if I wish to logout. 3. If I start gnome with gdm, I click logout, I was asked if I wish to shutdown the computer, reboot the computer or logout. I need behavior of 1) and 2) AND still use gdm. Is there a way out? -- 锐业软服(国内业务) http://www.realss.cn Real SoftService http://www.realss.com 销售咨询(Sales Department): 0086 592 20 99987 (Chinese, German, English) 国际业务(International Sales): 0086 10 8460 6011 (German and English) 联系:厦门大学科技园,嘉庚二号楼6楼 邮政:厦门大学2312号信箱(邮编361005)