How to ignore a user in PaperCut

Under certain circumstances you may wish to ignore a username and stop it from appearing in the ‘Users’ list in PaperCut MF/NG.

The best solution is to restrict the users being imported into PaperCut by using a Group or Organizational Unit (OU) in your directory source as described here: User and Group Synchronization - and then making sure the user(s) that you want to ignore (that you don’t want to be imported) are not in the sync group.

However, there may be other reasons you want to ignore a user:

  • System accounts used in batch printing
  • System accounts that will never print and hence should not appear in reports (e.g. the sever server www account)
  • Special users who should not be tracked (e.g. “the boss”)

How to specify users to ignore through a config key:

Use the PaperCut config key: user-source.ignored-users to specify a comma-separated list of usernames to be ignored.

You can ignore:

  • a single username
  • multiple usernames (using a regular expression). Regular expression values must start with “/” and end with “/”.

Important: This config key can contain a maximum of 1,000 characters. If your list is longer than 1,000 characters, subsequent config keys will be created (for example, user-source.ignored-users.1). If you want to add user names to the list, make sure you add them to the last config key in the sequence.

Please ensure that at the end of each config key, a comma follows the last username.

Are ignored users still popping up in the User list?

When you add a username to this list, they will not be imported into PaperCut by the overnight sync process.

However, if the user(s) print to a monitored print queue, they will be added. They will also be added if they run the PaperCut User Client or log into the PaperCut User Web Client.

If you need to ignore users that do print you may want to arrange for them to print to an Ignored Print queue or carefully consider modifying On Demand User creation settings to make sure that ignored users are not added automatically when they print.

Default list of ignored users

By default PaperCut ignores a number of standard system users. They are:

Any user starting with _ (underscore)
___vmware_conv_sa___
_avbdeviced
_ces
_coreaudiod
_cvmsroot
_devicemgr
_dovecot
_dovenull
_dpaudio
_ftp
_installassistant
_kadmin_admin
_kadmin_changepw
_krb_anonymous
_krb_changepw
_krb_kadmin
_krb_kerberos
_krb_krbtgt
_krbtgt
_lda
_locationd
_netbios
_netstatistics
_networkd
_pcastlibrary
_postgres
_screensaver
_scsd
_softwareupdate
_taskgated
_timezone
_trustevaluationagent
_usbmuxd
_warmd
_webauthserver
amavisd
appowner
appserver
ard
atsserver
backup
bin
calendar
clamav
cvs
cyrus
cyrusimap
daemon
devdocs
eppc
games
installer
irc
jabber
lp
mail
mailman
man
mcxalr
mdnsresponder
mysql
news
nobody
pcastagent
pcastserver
postfix
proxy
qtss
sandbox
securityagent
serialnumberd
spotlight
sshd
svn
sys
teamsserver
tokend
unknown
update_sharing
uucp
windowserver
www
www-data
xgridagent
xgridcontroller

Categories: How-to Articles, User Management


Keywords: ignored, missing user, missing users, reserved,reserved username, sAMAccountName, username

Comments