!-- On Fri 30.Aug'13 at 15:21:03 BST, Kirill Bychkov (ki...@linklevel.net), wrote: > On Fri, August 30, 2013 13:58, James Griffin wrote: > > !-- On Fri 30.Aug'13 at 9:08:05 BST, Fung (fungm...@qq.com), wrote: > >> ------------------ Original ------------------ > >> From: "Tomas Bodzar"<tomas.bod...@gmail.com>; > >> > >> On Tue, Aug 27, 2013 at 2:34 PM, Fung <fungm...@qq.com> wrote: > >> > >> > 1. root login xfce can shutdown the pc smoothly using mouse. > >> > 2. other user in xfce can not shutdown the pc, why? > >> > > >> > # visudo > >> > ... > >> > %wheel ALL=(ALL) SETENV: ALL > >> > share ALL=NOPASSWD: /usr/local/lib/xfce4/session/xfsm-shutdown-helper > >> > ... > >> > > >> > # id share > >> > uid=1000(share) gid=1000(share) groups=1000(share), 0(wheel) > >> > > >> > > >> > # sysctl kern.version > >> > kern.version=OpenBSD 5.4-current (GENERIC.MP) #48: Sat Aug 24 20:31:41 > >> > MDT 2013 > >> > dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP > >> > > >> > > >> > # cat /usr/local/share/doc/pkg-readmes/xfce-4.10p0 > >> > said > >> > Logging out and shutting down the computer > >> > ========================================== > >> > If your installation supports complete shutdown, clicking on the logout > >> > button on panel will permit you to either logout, rebooting or halt > >> > the computer, provided you have the needed sudo credentials. > >> > If you don't want to have to enter your password, simply add this line > >> > to the /etc/sudoers file using visudo: > >> > $your_username ALL=NOPASSWD: > >> > /usr/local/lib/xfce4/session/xfsm-shutdown-helper > >> > ========================================== > >> > > >> > >> are you in operator group? ;-) > >> > >> $ ls -l /sbin/shutdown > >> -r-sr-x--- 1 root operator 222416 Aug 20 00:46 /sbin/shutdown > >> $ > >> > >> . > >> > >> > >> hi, tomas, > >> > >> Shutdown in xfce not work with operator group . > >> > >> BTW, from terminal , user share can halt -p/ shutdown the system. > >> > > > > You could use a better Window Manager/Desktop. The cwm in base is > > excellent. Also, fvwm2 in packages is excellent (I use that one), so are > > some tiling WM's, like dwm and spectrwm. > > > > Maybe you can suggest even better OS to use? Why would I want to do that? OpenBSD is the best os - xfce isn't that great i'm afraid. Simple as that.
> P.S. I'm using xfce and I'm in wheel group - everything works fine. > -- James Griffin: jmz at kontrol.kode5.net A4B9 E875 A18C 6E11 F46D B788 BEE6 1251 1D31 DC38