Hendrik Boom <[email protected]> writes:

[...]

> Correct:
> root@notlookedfor:/home/hendrik# ls  -ald /var/spool/lpd/hl3170cdw
> drwx------ 2 daemon lp 4096 Oct  5 14:40 /var/spool/lpd/hl3170cdw
> root@notlookedfor:/home/hendrik# 
>
> But with lpr being suid root, should that matter?  At least, I think 
> tht's what the s's mean:
>
> root@notlookedfor:/home/hendrik# which lpr
> /usr/bin/lpr
> root@notlookedfor:/home/hendrik# ls -l /usr/bin/lpr
> -rwsr-sr-x 1 root lp 26536 Nov 20  2014 /usr/bin/lpr
> root@notlookedfor:/home/hendrik# 

JFTR: You're idea of the meaning of the s (first setuid, second setgid)
is correct.
_______________________________________________
Dng mailing list
[email protected]
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

Reply via email to