Connect with us

Hi, what are you looking for?

Linux

How to Disable Lock Down Printing Access on CentOS 7

How to disable and Lock Down Printing Access in CentOS 7 / RHEL 7 / Scientific Linux 7 / Oracle Linux 7.  This function is used to disable and lock down the native printing dialogue box for a certain applications that supports its form factors and 100% compatibility with this printing dialogue box that is shown during the printing commands executions. This tutorial is useful to those who don’t want any printing supports for respective users to lock down support for the  printer that is connected via network and desktop methods.

How to Disable & Lock Down Printing Access in CentOS 7 / RHEL 7

Step-1 (Create a user profile on system database)
[root@techbrown ~]# vim /etc/dconf/profile/user

Add the User name to the file if don’t have user name then create it from this configuration settings.

user-db:user
system-db:local
system-db:site
system-db:distro

To edit hit the i after that to Save and exit :wq!

Note: Replace the db name of user with own list of users followed by the name of users , types of system db. etc.

Step-2 (Create a lockdown file for local database)
[root@techbrown ~]# vim /etc/dconf/db/local.d/00-lockdown

Add these entries to that files

Advertisement. Scroll to continue reading.
[org/gnome/desktop/lockdown]
disable-printing=true

To edit hit the i after that to Save and exit :wq!

Step-3 (Restrict these changes for user and prevent it for changes)
[root@techbrown ~]# vim /etc/dconf/db/local.d/locks/lockdown

Add these entries to that files

org.gnome.desktop.lockdown.disable-printing

To edit hit the i after that to Save and exit :wq!

Step-4 (Finally update the System Database)
[root@techbrown ~]# dconf update

These setting are successfully working with only Gnome bundled applications like gedit, Evolution, Document viewer, etc.

Advertisement. Scroll to continue reading.

Final Results

Now you have disabled the printing services for gnome applications. After that your user won`t able to run any printing services on the respective compatible gnome apps. this let system admin to choose whether the respective network and desktop printing services. for any other queries and services you can use the comment section below.

Comments
Advertisement
Advertisement
Advertisement

You May Also Like

Windows

How to auto upgrade JioFi firmware for JioFi 2 / JioFi 3 / JioFi 4 / JioFi 5 / JioFi 6 and other JioFi...

Windows

Internet is the most important public network for connecting to the WEB. For internet connection requirement the ISP is required as well as it...

Windows

How to download and install the Mobile Intel 4 Series Express Chipset Graphics Drivers for Windows 10.  Windows 10 is the one of the...

Windows

How to Install and Configure PCSX2 on Windows 10. The Windows 10 is the most recommended operating system for the Games. In stream platform...