1<TITLE> Command-Line Console</TITLE> 2<!-- 3 CDDL HEADER START 4 5 The contents of this file are subject to the terms of the 6 Common Development and Distribution License (the "License"). 7 You may not use this file except in compliance with the License. 8 9 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 10 or http://www.opensolaris.org/os/licensing. 11 See the License for the specific language governing permissions 12 and limitations under the License. 13 14 When distributing Covered Code, include this CDDL HEADER in each 15 file and include the License file at usr/src/OPENSOLARIS.LICENSE. 16 If applicable, add the following below this CDDL HEADER, with the 17 fields enclosed by brackets "[]" replaced with your own identifying 18 information: Portions Copyright [yyyy] [name of copyright owner] 19 20 CDDL HEADER END 21 22-- Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved. 23-- 24--> 25<!-- Tag=ShowCommandConsole --> 26 27<CONTENT> 28 29<p> 30 31The Command-Line Console displays the command-line version of add, 32modify, and delete actions. Errors and warnings may also be 33displayed after the command. 34 35<p> 36 37For example, if you choose Add Access to Printer from the Print 38Manager menu and enter Printer Name = MyPrinter, Printer Server = 39PrintServer2, Description = Local Printer, the Command-line Console 40will display: 41 42<p> 43 44Add Access to printer 45<br> 46% /usr/sbin/lpadmin -p MyPrinter -s PrintServer2 -D "Local Printer" 47 48<p> 49 50The Command-line Console is displayed if the Show Command-Line Console box 51is checked in the Print Manager menu. 52 53<p> 54 55<b>Note: </b>When updating the NIS naming service, there are some 56cases where there is no command line equivalent for what Oracle Solaris Print 57Manager is doing. In these cases what gets reported to the 58Command-Line console is: "rsh [nis_master] ..." or 59"rexec([nis_master]) ..." 60 61<p> 62 63<b>Note: </b>When updating the LDAP naming service, the Oracle Solaris Print 64Manager uses native (or compiled) code to process updates. This 65is done to enhance security related to the LDAP password. The command-line 66used to update the LDAP database is not displayed for security reasons, but 67the log will include the entry "ldap ..." to indicate that the LDAP database 68has been updated. 69 70<p> 71 72</CONTENT> 73 74<KEYWORDS> 75"command-line" log command console show 76</KEYWORDS> 77 78<p> 79 80<SEEALSO> 81Overview 82MainWindow 83ToShowCommand 84</SEEALSO> 85