[sawfish] Description on reboot and shutdown is improved.



commit 72d6891887edab9874c3e9980579a884d205e8e6
Author: Teika kazura <teika lavabit com>
Date:   Thu Nov 12 18:27:58 2009 +0900

    Description on reboot and shutdown is improved.
    It was put in README.IMPORTANT, but moved to faq.texi.

 README.IMPORTANT |   24 ------------------------
 man/faq.texi     |   21 +++++++++++++++++++++
 man/news.texi    |    4 ++++
 3 files changed, 25 insertions(+), 24 deletions(-)
---
diff --git a/README.IMPORTANT b/README.IMPORTANT
index 92cb2b2..9e31af9 100644
--- a/README.IMPORTANT
+++ b/README.IMPORTANT
@@ -1,29 +1,5 @@
 In Sawfish 1.6.0 there are the following major changes:
 
-reboot/shutdown from root-menu
-******************************
-
-The sawfish root-menu has a session sub-menu which allows you
-to reboot and/or shutdown your machine. If you use GNOME or KDE,
-no additional work by you is required. But if you use sawfish
-standalone, you have to make sure that you're allowed to execute
-`shutdown', there are several ways to achieve that, the suggested
-approach is to use sudo combined with a group called shutdown:
-
-;; add a new group called `shutdown'
-groupadd shutdown
-
-;; add user to the `shutdown' group
-adduser misterx shutdown
-
-;; add the group `shutdown' to sudoers
-visudo
-  
-  ;; add the following:
-  %shutdown ALL=(root) NOPASSWD: /sbin/shutdown
-
-That's it, now everyone in the shutdown group can do it!
-
 sawfish-ui is now sawfish-config
 ********************************
 
diff --git a/man/faq.texi b/man/faq.texi
index 72b3b4a..07578b6 100644
--- a/man/faq.texi
+++ b/man/faq.texi
@@ -154,6 +154,27 @@ So @emph{don't} run the net server with X access control disabled
 
 From a shell lauch the following command: @code{sawfish-client -q -f restart}
 
+ item Reboot and shutdown privilege.
+
+The Sawfish root-menu has a ``session'' sub-menu which allows you to
+reboot and shutdown your machine. If you use GNOME or KDE, no
+additional work is required. But if you use Sawfish standalone, the user
+needs the privilege to execute @code{shutdown} command.
+
+You can do it, for example, with @code{sudo} combined with user group
+ code{shutdown}:
+
+ example
+$ groupadd shutdown      # add a new group called "shutdown"
+$ adduser john shutdown  # add user "john" to the "shutdown" group
+$ visudo                 # add the group "shutdown" to sudoers
+  
+# add the following:
+%shutdown ALL=(root) NOPASSWD: /sbin/shutdown
+ end example
+
+That's it, now everyone in the @code{shutdown} group can do it!
+
 @item Why don't you use GUILE?
 
 Mainly because I'm lazy; I had already written rep, and therefore
diff --git a/man/news.texi b/man/news.texi
index cd7580d..5584fd7 100644
--- a/man/news.texi
+++ b/man/news.texi
@@ -125,6 +125,10 @@ own applications menu and auto generated one, then set your own in
 
 Root menu is revamped, too. [Christopher Bratusek]
 
+Now you can reboot and shutdown your computer from the root menu ->
+``session'', but the user needs the appropriate privilege. For a way
+to do so, see @xref{FAQ}, ``Reboot and shutdown privilege'' section.
+
 @item Added options to change the font color of window title, independent of used theme [Matthew Love, Christopher Bratusek, Timo Korvola]
 
 Internally, a new function @code{remove-frame-part-value} which allows to change/remove values from frame-parts is used. [Timo Korvola]



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]