*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> sysadm/sharePrinters (1)              
Title
Content
Arch
Section
 

Contents


SHAREPRINTERS(1M)					     SHAREPRINTERS(1M)


NAME    [Toc]    [Back]

     sharePrinters - share local printers with remote hosts.

SYNOPSIS    [Toc]    [Back]

     /usr/sysadm/privbin/sharePrinters -all
     /usr/sysadm/privbin/sharePrinters -hosts host-name	[ ... ]

DESCRIPTION    [Toc]    [Back]

     sharePrinters is a	privileged command that	enables	the sharing of local
     printers by editing the .rhosts file for the "lp" user account.  When
     "lp" on one IRIS can rlogin(1C) to	the "lp" account on another IRIS, the
     first IRIS	can then forward print jobs to the second IRIS.

     When the -all option is used, /var/spool/lp/.rhosts is edited to contain
     one line with the single character	'+'.  This enables remote access for
     all hosts.

     When the -hosts option is used, /var/spool/lp/.rhosts is edited to
     contain one line for each host specified on the command line.  The
     canonical host name is used for each host specified.  Additionally, if
     the "lp" account has no password, '*' is written into the password	field
     for the "lp" account in /etc/passwd.  This	disables logins	to the "lp"
     account from machines that	are not	mentioned in /var/spool/lp/.rhosts (or
     /etc/hosts.equiv; see below). This	restricts remote access	to those hosts
     specified on the sharePrinters command line.

CAVEATS    [Toc]    [Back]

     sharePrinters -hosts will not succeed in restricting access to the	hosts
     passed in on the command line 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	also be	able to	submit print jobs.
     sharePrinters detects these cases and issues warnings to the system
     administration log, /var/sysadm/salog.

     If	one of the hosts passed	to sharePrinters -hosts	is also	sharing
     printers, it is possible that unauthorized	hosts can forward jobs through
     that host.

FILES    [Toc]    [Back]

     /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    [Toc]    [Back]

      
      
     sysmgr(1M),  runpriv(1M), rlogin(1C), unsharePrinters(1M),	lpsched(1M),
     lpd(1M), hosts.equiv(4).


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
unsharePrinters IRIX stop sharing local printers with remote hosts.
dxhosts Tru64 Provides host management capabilities for local and remote hosts
rhosts HP-UX security files authorizing access by remote hosts and users on local host
hosts.equiv HP-UX security files authorizing access by remote hosts and users on local host
.rhosts HP-UX security files authorizing access by remote hosts and users on local host
rcp Tru64 Copies files on the same host, between a local host and a remote host, and between two remote hosts
listPrinters IRIX get list of printers from a remote system
hosts.lpd FreeBSD trusted hosts that may use local print services
rwho Tru64 Shows which users are logged into hosts on the local network.
grolbp FreeBSD groff driver for Canon CAPSL printers (LBP-4 and LBP-8 series laser printers).
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service