Scrigroup - Documente si articole

     

HomeDocumenteUploadResurseAlte limbi doc
AccessAdobe photoshopAlgoritmiAutocadBaze de dateCC sharp
CalculatoareCorel drawDot netExcelFox proFrontpageHardware
HtmlInternetJavaLinuxMatlabMs dosPascal
PhpPower pointRetele calculatoareSqlTutorialsWebdesignWindows
WordXml

AspAutocadCDot netExcelFox proHtmlJava
LinuxMathcadPhotoshopPhpSqlVisual studioWindowsXml

pcnfsd linux command

linux



+ Font mai mare | - Font mai mic



pcnfsd

/usr/sbin/rpc.pcnfsd

NFS/NIS command. NFS authentication and print request server. pcnfsd is an RPC server that supports ONC clients on PC systems. pcnfsd reads the configuration file /etc/pcnfsd.conf, if present, then services RPC requests directed to program number 150001. This current release of the pcnfsd daemon (as of this printing) supports both Version 1 and Version 2 of the pcnfsd protocol. Requests serviced by pcnfsd fall into three categories: authentication, printing, and other. Only the authentication and printing services have administrative significance.



Authentication

When pcnfsd receives a PCNFSD_AUTH or PCNFSD2_AUTH request, it will log in the user by validating the username and password, returning the corresponding user ID, group IDs, home directory, and umask. At this time, pcnfsd will also append a record to the wtmp database. If you do not want to record PC logins in this way, add the line:

wtmp off

to the /etc/pcnfsd.conf file.

Printing

pcnfsd supports a printing model based on the use of NFS to transfer the actual print data from the client to the server. The client system issues a PCNFSD_PR_INIT or PCNFSD2_PR_INIT request, and the server returns the path to a spool directory that the client may use and that is exported by NFS. pcnfsd creates a subdirectory for each of its clients; the parent directory is normally /usr/spool/pcnfs and the subdirectory is the hostname of the client system. If you want to use a different parent directory, add the line:

spooldir path

to the /etc/pcnfsd.conf file. Once a client has mounted the spool directory and has transferred print data to a file in this directory, pcnfsd will issue a PCNFSD_PR_START or PCNFSD2_PR_START request. pcnfsd constructs a command based on the printing services of the server operating system and executes the command using the identity of the PC user. Every print request includes the name of the printer to be used. pcnfsd interprets a printer as either a destination serviced by the system print spooler or as a virtual printer. Virtual printers are defined by the following line in the /etc/pcnfsd.conf file:

printer name alias-for command

where name is the name of the printer you want to define, alias-for is the name of a real printer that corresponds to this printer, and command is a command that will be executed whenever a file is printed on name.



Politica de confidentialitate | Termeni si conditii de utilizare



DISTRIBUIE DOCUMENTUL

Comentarii


Vizualizari: 672
Importanta: rank

Comenteaza documentul:

Te rugam sa te autentifici sau sa iti faci cont pentru a putea comenta

Creaza cont nou

Termeni si conditii de utilizare | Contact
© SCRIGROUP 2024 . All rights reserved