This file is indexed.

/usr/bin/cipux_object_client is in cipux-object-tools 3.4.0.5-2build1.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

  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
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
#!/usr/bin/perl -w -T

eval 'exec /usr/bin/perl -w -T -S $0 ${1+"$@"}'
    if 0; # not running under some shell
# +==========================================================================+
# || cipux_object_client                                                    ||
# ||                                                                        ||
# || Command line interface for CipUX Object layer.                         ||
# ||                                                                        ||
# || Copyright (C) 2007 - 2009 by Christian Kuelker,                        ||
# ||                            All rights reserved!                        ||
# ||                                                                        ||
# || License: GNU General Public License - GNU GPL version 2                ||
# ||          or (at your opinion) any later version.                       ||
# ||                                                                        ||
# +==========================================================================+
# ID:       $Id$
# Revision: $Revision$
# Head URL: $HeadURL$
# Date:     $Date$
# Source:   $Source$

package cipux_object_client;    ## no critic (Capitalization)

use 5.008001;
use strict;
use warnings;
use Carp;
use CipUX::Object::Client;
use version; our $VERSION = qv('3.4.0.3');
delete @ENV{qw(PATH IFS CDPATH ENV BASH_ENV)};    # Make %ENV safer

# +=============================================================================+
# || MAIN                                                                      ||
# +=============================================================================+
my $client = CipUX::Object::Client->new( { name => 'cipux_object_client' } );

$client->run();

exit 0;

__END__

=pod

=head1 NAME

cipux_object_client - create, destroy CipUX objects

=head1 VERSION

version 3.4.0.3

=head1 SYNOPSIS

 cipux_object_client [OPTIONS] -a <ACTION>

 cipux_object_client [OPTIONS] -a list
 cipux_object_client [OPTIONS] -a create -t <TYPE> -o <OBJECT>
 cipux_object_client [OPTIONS] -a destroy -t <TYPE> -o <OBJECT>


=head1 OPTIONS

        -c | --cfg             : cipux-object.conf
        -D | --debug [<LEVEL>] : print debug messages for developers
        -h | --help            : print help (this message + options)
        -l | --list            : lists configuration scopes
        -p | --pretty          : nice boxed output
        -V | --version         : print only version
             --verbose         : print more messages


=head1 USAGE

 cipux_object_client [OPTIONS] -l             : lists CipUX objects

 cipux_object_client [OPTIONS] -h             : help page

 cipux_object_client [OPTIONS] -V             : prints version


=head1 DESCRIPTION

TODO


=head1 REQUIRED ARGUMENTS

One of -l or -h or -V is required.

=head1 ARGUMENTS

=over 4

=item I<-c>

Same as option --cfg.

=item I<--cfg>

To specify the configuration file, if any. The preset location
for the configuration file is:

 (1) ~/.cipux/cipux-object.conf

or

 (2) /etc/cipux/cipux-object.conf

If both are missing, you have to use this option --cfg to specify one.

=item I<-D>

Same as option --debug.

=item I<--debug>

To see more output, what the internals is doing, you can enable the --debug and
see more messages printed to STDOUT. The suggestion is not to use debug output
for production code.

=item I<-h>

Same as option --help

=item I<--help>

Prints brief help message.

=item B<-l>

Same as option --list

=item I<--list>

Lists all object scopes. The object scopes are read from the configuration
file.  The preset location of the configuration file is
/etc/cipux/cipux-storage-structure.conf. One object type is needed for the
--type option.

Prints a list of configuration types to STDOUT. No object will be changed.
This is useful if (1) you would like to see what kind of objects this layer can
handle and (2) if you would like to test the preset or another object layer
configuration file. You can use this with all other options, they will be
ignored except -p | -pretty or -D | --debug.

Example:

 cipux_object_client -l -p

 +-----------------------+
 | type                  |
 +=======================+
 | cipux_account         |
 | cipux_share           |
 | cipux_room            |
 | cipux_configuration   |
 | cipux_machines        |
 | netgroup              |
 | cipux_room            |
 +-----------------------+

=item I<-p>

Same as option --pretty.

=item I<--pretty>

On command which produce an output, this option can be used to draw a fancy box
around the output.

=item I<-V>

Same as option --version.

=item I<--version>

Prints the version and exits.

=item I<--verbose>

Not implemented jet.

=item I<-v>

Same as option --verbose.

=back


=head1 DIAGNOSTICS

TODO


=head1 EXIT STATUS

TODO


=head1 CONFIGURATION

TODO


=head1 DEPENDENCIES

Carp
CipUX::Object::Client
version


=head1 INCOMPATIBILITIES

Not known.


=head1 BUGS AND LIMITATIONS

Not known.

=head1 SEE ALSO

See the CipUX web page and the manual at L<http://www.cipux.org>

See the mailing list L<http://sympa.cipworx.org/wws/info/cipux-devel>

=head1 AUTHOR

Christian Kuelker  E<lt>christian.kuelker@cipworx.orgE<gt>

=head1 LICENSE AND COPYRIGHT

Copyright (C) 2007 - 2009 by Christian Kuelker

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
published by the Free Software Foundation; either version 2, or (at
your option) any later version.

This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA


=head1 DISCLAIMER OF WARRANTY

BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE
ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH
YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL
NECESSARY SERVICING, REPAIR, OR CORRECTION.

IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENCE, BE
LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL,
OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE
THE SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.

=cut