|
|
2011-01-25
, 05:19
|
|
Posts: 671 |
Thanked: 1,630 times |
Joined on Aug 2010
|
#112
|
Thanks for figuring this out guys.
After installing cups/cups-client/cups-pdf/gtklp how much rootfs space are you left with?
Regards
|
|
2011-02-10
, 17:56
|
|
|
Posts: 355 |
Thanked: 205 times |
Joined on Jun 2010
@ Germany
|
#114
|
|
|
2011-02-12
, 05:15
|
|
|
Posts: 355 |
Thanked: 205 times |
Joined on Jun 2010
@ Germany
|
#115
|
|
|
2011-02-15
, 14:06
|
|
|
Posts: 355 |
Thanked: 205 times |
Joined on Jun 2010
@ Germany
|
#116
|
| The Following User Says Thank You to mase For This Useful Post: | ||
|
|
2011-02-15
, 16:54
|
|
|
Posts: 355 |
Thanked: 205 times |
Joined on Jun 2010
@ Germany
|
#117
|
|
|
2011-02-15
, 16:58
|
|
|
Posts: 355 |
Thanked: 205 times |
Joined on Jun 2010
@ Germany
|
#118
|
| The Following 2 Users Say Thank You to mase For This Useful Post: | ||
|
|
2011-02-15
, 17:45
|
|
|
Posts: 355 |
Thanked: 205 times |
Joined on Jun 2010
@ Germany
|
#119
|
|
|
2011-02-16
, 22:23
|
|
|
Posts: 4,086 |
Thanked: 8,794 times |
Joined on Aug 2010
@ Ruhrgebiet, Germany
|
#120
|
so I went into cupsd.conf and set everything wide open
(which violates everything you would ever want to do security-wise,
but my goal was just to 'make this work'
why libpam and the permissions game
allow root
allow localhost
order allow, deny
I had to chmod virtually everything in /etc/cups to 755
here is my cupsd.conf file:
# # # Sample configuration file for the Common UNIX Printing System (CUPS) # scheduler. See "man cupsd.conf" for a complete description of this # file. # # Log general information in error_log - change "info" to "debug" for # troubleshooting... LogLevel warning Printcap /etc/printcap # Administrator user group... SystemGroup lpadmin # Only listen for connections from the local machine. Listen localhost:631 Listen /var/run/cups/cups.sock # Show shared printers on the local network. Browsing On BrowseOrder allow,deny BrowseAllow all # Default authentication type, when authentication is required... DefaultAuthType Basic # Restrict access to the server... <Location /> Order allow,deny Allow localhost Allow root Allow all </Location> # Restrict access to the admin pages... <Location /admin> # AuthType BasicDigest # AuthClass Group # AuthGroupName lpadmin # Encryption Required Order allow,deny Allow localhost </Location> # Restrict access to configuration files... <Location /admin/conf> # AuthType Default # Require user @SYSTEM Order allow,deny </Location> # Set the default printer/job policies... <Policy default> # Job-related operations must be done by the owner or an administrator... <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job> # Require user @OWNER @SYSTEM Order allow,deny Allow localhost Allow root Allow all </Limit> # All administration operations require an administrator to authenticate... <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default> # AuthType Default # Require user @SYSTEM Order allow,deny </Limit> # All printer operations require a printer operator to authenticate... <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs CUPS-Reject-Jobs> # AuthType Default # Require user @SYSTEM Order deny,allow Allow localhost Allow root </Limit> # Only the owner or an administrator can cancel or authenticate a job... <Limit Cancel-Job CUPS-Authenticate-Job> # Require user @OWNER @SYSTEM Order allow,deny Allow localhost Allow root Allow all </Limit> <Limit All> Order allow,deny Allow localhost Allow root Allow all </Limit> </Policy> # #but my focus was on getting this to work
so if you have problems just ask, I will soon reflash and do the whole thing again from scratch to make sure I have it right.
I am using power-kernel 46 but I do not think that has any effect on things.
I have a few other apps installed but nothing which should have made a difference to cups
cheers
Three n900s: One for stable working platform,
One for
development testingChopping OnionsOne for
saltwater immersion power testing resurrected !parts scavengingMy Mods for Wonko's Advanced Clock Plugin:
ISO8601 clock mod and Momental_IST clock mod
Printing your Email with the N900