[ale] red hat as print server

David Hamm dhamm at itserve.com
Fri Dec 18 16:53:24 EST 1998


On Fri, 18 Dec 1998, you wrote:
>On Fri, Dec 18, 1998 at 02:33:39PM -0500, Mike Williamson wrote:
>> Do you have an entry for each Unix/Linux server in the /etc/hosts.lpd file? 
>>  In other words, do you have an entry in there for the name of the remote 
>> red hat box?
>
>Yes...once the username was added, it started printing.
>
>> It controls host names that are allowed to print...rather than usernames. 
>
>But it appears that something in red hat is username specific...
You are correct.   The "rs" switch in/etc/printcap is coded weard.  
The idea is that if "rs:" is in the printcap for a specific printer then
access restrictions apply and a local account is required to print or run a
filter.  By taking this out it should resolve this problem but it does not. 
LPD still does not know who to su to when running a filter and discards the
data.  
I hacked lpd to fix this but hack is putting it in a nice way.  I just
changed an "if" statement so that if rs was not specified and the remote user
did not have a local account the uid would be set to daemon.  If you need the
source or binary I'll be happy to give it to you.  Just remember its a cludge
and not a fix.  I also emailed RedHat about this and got the impression they
would be happy for me to fix it but I won't have time to work on it untill
after the first of the year.

---------------------------------
David Hamm
Systems Analyst
Imaging Technologies Services Inc.
email: dhamm at itserve.com
voice: 404-885-5905
---------------------------------






More information about the Ale mailing list