Printer Daemon (Update)

Tim Darby t+dfbsd at timdarby.net
Sun Nov 21 17:25:20 PST 2010


Yep, lpr looks right:-r-sr-sr-x  1 root  daemon  26588 Nov 21 12:56 /usr/bin/lpr
and I haven't put nosuid or nosgid on my filesystems.  It's very puzzling.Tim
On Sun, Nov 21, 2010 at 6:12 PM, Matthew Dillon <dillon at apollo.backplane.com> wrote:
    Hmm.

    apollo:/usr/src/sys/vfs/hammer> ls -la /usr/bin/lpr
    -r-sr-sr-x  1 root  daemon  26588 Oct 21 21:46 /usr/bin/lpr

    Make sure lpr is suid & sgid root:daemon.  I am assuming your
    filesystems aren't being mounted with the nosuid or nosgid mount
    flags as well.

    If lpr can't access the socket it kinda sounds like it isn't running
    sgid.

                                        -Matt





More information about the Users mailing list