Remote printing IRIX 3.3.1
David Hinds
dhinds at elaine33.stanford.edu
Thu Dec 13 09:25:08 AEST 1990
In article <9012110417.aa06748 at VGR.BRL.MIL> FL17 at DLRVMBS.BITNET writes:
>
>Remote printing works nicely via the lp account with no password.
>However, anyone can log in as user "lp" with no password on our machines.
>Does anyone have a method to inhibit interactive logins as user "lp"
>while maintaining the remote printing feature ?
I had a similar problem, in setting up one of our Irises so that a
Personal Iris could make backups remotely - 'bru' and 'mt' need to be
able to access the remote system through a guest account for which a password
isn't necessary. The answer seems to be to give the account an invalid
password, but put an entry in the .rhosts file for that account specifying
that selected outside users are equivalent and don't need to specify a
password when using 'rsh', 'rlogin', etc. Our 'lp' account is set up
this way, as well. So, on the server Iris, the line in /etc/passwd is:
lp:*:9:9:0000-lp(0000):/usr/spool/lp:
and the server's /usr/spool/lp/.rhosts file looks like:
cb-iris2.stanford.edu lp
where cb-iris2 is the Personal Iris. This seems to be reasonably safe.
-David Hinds
dhinds at cb-iris.stanford.edu
More information about the Comp.sys.sgi
mailing list