The Linux Command line tools lp
and lpr
provide the parameter -U
which gives a user the ability to switch into the role of another user. This bypasses the possibility to track the amount of printed pages in a large university network. Therefore a wrapper-program was designed which filters the list of arguments and removes a -U
if it can be found. The compiled binaries have to be installed at a location which is higher ranked in the $PATH
variable than the original binaries.
By Calling $make
the source code will be compiled and with $sudo make install
after compilation the binaries will be copied into the right location. Make sure that /usr/local/bin
is located in the $PATH
variable.