DragonFly BSD
DragonFly users List (threaded) for 2010-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Printer Daemon (Update)


From: Tim Darby <t+dfbsd@xxxxxxxxxxxx>
Date: Sun, 21 Nov 2010 18:23:27 -0700

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@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]