You are not logged in.

#1 2005-02-16 20:41:26

punk
Member
Registered: 2004-11-21
Posts: 29

xdm and allowing normal users do shut down the system

is there a way to configure xdm so a normal user can shutdown the system ?
if not, is there a way to do it with xfce4 ?

Offline

#2 2005-02-16 23:10:09

neri
Forum Fellow
From: Victoria, Canada
Registered: 2003-05-04
Posts: 553

Re: xdm and allowing normal users do shut down the system

punk wrote:

is there a way to configure xdm so a normal user can shutdown the system ?
if not, is there a way to do it with xfce4 ?

As of xfce4 4.2 you can. What to do?
pacman -S sudo
visudo:
add the line:
%users <host>=NOPASSWD: /opt/xfce4/libexec/xfsm-shutdown-helper
where <host> name is your hostname

This way you'll unlock the grayed buttons in the logout dialog.

and you will have to have xfce4 controlled by xfce4-seesion, which should
be  the standard

-neri

Offline

#3 2005-02-17 09:04:40

potentials
Member
Registered: 2004-01-04
Posts: 130

Re: xdm and allowing normal users do shut down the system

Actually it doesn't have anything to do with xdm, it's the permissions of the shutdown and reboot comands that prevent users from shutdown/reboot.

Offline

#4 2005-02-17 09:56:44

punk
Member
Registered: 2004-11-21
Posts: 29

Re: xdm and allowing normal users do shut down the system

installing sudo and editing /etc/sudoers solved it
thank you for your help

Offline

Board footer

Powered by FluxBB