~ubuntu-branches/ubuntu/quantal/landscape-client/quantal-proposed

15 by Martin Pitt
New upstream release. (LP: #343954)
1
== Non-root mode ==
2
3
The Landscape Client generally runs as a combination of the 'root' and
4
'landscape' users.  It is possible to disable the administrative features of
5
Landscape and run only the monitoring parts of it without using the 'root'
6
user at all.
7
8
If you wish to use the Landscape Client in this way, it's recommended that you
9
perform these steps immediately after installing the landscape-client package.
10
11
Edit /etc/default/landscape-client and add the following lines:
12
13
  RUN=1
14
  DAEMON_USER=landscape
15
16
Edit /etc/landscape/client.conf and add the following line:
17
18
  monitor_only = true
19
20
Now you can run 'sudo landscape-config' as usual to complete the configuration
21
of your client and register with the Landscape service.
22
23
24
== Developing ==
25
1.1.1 by Rick Clark
Import upstream version 1.0.18
26
To run the full test suite, you must have a dbus session bus
27
running. If you don't have one (for example, if you're running the
28
tests in an ssh session), run the following command:
29
30
export DBUS_SESSION_BUS_ADDRESS=`dbus-daemon --print-address=1 --session --fork`
31
32
Then your tests should pass.
33
34
When you want to test the landscape client manually without management
35
features, you can simply run:
36
37
$ ./scripts/landscape-client
38
39
This defaults to the 'landscape-client.conf' configuration file.
40
41
When you want to test management features manually, you'll need to run as root.
42
There's a configuration file 'root-client.conf' which specifies use of the
43
system bus.
44
45
$ sudo ./scripts/landscape-client -c root-client.conf
15 by Martin Pitt
New upstream release. (LP: #343954)
46