X-Git-Url: http://git.rot13.org/?p=BackupPC.git;a=blobdiff_plain;f=conf%2Fhosts;h=5cd8cf202030b3c672f763c051d638ab700a0a0d;hp=5107955f510484519ab5c86c3a047ff4f68d724e;hb=bc72241a845cd61a6386ec1394ca9d49c3fae3de;hpb=1ce7d1541ea1279aaa0a75c16986a3fd40b608ec diff --git a/conf/hosts b/conf/hosts index 5107955..5cd8cf2 100644 --- a/conf/hosts +++ b/conf/hosts @@ -12,31 +12,45 @@ # # - The host name. If this host is a static IP address this # must the machine's IP host name (ie: something that can -# be looked up using nslookup or DSN). If this is a DHCP +# be looked up using nslookup or DNS). If this is a DHCP # host then the host name must be the netbios name of the -# machine. +# machine. It is possible to have a host name that contains +# spaces, but that is discouraged. Escape a space with "\", eg: # -# - DHCP flag. Set to 0 if this is a static IP address host. -# Otherwise, set to 1 for DHCP hosts. +# craigs\ pc +# +# - DHCP flag. Set to 0 if this is a static IP address host +# or if the machine can be found using nmblookup. Otherwise, +# if the client can only be found by looking through the DHCP +# pool then set this to 1. # # - User name (unix login/email name) of the user who "owns" # or uses this machine. This is the user who will be sent # email about this machine, and this user will have permission -# to stop/start/browse/restore backups for this host. +# to stop/start/browse/restore backups for this host. This +# user name must match the name the user authenticates with +# via apache. +# +# - Optional additional user names (comma separated, no white space) of +# users who are also allowed to stop/start/browse/restore backups +# for this client via the CGI interface. These users are not sent +# email. These do not need to be valid email names; they simply +# need to match the name the user authenticates with via apache. # # AUTHOR # Craig Barratt # # COPYRIGHT -# Copyright (C) 2001 Craig Barratt +# Copyright (C) 2001-2009 Craig Barratt # # See http://backuppc.sourceforge.net. # #======================================================================== # -# The first non-comment line gives the field names and should not be edited!! +# The first non-comment non-empty line gives the field names and should +# not be edited!! # -host dhcp user # <--- do not edit this line -#farside 0 craig # <--- example static IP host entry -#larson 1 bill # <--- example DHCP host entry +host dhcp user moreUsers # <--- do not edit this line +#farside 0 craig jill,jeff # <--- example static IP host entry +#larson 1 bill # <--- example DHCP host entry