[cups] Changing CUPS print request-user on MacOs Mojave

Max decimomaximus at gmail.com
Tue Oct 1 07:46:21 PDT 2019


Hi all,
Since I have to configure a "follow-me" Kyocera printer in an enterprise 
environment on a winspooler with AD user, I need to specify a different 
CUPS request-user to print.
By default CUPS sends a print request with the macos session login 
username, so for example if I'm logged in macos with "joe" username, the 
winspooler will receive a print-request with "joe" username, but I won't 
allowed to print because "joe" does not match my AD (Active Directory) 
user. Hence I need to change the CUPS user-request.
On Linux I achieved this by setting the variable CUPS_USER to my AD user 
in /etc/environment file, so CUPS will send the print-request with my AD 
user specified in CUPS_USER.
On MacOS I don't know how to get to solve the problem. I tried to use 
the client.conf with the "User" directive in my $HOME/.cups/ directory, 
but client.conf is deprecated and CUPS hangs.
Is there another way to set the CUPS print request-user in Mojave?

Thanks in advance


More information about the cups mailing list