HAL-IS-CALLER-PRIVILEGED(1) General Commands Manual HAL-IS-CALLER-PRIVILEGED(1)NAME
hal-is-caller-privileged - determine if a caller is privileged
SYNOPSIS
hal-is-caller-privileged [options]
DESCRIPTION
hal-is-caller-privileged determines if a specific caller is privileged for a given PolicyKit action on given device. For more information
about both the big picture, HAL and PolicyKit , refer to the HAL spec (which can be found in /usr/local/share/doc/hal/spec/hal-spec.html
depending on the distribution) and also the PolicyKit documentation.
OPTIONS
The following options are supported:
--udi The UDI (Unique Device Identifier) of the device object.
--action
PolicyKit action to check for.
--caller
The unique D-Bus name on the system bus of the caller.
--help Print out usage.
--version
Print the version.
RETURN VALUE
If an error occurs this program exits with a non-zero exit code. Otherwise the textual reply will be printed on stdout and this program
will exit with exit code 0. Unprivileged callers (e.g. with a non-zero uid) can only ask about callers/processes that matches their own
uid.
BUGS
Please send bug reports to either the distribution or the HAL mailing list, see http://lists.freedesktop.org/mailman/listinfo/hal on how to
subscribe.
SEE ALSO hald(8), polkit-check-caller(1)AUTHOR
Written by David Zeuthen <david@fubar.dk> with a lot of help from many others.
HAL-IS-CALLER-PRIVILEGED(1)
Check Out this Related Man Page
HAL-GET-PROPERTY(1) General Commands Manual HAL-GET-PROPERTY(1)NAME
hal-get-property - get a property from a device object
SYNOPSIS
hal-get-property [options]
DESCRIPTION
hal-get-property retrieves a property from a device object in the HAL device database. For more information about both the big picture and
specific HAL properties, refer to the HAL spec which can be found in /usr/local/share/doc/hal/spec/hal-spec.html depending on the distribu-
tion.
OPTIONS
The following options are supported:
--udi The UDI (Unique Device Identifier) of the device object.
--key The name of the property.
--hex Show int32/uint64 values in hex (without a leading 0x).
--verbose
Verbose output.
--help Print out usage.
--version
Print the version.
RETURN VALUE
If both the property and device object exists the value of the property is printed on stdout and the program will exit with exit code 0.
Otherwise the exit code will be non-zero.
BUGS
Please send bug reports to either the distribution or the HAL mailing list, see http://lists.freedesktop.org/mailman/listinfo/hal on how to
subscribe.
SEE ALSO hald(8), lshal(1), hal-set-property(1), hal-find-by-property(1), hal-find-by-capability(1)AUTHOR
Written by David Zeuthen <david@fubar.dk> with a lot of help from many others.
HAL-GET-PROPERTY(1)
What is the point of this? Whenever I close my shell it appends to the history file without adding this. I have never seen it overwrite my history file.
# When the shell exits, append to the history file instead of overwriting it
shopt -s histappend (3 Replies)