hier unter ubuntu 20.04 server
apt-get update && sudo apt-get upgrade -y && sudo apt-get install samba -y && sudo apt-get install avahi-daemon cups cups-pdf python-cups -y && sudo apt-get install cups -y
nano /etc/cups/cupsd.conf
Listen localhost:631
Listen *:631
#Only listen for connections from the local machine.
Listen *:631
Listen /run/cups/cups.sock
#Restrict access to the server...
Order allow,deny
Allow @LOCAL
#Restrict access to the admin pages...
Order allow,deny
Allow @LOCAL
#Restrict access to configuration files...
AuthType Default
Require user @SYSTEM
Order allow,deny
Allow @LOCAL
usermod -aG lpadmin root
service cups restart
adduser deinname
sudo usermod -aG lpadmin deinname
sudo service cups restart
deinname@CUPS:~$ su
Password:
root@CUPS:/home/deinname#
passwd -l root
sudo service cups restart
root@CUPS:/home/deinname# passwd -l root
passwd: password expiry information changed.
root@CUPS:/home/deinname#
gefunden auf: https://www.technik22.de/d/42-printserver-cups-unter-proxmox-installieren