Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Are there any problems printing files in /afs?

AFS files printing problems
0
Posted

Are there any problems printing files in /afs?

0

The issue of printing in AFS is almost always the same: what do you send to the printing daemon? Do you send it the bytes you want to print or do you just send the file name containing those bytes? If you send it a file name, you have to be sure that the printing daemon can read it. Most daemons run with no AFS tokens, so can’t access directories unless they are open for system:anyuser read access. Often, printing commands (lpr, lp, enq) have an option that allows for both modes of operation, though the default behavior varies from system to system. If you’re interested in making your daemons authenticate to AFS, check out the example scripts in AFS-Contrib: • file:///afs/transarc.com/public/afs-contrib/tools/reauth-example • ftp://ftp.transarc.com/pub/afs-contrib/tools/reauth-example/MANIFEST Another common problem is setuid printing commands. For instance, the “enq” command runs as root, daemon, or some such user. If you aren’t using the AFS login and simply issue “klog” to get token

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123