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

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

Contents


UNSHAREPRINTERS(1M)					   UNSHAREPRINTERS(1M)


NAME    [Toc]    [Back]

     unsharePrinters - stop sharing local printers with	remote hosts.

SYNOPSIS    [Toc]    [Back]

     /usr/sysadm/privbin/unsharePrinters

DESCRIPTION    [Toc]    [Back]

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

     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    [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), sharePrinters(1M), lpsched(1M),
     lpd(1M), hosts.equiv(4).


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
sharePrinters IRIX share local printers with remote hosts.
unshareRemovableMedia IRIX stop sharing a removable media device
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
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
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.
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service