unsharePrinters(1M)
unsharePrinters - stop sharing local printers with remote hosts.
As shipped in IRIX 6.5. First release of IRIX 6.5.
NAME unsharePrinters - stop sharing local printers with remote hosts. SYNOPSIS /usr/sysadm/privbin/unsharePrinters DESCRIPTION unsharePrinters is a privileged command that disables the sharing of local printers by removing the .rhosts file for the "lp" user account. Additionally, if the "lp" account has no password, '*' is written into the password field for the "lp" account in /etc/passwd. This prevents the "lp" account on other hosts from being able to rlogin(3C) to the local "lp" account, which disables printer sharing. CAVEATS unsharePrinters will not succeed in disabling access to local printers if one of the files /etc/hosts.equiv or /etc/hosts.lpd contains entries other than "localhost". hosts named in either of these files will be able to submit print jobs. sharePrinters detects these cases and issues warnings to the system administration log, /var/sysadm/salog. FILES /var/spool/lp/.rhosts List of hosts which can rlogin to the lp account. /etc/passwd Database of user accounts. /etc/hosts.equiv List of equivalent hosts. /etc/hosts.lpd Remote access file for the bsd spooler, lpd(1M). SEE ALSO sysmgr(1M), runpriv(1M), rlogin(1C), sharePrinters(1M), lpsched(1M), lpd(1M), hosts.equiv(4).