File: README

package info (click to toggle)
wmshutdown 0.2-9
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 176 kB
  • sloc: ansic: 408; makefile: 64
file content (46 lines) | stat: -rw-r--r-- 1,316 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
				  ----------------
				 | wmShutdown 0.2 |
				  ----------------

1. What is wmShutdown?

	wmShutdown is a Window Maker dock application that allows you to shutdown or reboot your machine just by clickig a button on your desktop. 
	It's useful just for desktop machines, so there's no need to keep typing shutdown now -h every time you have to go away for some reason.

	I'd be thankful for any fixes or comments about it.
	
2. Security issues

	As we have to shutdown a machine as a single user, there are some trick that must be remembered here.

	-There are two binaries:
		wmShutdown: The dock itself, because GTK apps can't be suid
		Shutdown: suid program called by wmShutdown just to call /sbin/shutdown

	-During installation, your /sbin/shutdown is set suid
	-The suid binary is installed under /usr/local/bin/Shutdown

	As this was created for workstations, probably there's not much to be afraid. 
	
3. Install/Uninstall

	tar -zxvf wmShutdown-0.1.tar.gz
	cd wmShutdown-0.1
	make dock
	make shutdown
	make install [or uninstall]


4. Licence
	
	wmShutdown is under GPL.

5. Author
	Rafael Vidal Aroca <rafael@linuxqos.cjb.net>

6. Todo
	-Modal window for shutdown
	-Bug: dialog "box" on the corner does not disapeer
	-WINGs interface
	-Interact with window maker, saving desktop state on a shutdown