 |
 |
 |
 |
 |
HELIOS PCShare 3.1 User manual
|
Please refer to the HELIOS Base 1.1 manual for PCShare installation instructions. Once PCShare is installed on the server, it must be configured using the PCShare Admin application. See
A 1 "Connecting Windows clients to the PCShare server" if client configuration is needed.
PCShare Admin is the HELIOS UNIX application used by system administrators to configure the HELIOS server settings. System data such as users and groups can be entered, and PCShare settings such as volumes and printer queues can be defined.
PCShare Admin is started by issuing the following command in the UNIX shell:
cd /usr/local/helios
bin/pcadmin
A UNIX shell can be accessed from a Windows client via the Windows "telnet" application, if the server allows "telnet" logins.
Note: In most Windows versions, the "telnet" application does not correctly support all necessary emulation sequences; therefore the display may look distorted and some keys may not function correctly. In such cases use another Windows terminal application.
Fig. 1: PCShare Admin Login warning
|
Note: You must be "root" or at least a member of the "SysAdm", "QueueAdm", or "PrnAdm" group to make any changes on the server (Fig. 1).
This chapter describes the use of PCShare Admin by the system administrator or other designated persons in order to configure the PCShare system in a convenient and secure way. It can also be used to set up regular users, groups, and printers on the server.
PCShare Admin is also available to other, regular PCShare users, to allow them to inspect the current PCShare configuration and printer queues, but only designated persons can make changes (see
Security - who can use PCShare Admin? below).
Important: With PCShare Admin, version 3.1, you cannot configure a version 2.5 (or older) PCShare. Likewise, a version 2.5 Admin cannot be used for setting up PCShare 3.1 on the server.
Other chapters in this manual describe how administrative work, which is required to configure and maintain the PCShare System, can be carried out directly on the host, e.g. with the help of a standard editor program such as vi. However, we recommend PCShare Admin to configure the system since most of these tasks can be carried out much easier by using PCShare Admin.
PCShare Admin accesses and modifies various system configuration files, just as if the changes had been made with an editor. However, PCShare Admin has built-in safety checks to avoid conflicting or invalid configuration settings.
Changes in the configuration file "Preferences" (except
for changes in the "IP access" list, which require a new PCShare client login) will be recognized immediately.
- Any new PCShare volumes will be available immediately
- Any changes to PCShare volumes, e.g. setting "Groups" membership, will be available immediately
Make it a habit to use PCShare Admin's feature of sending messages to connected Windows clients to notify them in advance of potential damaging changes. With the option
Activities > PC Activities you can verify which users do have certain volumes in use. Just open this menu before you change any settings to volumes and it will list the currently logged-in Windows clients. The
PC Activities window will be updated automatically every 15 seconds.
Security -
who can use PCShare Admin?
PCShare Admin is basically available to all PCShare users (via remote login), to allow them to inspect the current PCShare configuration and printer queues, but only the system administrator and members of three special groups (see below) are allowed to make any configuration changes or delete and re-schedule print jobs.
Members of the System Administrator group (default group name "SysAdm") can do all tasks that the system administrator can do with the exception of changing user data for any users with a user ID less than 100 (note that the system administrator has a user ID of 0).
Members of the Printer Administrator group (default group name "PrnAdm") can perform print job related tasks.
The additional Queue Administrator group (default group name "QueueAdm") can change queue settings, i.e. perform all tasks which are related to printer queue configuration and printer queue management.
E.g. "PrnAdm" is allowed to:
E.g. "QueueAdm" is allowed to:
- perform any task "PrnAdm" is allowed to do
- create/change/remove/export printer queues
3.1.1 Navigating through PCShare Admin
PCShare Admin is a UNIX program and does not support mouse operation. It is designed to be fully operable with the keys available on a standard "vt100"-keyboard. On PC keyboards, additional keys (cursor keys,
Begin,
End, etc.) are also supported.
For instructions on how to navigate through PCShare Admin see 4.1.4 "Navigating through the HELIOS Installer" in the HELIOS Base manual. The key functions (or alternatively the "Ctrl" sequences) are the same in the HELIOS Installer and PCShare Admin.
3.2 Setting Admin preferences
Choosing
Preferences from PCShare Admin opens a window that allows various standard settings for PCShare Admin to be changed according to your individual taste (Fig.
2).
The settings are stored in PCShare Admin preferences file ".pcadmin" in the home directory of the respective user (e.g. "/home/john" for user "John" or "/" for "root"), whenever you save changes in the dialogs
Users/Groups,
Printer, or
Language. This allows PCShare Admin to be configured individually for each connected user.
Fig. 2: The Preferences window
|
Three of the default parameters, which are prompted when creating a new user or group, can be specified here: The user's
Start program, the
Home directory, and the
Primary group. Setting appropriate defaults can save time when creating new users, since these three fields are generally configured with similar entries. The entry in the
Home directory field should be terminated with a "/" character. The
Set user ID and
Set group ID flags determine if the respective ID fields are provided in the
Configure Users or
Configure Groups menus of PCShare Admin.
Important: When specifying paths in the Spool directory or Home directory fields make sure these higher-level directories already exist!
Use this field to specify the default path to the spool directories which are used when creating a new printer. Setting an appropriate default can save time when setting up new printers since this field is generally the same for all printer queues. The entry in the
Spool directory field should be terminated with a "/" character. You should avoid NFS-mounted spool directories because of the loss of performance. If the
Smart print job title flag is activated the print job title is automatically displayed - when printing to a network printer - in Unicode (UTF-8) notation. Fig.
3 shows the same print job with (lower window) and without (upper window) the option activated.
Fig. 3: Smart print job title option
|
Note: The default spool directory is "/var/spool/". In case the required spool directory has a path different than
"/var/spool/" you must state the correct path in the Printer Preferences window. You should always verify the free space in the spool directory you choose, because the space requirements may be high during printing.
To verify the free space available, go to "/var/spool/" and issue the "df ."
command. Compare the free space value to other file systems by using the "df"
command. If necessary, establish a separate file system for spooling.
Fig. 4: Saving changes in the Printer Preferences dialog
|
The pop-up menu
Language is used to select the desired dialog language for menus, messages and screen prompts. Please note that currently only
English is available.
If you make any changes in one or more
Preferences windows, they are only valid after confirming with
Ok. Select
Cancel to close the
Preferences window without saving changes, as the example from the
Printer Preferences shows (Fig.
4).
The
Setup menu in PCShare Admin allows you to:
- configure a PCShare bootserver for automatic IP address assignment (DHCP TCP/IP)
- Character Translation to be used for printers
- Browsing in order to set up LMB (Local Master Browser - see 5.5 "About WINS and Browsing") behavior and appearance in the Network Neighborhood menu of Windows PCs
- WINS to use the PCShare server as WINS or WINS Proxy
- IP Access to generate an IP access list for the PCShare server (Fig. 5)
3.3.1 Configuring DHCP and TCP/IP
Each Windows client on the network needs a unique IP address, and there are three ways to get this address:
- Statically configured from "/etc/hosts" and "/etc/ethers" on the server
- Dynamically configured (DHCP) from "/etc/bootptab" by any DHCP server
- From a PCShare bootserver
The
DHCP TCP/IP option in the
Setup menu is used to configure a PCShare bootserver. The bootserver allocates IP addresses dynamically (i.e. automatically). This avoids having to configure each client individually with a manually assigned IP address. You also need to configure a bootserver if you want to use static as well as dynamic IP address allocation.
Configuring a primary bootserver
The
Interface Configuration screen shows details of the chosen interface name and address, the subnet mask, the gateway to be used by a DHCP client, and details of a bootserver (if existing) configuration (Fig.
6).
First choose
Primary in the
Bootserver State field. Then assign a range of IP addresses to be set aside for dynamic allocation. In order to do this select
-New entry in the
Current Ranges scrollbox (compare Fig.
57 in
5.6.1 "PCShare DHCP with dynamic DNS update").
Then specify the IP address range you want to allocate, and confirm with
Ok. You can assign several ranges if needed, but make sure they do not overlap. You can also choose another host interface and assign a range on that, too.
The range you specify is checked for plausibility, and if the range spans the host interface itself, it will be split automatically into two ranges.
Fig.
6 shows a primary bootserver configuration with one range visible:
When you have finished, leave the dialog with
Ok,
else go to
Cancel to discard your changes.
Fig. 6: Configuring a primary bootserver
|
Configuring a secondary bootserver
If your network has more than one PCShare server, you can optionally configure an additional bootserver as a backup to guarantee network availability if the main PCShare server is down for any reason. This is called the "Secondary bootserver".
To do this, start PCShare Admin on the host you want to configure as a secondary bootserver. This is because the secondary bootserver configuration file must be stored on the secondary host and not on the primary one.
First choose the IP address of the host interface to be used to service client boot requests, then select
Secondary in the
Bootserver State field. The
Bootserver Name field appears as a data entry field - type in the name (or IP address) of the network interface on the primary host which normally services the boot requests when the primary bootserver is running. You cannot specify any IP address ranges for the secondary bootserver (the secondary bootserver - while running - gets this information automatically from the primary bootserver, as long as at least one client PC is allocated an IP address from the primary bootserver).
Fig.
7 shows a secondary bootserver "helios" configured as a backup bootserver for the primary bootserver "lux".
Fig. 7: Configuring a secondary bootserver
|
Choose a host interface and specify
Disabled in the
Bootserver State field if you want to disable the servicing of client boot requests on the specified interface. Do this if your bootserver host has more than one interface, and one of them should not be used.
Note: If your network has two or more hosts, which are also DHCP server and use NIS, we recommend that you use the Disabled option to disable servicing of boot requests on the interfaces of all other hosts. Else, all hosts will answer boot requests for clients which are configured statically in "/var/yp/hosts" and
"/var/yp/ethers" (or equivalent).
3.3.2 Configuring Character Translation
The PCShare print server does not normally carry out translation of printer character sets and control codes. In other words, the application you want to print from should be set up for the type of printer you are using.
If necessary, you can optionally use character translation tables for print job filtering and character set translation operations which are commonly required for different types of printers. They are configured individually for each printer queue in the
Export Printers mask of PCShare Admin. The same translation tables can also be used by the
pcfilter utility.
PCShare is provided with the following default character translation tables for ASCII printers:
iso7, iso8, pc, mac, hp, ebcdic, and
epson
Specifying character translation tables
The translation tables are always specified as a pair (for input and output). The two tables communicate via a common character set called "Unicode". See
pcfilter in
5.3 "Print server utility programs" for more details.
Choose
Setup > Character Translation to edit existing character mapping tables or to create new ones. You first need to specify an
Input table and an
Output table. Select an existing table (Fig.
8) from the menu, or type in an unused name to create a new custom table which will be filled automatically with default "Unicode" values.
Fig. 8: Choosing a character mapping table to edit
|
The choice of
Input table depends on the printer driver used by the application(s) you want to print with, whereas the choice of the
Output table depends on the type of printer.
For example, if the application which is printing uses UNIX character codes, and your printer is Epson-compatible, choose
iso8 for the
Input table and
epson for the
Output table.
PC applications usually use the PC character set or PostScript.
In the first case,
pc is appropriate for the
Input table. In the latter case, choose
-PostScript for
Input Table and
Output table in the
Export Printers menu rather than choosing a character mapping table for input or output because this is inappropriate for PostScript printers.
Fig. 9: Character mapping table pair
|
Select
Ok to edit the tables you have chosen (Fig.
9). The codes for the
Input table appear on the left and those for the
Output table on the right. The "Unicode" mnemonic for each character is shown in the center (Fig.
10).
Fig. 10: Listing the character translation table
|
Select
-New entry to add a new character to the table, or press BACKSPACE to delete one. To edit an existing entry, select it from the list and press RETURN to get the
Character Sequences editing window (Fig.
11).
Fig. 11: Editing a character pair
|
Editing character translation tables
You can jump quickly to the right place in the list by typing the first characters of the "Unicode" mnemonic, e.g. "bel".
Specify the input and output codes for the chosen character in hex (e.g. "\0xc5"), octal (e.g. "\0177"), or decimal (e.g. "\125"). You can also include ASCII strings such as "hello". See
pcfilter in
5.3 "Print server utility programs" for details of the allowed syntax. Choose
Restore to revert to the default setting.
Confirm your modifications with
Ok when you are finished to get back to the previous window (Fig.
10) and choose
Check to check your table for mistakes. The tables will be checked for missing sequences and checksums will be calculated (Fig.
12)
Fig. 12: Checking the character translation table
|
The checksums have the purpose of determining whether the tables are identical to the ones provided with PCShare, or whether they have been modified. Warnings are for information purposes only, and errors must be corrected before the tables can be used.
To save space on the screen, missing sequences between ASCII 128 and 255 (hex 0x80 - 0xff) are not listed individually, since codes in this range are often not used and are thus not important. The example above shows two lines of sequences, that are probably missing. If necessary, choose the warning message and press RETURN to list each of the missing codes individually.
Note: If your print job contains character codes which are not specified (i.e. missing) in the chosen input table, these codes are ignored and an error message is written each time to the system messages file. Due to system limitations, a maximum of 10 such messages are written per print job.
Note: If your print job contains character codes which are not specified in the chosen output table, these codes are ignored and not passed to the printer.
The standard character mapping tables provided with PCShare are write-protected and cannot be edited or deleted. Other tables are subject to be edited or deleted.
In order to register from a PC onto a Windows network a server name and a workgroup/domain name are required. If not differently configured, the UNIX host name is used as
Server Name and the entry "workgroup" is used as the workgroup/domain name in the
Domain Name field.
Choose
Setup > Browsing in order to open the
Browsing Setup window.
Server Name can be changed if it should be different from the UNIX host name. By default the UNIX host name is used.
The
Comment line lets you specify additional server information that is displayed in the
Network Neighborhood of the Windows client:
%r system (OS) release name
%P PCShare version (incl. update level)
The maximum length is 64 characters and the default is
"
%p %n", e.g.: "
PCShare 3.1 ans".
By default the entry in
Domain name will be "workgroup". If it matches the Windows client domain name or workgroup it is much easier to access the server. The domain name for a Windows client can be determined by accessing the
Network control panel. In Windows 98, select the
Identification setup tab. The domain name/workgroup can be found in the field
Workgroup. In Windows XP, the "System Properties"
Computer Name tab shows the workgroup/domain name.
Important: The Avoid elections option is usually turned off. In case you do not want your PCShare host to become LMB (Local Master Browser) check the flag Avoid elections.
If you, however, want to enable cross-subnet browsing of your host, activate the
Behave like a Windows NT PDC flag which is usually turned off. If you use another PDC (
Primary Domain Controller) it needs to be turned off. If the machine has 2 or more interfaces it "collects" information about
all clients in
its domain on
all connected segments. This "knowledge" is transferred by the PCShare server via browse list to
all clients in
its domain. See an example in Fig.
13, with
PCShare as
Server Name and
helios as
Domain Name.
Fig. 13: The Browsing Setup window
|
By default, PCShare is a WINS (
Windows Internet Name Server) server, which is used on a PC network to map names to IP addresses. It can provide name, TCP/IP addresses, etc. when asked by Windows clients.
In the
Setup dialog the
WINS name/IP address field is empty by default because PCShare itself is automatically WINS and will use its own TCP/IP address for the WINS configuration. Then, the
WINS checkbox is activated. If a different computer is WINS, e.g. another PCShare server or a NT-based system the WINS address must be configured, and the
WINS checkbox
must not be activated. It does not make any sense to have two different WINS in a network because then different clients may have inconsistent views, etc.
Usually
WINS Proxy is turned off. If
WINS Proxy is turned on, broadcasting nodes can see WINS clients on other subnets but may get confused due to the increased name resolution network traffic. Use this option with care. Never use more than one WINS proxy in the same subnet. Only if WINS Proxy is configured the
Proxy registration check checkbox is available. This helps to avoid duplicate computer names. Duplicate computer names in one network will not work reliably.
The
Scope Identifier field is usually empty. If the PCShare server is configured to use a scope identifier it needs to be configured identically to the client configuration. If the identifier is different, the Windows client cannot see the server. It serves to split up the relatively flat NetBIOS name space into several fragments. However, hierarchical structures, as the DNS system provides, do not exist. For more information see also
5.5.2 "Name resolution with WINS" and
5.5.3 "Name resolution with WINS Proxy".
If a different computer is WINS, then choose
Setup > WINS in order to open the
WINS Setup. In the
WINS field enter the IP address of the host which acts as WINS server (Fig.
14 shows an example configuration with the host "172.16.0.11" as WINS server).
Fig. 14: The WINS Setup window
|
If all Windows clients are configured as DHCP clients from a PCShare server the WINS Proxy and proxy registration check are not necessary. This will reduce network traffic.
To protect your site, you should create an IP access list to restrict access to your server. You can create such a list on your UNIX server (see the chapter "IP configuration - Reference Part" in the HELIOS Base manual), but it is much easier to use PCShare Admin instead. It offers all options that are required for a standard access control configuration. Some additional parameters can be edited in the PCShare configuration file "HELIOSDIR/var/conf/ipaccess".
Description of the access list
Fig.
15 shows an example of an IP access list. The list is sorted. At first, it contains all addresses of computers/networks from which access is explicitly denied. Then, it lists those from which access is allowed. At the end, it contains a
Deny any other entry that denies server access from all computers/networks that do not appear in the list before. The representation of "any other" is 0.0.0.0 (for
Address) and 0.0.0.0 (for
Mask). If the
Deny any other entry was missing, access would - by default - be granted to anybody on the Internet whose address had not been entered in the
Deny section. Please note that the
Deny any other entry cannot be deleted and should not be removed manually.
Fig. 15: Example of an IP access list
|
The access list will always be sorted that way automatically. This allows the program to go through the list from top to bottom and react very quickly. E.g. if an IP address is denied, the program can send the respective message after going through the
Deny section only - it does not have to check the whole list. The checking mechanism is illustrated in Fig.
16 below.
Fig. 16: How the program deals with access requests
|
The columns in the access list contain the following information (Fig.
15):
Access specifies whether access is denied or allowed.
IP specifies whether the entry is meant for a single computer (
Host) or a network (
Net).
Address contains the IP address of the host/network. An IP address consists of 32 bits (4 groups of 8 bits). This number of bits allows well over 2 billion unique numbers to be used to identify a node on a network. When specifying an IP address, it is common to use a dotted decimal representation of four numbers between 0 and 255 divided by a period (e.g. 192.168.4.40).
Mask is only meaningful for network entries. The mask is structured like an IP address and specifies the number of bits that are relevant to the network identification. It filters out the logical network address. The mask 255.255.255.0 for example specifies that 24 bits are to be compared with the IP number. The remaining 8 bits (that identify the individual computers of a given network) are not relevant.
Comment contains a description or name that may help you remember to whom the respective computer or network belongs.
In order to set up or change the access list for your individual server proceed as follows:
Select
Setup > IP Access from PCShare Admin menu and then choose
-New Entry in the access list to open the
Insert IP Access Permission dialog that lets you set up new definitions (Fig.
17).
Fig. 17: Setting up the IP access list
|
In the
Access field specify whether you want to
Allow or
Deny either a host (
Node) or a network (
Net). In the
Type and Address section at the top of the menu enter the correct IP
Address for
Node entries. For
Net entries you must specify both
Address and
Mask (Fig.
18). The
Comment field is restricted to 32 characters. The access list will automatically be re-sorted after adding a new entry.
Fig. 18: Setting up an entry for a network
|
The
(Deny any other) entry cannot be removed. For security reasons, it is always kept at the end of the list. There will be rudimentary consistency checks, so you will have to be familiar with IP net/mask structuring and conventions. See your TCP documentation if you have questions.
Important: Under UNIX, there are additional parameters available (allowdomain, denydomain). They are described in the chapter "IP configuration - Reference Part" in the HELIOS Base manual. If someone edited the access list under UNIX and used these parameters, you would get a warning on opening the list with the Admin program again, because PCShare Admin cannot display the "domain" entry. Editing the list with PCShare Admin will remove all settings that have been defined under UNIX.
The
Select User scrollbox in the
Configure Users menu shows all users known to the host (Fig.
19). PCShare automatically creates this list by inspecting the host's system file
"/etc/passwd" (or the appropriate NIS file, compare
5.4 "Configuration with NIS").
Fig. 19: Select User scrollbox
|
In order to change the parameters for a particular user, you have to open the
Configure User window that displays all available user information (Fig.
20):
Select the desired user in the
Select User scrollbox.
Fig. 20: User data for user "david" on host "helios"
|
The window shows the user name
User, the user
Password field, the
Full name of the user, the
Home directory of the user, the
Start program, the
Primary group and the list of groups (
Current Groups) to which the user belongs. Note that the latter also includes the user's primary group. All fields have to be filled out in a case-sensitive way! The
User ID field is only displayed if the
Set user ID checkbox has been activated in the
Users/Groups Preferences (see
Users/Groups Preferences above). The
Password field is always displayed empty - this field is only used when the system administrator needs to change or define a user's password.
Important: You must not use accented characters (Umlauts) in the User, Home directory or Start program fields. It is best not to use them in the Password and Full name fields either. Moreover, to be on the safe side, your User name and Password should not exceed eight characters.
PCShare Admin gets the user information from the file
"/etc/passwd", with the exception of the list of groups that the user belongs to, which is obtained from the file
"/etc/group".
Note: If NIS is installed, the information is changed in the appropriate NIS files instead. Note that if NIS+ is installed on your system, user and group data cannot be configured with the PCShare Admin program.
It is now possible to change any of the fields as required. Note that the user
Home directory field can be left blank, but
Start program and
Primary group are obligatory. If the user should not receive the rights to access the UNIX shell,
"/bin/date" can be entered in the
Start program field. If the user
Home directory field is left empty, it is provided automatically by PCShare.
Note: "/" as a PCShare volume is not allowed at all. Use another directory if "root" needs a private volume, e.g.
"/root" or "/home/root".
In order to assign an additional group to the user move your cursor to the
Current Groups field and select
-New Entry. Then choose the desired group from the
Select group scrollbox (Fig.
21).
After confirming the changes the user is assigned to the group. Some UNIX hosts allow up to 8 or 16 groups per user, some 32. The new group name will immediately show up in the
Current Groups field.
Fig. 21: Assigning group "SysAdm" to user "david" on host "helios"
|
In order to delete a group from the user's assignments, select the group in the
Current Groups field and press BACKSPACE.
Important: This operation should not be confused with deleting a group from within the Select Group scrollbox in the Configure Groups window. Solely the membership of the user in the group is deleted, which is not the same as deleting the group from the system.
Any user must be a member of at least one group. So, if you delete all entries from the user's
Current Groups list, the user will automatically become a member of the group "nogroup" (though the entry "nogroup" may be invisible in the user's
Current Groups list, depending on the used operating system).
If you make any changes in the user data window, they become valid only after confirming with
Ok. Provided that the changes have not been saved, the
Cancel field can be used to recall the original data. If an attempt is made to close the window without saving or reverting changes, PCShare Admin asks whether changes should be discarded or not.
When amending and saving user data, the password is only changed if an entry has been made in the
Password field. Note that the
Password field is always shown empty, unless entered anew in the active dialog, even if the user has already been allocated a password. On changing the password, PCShare Admin prompts for the new password to be verified once again, to ensure that no typing mistakes have been made (Fig.
22).
Fig. 22: Verifying the new user password
|
The changed password is entered in the files "/etc/passwd" and "HELIOSDIR/var/conf/passwd" (HELIOS password file). It becomes valid after confirming with
Ok.
A new user can be created by filling out a new user data window:
Activate the
Configure Users menu and choose
-New entry from the
Select User scrollbox (Fig.
23).
Fig. 23: Creating a new user entry
|
PCShare Admin then opens the
Configure User window which already contains some default values from the
Preferences window. Fill in or change the fields as required (see Fig.
20).
When typing in the user name, a suggested home directory is automatically filled into the corresponding field. The default suggestion can be changed if required.
A new user is included into the server's users list as soon as you confirm the new entry with
Ok. If the user data window is closed without saving, the new user entry is discarded.
On saving the new user, a new entry with the corresponding user data is made in the files "/etc/passwd" and "HELIOSDIR/var/conf/passwd" (HELIOS password file). The user ID will be assigned automatically. If groups were specified, these are entered in "/etc/group".
Note: The AIX operating system e.g. does not "like" user and group names longer than 8 characters. If you use longer names, you will receive various UNIX error messages. You may not be able to make a UNIX shell login if your login name is too long, or one of your group names is too long. We recommend to use user and group names of up to 8 characters only.
A user can be deleted from the host as follows:
Select the respective user in the
Select User scrollbox of the
Configure Users menu and press BACKSPACE.
PCShare Admin then prompts for acknowledgment of deletion, to allow it to be aborted if required (Fig.
24).
Fig. 24: Confirming deletion of a user entry
|
If deletion is confirmed, the entry is removed from the window and the corresponding entries are deleted from the files "/etc/passwd", "HELIOSDIR/var/conf/passwd" (HELIOS password file) and "/etc/group". Files in the user's home directory are not deleted. They must be removed manually (e.g. by the system administrator).
Important: Never delete UNIX users like "bin", "daemon", etc. This may cause serious problems!
The
Select Group scrollbox in the
Configure Groups menu shows all groups known to the host. PCShare automatically creates this list by inspecting the UNIX system file
"/etc/group" (or the appropriate NIS file).
Open
Configure Groups > Select Group, (Fig.
25).
Fig. 25: Select Group scrollbox on host "helios"
|
In order to change the parameters for a particular group, you have to open the
Configure Group window that displays all available information about the selected group (Fig.
26).
In the
Select Group scrollbox open the desired group.
Fig. 26: Group data for group "pcusers" on host "helios"
|
The window shows the
Group name and a list of the
Members of the group. PCShare obtains the group information from the files "/etc/group" and "/etc/passwd" (or from the appropriate NIS files).
It is now possible to change the group name and, if desired, add or delete members from the group:
In
Configure Groups > Members > New entry (Fig.
27), move the cursor to the user you wish to add to the group, and press RETURN.
Fig. 27: Adding users to a group
|
Provided that the user is not already a member of this group, he/she will be added to the list of members now.
In order to delete a user from the group's list of members, open
Configure Group > Select Group and move the cursor to the group where the user to be deleted resides. Open the
Configure Group dialog (Fig.
26). In the
Members list select the user and delete the entry. This operation should not be confused with deleting a user from the user list. Solely the membership of the user in the group is deleted, which is not the same as deleting the user from the system.
If you make any changes in the
Configure Group window, they become valid after confirming with
Ok. Provided that the changes have not been saved, the
Cancel field can be used to recall the original data. If an attempt is made to close the window without saving or reverting changes, PCShare Admin prompts whether changes should be discarded or not.
A new group can be created as follows:
Activate the
Configure Groups menu and choose
-New entry from the
Select Group scrollbox (Fig.
28).
Fig. 28: Creating a new group entry
|
The
Configure Group window opens. Fill in the group name and add members to the group as required (Fig.
26 above).
A new group is entered in the server's groups list as soon as you confirm your new entry with
Ok. If the group data window is closed without saving, the new group entry is discarded.
On saving the new group, a new entry with the corresponding group data and member list is made in the "/etc/group" file (or the appropriate NIS files). The "group id" will be assigned automatically.
Note: The AIX operating system e.g. does not "like" user and group names longer than 8 characters. If you use longer names, you will receive various UNIX error messages. You may not be able to make a UNIX shell login if your login name is too long, or one of your group names is too long. We recommend to use user and group names of up to 8 characters only.
A group can be deleted from the host as follows:
Select the respective group in
Configure Groups > Select Group and press BACKSPACE.
PCShare Admin then prompts for acknowledgment of deletion, to allow it to be aborted if required (Fig.
29).
Fig. 29: Confirming deletion of a group entry
|
If deletion is confirmed, the entry is removed from the window and the corresponding entry is deleted from the file
"/etc/group". The file "/etc/passwd" is checked for users who were assigned that group as their primary group; if any are found, the ID for the primary group in the user's entry in the "passwd" file is changed by convention to the group ID of the group "nogroup". The user must then be assigned a new primary group before he/she can log on again.
Important: Never delete UNIX groups like "bin", "daemon", etc. This may cause serious problems!
PCShare allows you to configure printers which are locally connected to client PCs to receive print jobs from a UNIX spool queue over the network. PCShare supports both PostScript and non-PostScript printers. PCShare Admin's
Configure Printers menu allows you to create, modify, or delete these queues.
Fig. 30: Configure Printers menu
|
Open
Configure Printers and select a printer in the
Please Select scrollbox, which shows all printer queues known to the host (Fig.
30).
You are only allowed to edit entries which were configured for printing over the network to a local PC printer. Entries marked e.g. with a diamond symbol ("
u") are not PCShare print queues but EtherShare print queues or others, and cannot be changed - you can only inspect their print jobs. Choosing them will lead to the
Printer jobs for `<printer name>' list directly (Fig.
32).
In the following, the term "printer" is meant to encompass all aspects of setting up a particular printer, not only the configuration of the printer's network connection but also the configuration of the associated printer queues.
In order to change the parameters for a particular printer, select it from the list. A window is opened to display information about the printer (Fig.
31).
Fig. 31: Configure Printer window for local printer "SLW" attached to PC "PC-office"
|
Computer Name may be displayed as a name or IP address.
Before proceeding to configure a new printer, you should switch on the PC you want to print to, attach the printer and switch it on, too. Verify that the PC has made a successful guest connection to the network.
Then choose
-New Entry in the
Please Select scrollbox. In the opening dialog select
Windows Printer.
The
Configure Printer window opens, with the
Spool Directory field already filled out from the
Preferences window (
Printer Preferences in
3.2 "Setting Admin preferences").
The
Spool Directory field specifies the UNIX directory where print jobs are queued before they are sent to the printer.
Important: If necessary, the spool directory can be set to swap out the spool files to other file systems (hard disks), but you should avoid NFS-mounted volumes due to performance loss. The spool directory must be unique for each printer queue.
Type in a printer queue name - which will be the logical (UNIX) printer name - in the
Queue Name field. Proceed to the next field where a suggested spool directory is automatically filled in. The default suggestion, however, can be changed if required. In the
Computer Name field the name of the Windows PC, to which the printer is locally connected, must be specified. Fill out the
User Name and
Password fields in case the client PC requires authentication.
Note: The Windows PC must be on the same subnet as the PCShare server.
In the
Select Printer scrollbox choose the printer you want to use for the printer queue which you set up.
By use of the
View Queue button, current print jobs for the chosen printer (here
`ljet') are displayed (Fig.
32).
Jobs can be deleted with BACKSPACE but you cannot change the order (priority) of the jobs. The
View Queue button is only displayed after the printer has been created successfully, but not during creation.
Fig. 32: List Printer jobs for `ljet'
|
In order to delete a printer from the host proceed as follows:
Select the printer in the
Select Printer scrollbox and press BACKSPACE.
PCShare Admin then prompts for acknowledgment of deletion, to allow the cancellation of deletion if required.
If the deletion is confirmed, the entry is removed from the list and the associated printer queue on the host will be stopped and its configuration deleted. The spool directory is not deleted but we recommend to clear any existing print jobs and wait until the printer is idle before deleting the printer queue.
The
Select Volume scrollbox in the
Export Volumes menu shows all network volumes from this PCShare server which are available in the
Network Neighborhood of connected Windows PCs. PCShare automatically creates this list by inspecting "HELIOSDIR/var/conf/Preferences".
Open
Export Volumes > Select Volume scrollbox (Fig.
33).
Fig. 33: Select Volume scrollbox on host "helios"
|
Note: The entry "~%u" in the Select Volume list stands for the home volume (user home directory).
Before changing volume settings, make sure that the volume is not in use ("swho" command or
Activities > Server Activities in PCShare Admin). All users should unmount the volume, because changes take effect immediately and this could lead to strange effects, e.g. if you set a volume to
Read only.
In order to change the parameters for a particular volume, you have to open the setup window that displays all available information about the selected volume.
Open the desired volume from the
Select Volume scrollbox.
Fig. 34: Volume settings for volume "PCShare" on host "helios"
|
The
Export Volumes window (Fig.
34) shows the
Volume Name,
the UNIX
Volume Path, and some options which can be set by means of checking the respective flag.
It is now possible to change the
Volume Name, the
Volume Path (UNIX directory), and the flag settings for
Public,
Hide `dot' files,
Read only,
Close option,
Create OPI layouts, and
SMB visible. Additionally, you can determine whether members of any group are allowed to access this volume, or if it is restricted to selected groups only.
Note: If you change the Volume Path entry keep in mind that PCShare Admin does only create one new subdirectory. Parent directories must already exist.
Public means that the volume is available for guest logins.
If you select
Hide `dot' files, all files which names begin with a dot (e.g. ".pcadmin") are sent as "hidden" files to the client, and are displayed only if you have activated the
Show hidden files and folders option in Windows'
Folder Options control panel at the client side.
Make sure the
Read only status reflects the
readonly flag
set under UNIX, i.e. that the file system is mounted as "readonly". This must be checked for exchangeable media which are write-protected with a write-protect tab. Otherwise you will not be able to mount them.
By default, the PCShare server will hold files open in its cache even if a client closes a file. If you need to prevent PCShare from doing so, e.g. for compatibility reasons with some UNIX applications, the
Close option can be activated, forcing the server to close files immediately on client close.
Create OPI layouts is only of importance if ImageServer is installed on the same server. ImageServer creates by default layout images of high-resolution originals. If
Create OPI layouts is active, layout images are generated. If not, the OPI server does not generate any layouts. OPI settings from PCShare Admin are stored in the "Preferences" file.
Note: OPI configuration settings can only be done by use of the EtherShare Admin. For more information see the respective chapters in the ImageServer manual.
SMB Visible means that the exported volume can be seen in a Windows environment as well.
If you check
Selected groups, a
Current Groups list will appear. Selecting one or more groups means that only members of the selected group(s) may access the volume.
If you make any changes in the
Export Volumes window, they are valid after confirming with
Ok. Provided that the changes have not been saved, the
Cancel field can be used to recall the original data. If an attempt is made to close the window without saving or reverting changes, PCShare Admin prompts whether changes should be discarded or not.
A new volume can be created as follows:
Choose
-New entry from the
Export Volumes > Select Volume scrollbox (Fig.
35).
Fig. 35: Creating a new volume
|
PCShare Admin then opens the
Export Volumes window. Fill in the
Volume Name, and UNIX
Volume Path. The entire directory path to the mount point must already exist, with the exception of the bottom-most directory, which will be created by PCShare Admin, if required.
Note: PCShare Admin will not accept overlapping volumes.
Furthermore, although PCShare can utilize file systems which are mounted remotely through NFS, the directory tree of each volume should not be split among more than one file system.
The
Char Set field in the
Export Volumes window (Fig.
36) only appears when creating a new volume and lets you define the character set for the volume. By default, the character set of PCShare volumes is the UTF-8 compatible "PC850" but you can change to the Japanese "SJIS" or other encodings if necessary.
Fig. 36: Selecting the character set
|
Important: Already existing volumes (e.g. created under an older version of PCShare) are not verified for character encoding. Hence do not try to modify the character encoding of already existing PCShare volumes manually.
A new volume is entered in the server's volumes list as soon as you confirm your new entry with
Ok. If the volume settings window is closed without saving, changes are discarded. On saving the new volume, a new entry with the corresponding volume settings is made in
"HELIOSDIR/var/conf/Preferences".
A volume can be deleted from the host as follows:
Select the respective volume in
Export Volumes > Select Volume and press BACKSPACE.
PCShare Admin then prompts for acknowledgment of deletion, to allow it to be cancelled if required (Fig.
37). If deletion is confirmed, the entry is removed from the window and the corresponding entry is deleted from the public volume list ("HELIOSDIR/var/conf/Preferences"). Note that if the volume still contains files and folders, they are not deleted. However, they are no longer accessible via PCShare.
Fig. 37: Confirming deletion of a volume entry
|
UNIX printers must be configured for PCShare before they can be accessed by Windows clients. This process is called
exporting the printer.
The
Select Printer scrollbox in the
Export Printers menu shows all printer queues currently exported to PCShare. PCShare automatically creates this list by inspecting the contents of the HELIOS "printcap" file and the HELIOS "Preferences" database.
Open
Export Printers > Select Printer (Fig.
38).
Fig. 38: Select Printer scrollbox on host "helios"
|
Each printer queue is shown in the
Select Printer scrollbox under its own unique
Export name. This
Export Name, which is usually not the same as the UNIX queue name, is the name that appears in the
Network Neighborhood dialog of the Windows PC.
Changing printer parameters
In order to change the parameters for a particular exported printer, you have to open the data window that displays all available information about the selected printer (Fig.
39).
Open the
Export Printers dialog for the desired printer from the
Select Printer scrollbox.
Fig. 39: Export printer data for "PC printer" on host "helios"
|
Note: This PCShare version only allows one export name per existing printer queue. Earlier PCShare versions did allow multiple exports.
Specify input and output character mapping tables (
Input Table;
Output Table) for character set translation by choosing them from the list or choose
No translation (Fig.
40).
Fig. 40: Specifying the character mapping table
|
The choice of
Input Table depends on the printer driver used by the application(s) you want to print from, whereas the choice of
Output Table depends on the type of printer.
PC applications use either the PC character set or PostScript. Accordingly, either
pc or
- PostScript are usually appropriate for the
Input Table line in this case.
Specify initialization and exit strings if required, or leave these fields blank. The initialization and exit strings are sent to the printer before and after each print job. Depending on the type of printer, they can be control code sequences or PostScript code. You can specify in hex (e.g. "\0xc5"), octal (e.g. "\0177"), or decimal (e.g. "\125"). You can also include ASCII strings such as "setpapertray".
In the line
Conversion the appropriate line terminator character can be specified (Fig.
41).
If you only want to map the line terminator character, this is easier than creating a new mapping table.
Important: Do not specify character translation or conversion if you are printing in graphic mode, only use this for text mode.
If necessary, you can export several printer queues for a single physical printer, each configured with different options.
Check the
SMB Visible flag to make the exported printer available to Windows clients. Check the
Form Feed flag to cause the print server to send a "form feed" character after the last page of the job.
PCShare Admin will automatically specify an appropriate UNIX print command, which may also include the
pcfilter print job filtering and character set translation utility, depending on the options you choose.
The flags
Selected groups,
Admit for member of any group, and the
Current Groups field are used by the
Printer Groups list feature, described below. You will not see the
Current Groups box if you have chosen
Admit for member of any group..
Select the
Test Page field to print a test page on the currently selected printer.
In order to export a new printer, proceed as follows:
Select
Export Printers > Select Printer > -New Entry. A new
Export Printers window opens. Define an
Export Name and choose the
Queue Name (UNIX name) from the pop-up list (Fig.
42). Again, entries marked with e.g. a diamond symbol ("
u") are not PCShare print queues but EtherShare print queues or others, and cannot be changed.
Fig. 42: Choosing the UNIX (logical) printer queue
|
Note: If you want to use an Export Name longer than 12 characters, which will not work with some Windows clients, a warning message appears before you confirm the selection (Fig.
Fig. 43: Export Name warning message
|
43).
All printers configured for use by PCShare are usually available to all PCShare users. If your server is used by several different departments in your company, this feature allows you to restrict the use of certain printer queues to specified groups of users only. This makes them completely invisible to all other users.
Open
Current Groups > -New Entry to get the
Select Group list. From this list choose the desired group (Fig.
44).
Fig. 44: Assigning group "other" to "PC printer"
|
In the above example
PC printer will only be visible to members of the group
other. You can assign several groups to the exported printer if desired.
Note: You must check the Selected Groups flag if you want to use the Printer Groups feature. If you check Admit for members of any group., the printer will remain visible to all groups and thus to all PCShare users - and the Current Groups box will disappear.
Deleting exported printers
If you want to delete a printer from the PCShare
Export Printers list, proceed as follows:
Go to
Export Printers > Select Printer, mark the printer in the list and press BACKSPACE.
PCShare Admin then prompts for acknowledgment of deletion, to allow it to be aborted if required (Fig.
45).
Fig. 45: Confirming deletion of a printer entry
|
Note: If the printer is still busy printing, the current job is successfully completed but additional queued jobs are NOT printed (they must be deleted by hand), and the printer is no longer accessible to new PCShare client logins.
3.9 Other lists and accounting files
Server Activities shows all users currently logged-on to PCShare or EtherShare. Currently printing workstations and other connections, e.g. PCShare users, are also listed (Fig.
46).
Open the
Activities > Server Activities window.
In case you have to terminate a process do not "kill" it manually. Otherwise PCShare clients will not finish properly and run out of license. Instead, highlighting users (only one at a time) in the
Server Activities window and then pressing the BACKSPACE key will close their current server connection properly. Note that only the user, a member of the "SysAdm" group or "root" are allowed to clear a connection. The
Server Activities option obtains its information from the file "HELIOSDIR/var/run/stmp".
Fig. 46: Server Activities window on host "helios"
|
3.9.2 Sending messages with PCShare Admin
You can send short messages to any Windows NT4/2000/XP client (for Windows 95/98/Me the
WinPopup program must be running) connected via PCShare server. This can be done using the
Send Message menu item in the
Activities menu (compare
Client messages in
2.3 "Features of PCShare 3.1").
Select
Activities > Send Message from the menu and then highlight the user you want to address in the
Send Message window. Enter your individual message in the dialog and confirm with
Ok (Fig.
47).
The messages then are displayed in a message window on the addressees's monitors. They are not saved in a file; the addressees delete them on closing the respective message window.
Fig. 47: Sending a message to a PCShare user
|
Important: The Send to all users option in the Send Message menu lets you send a message to all current users. It is, however, available to "root" and members of the "SysAdm" group only.
Server log files are arranged by date. Every night at midnight the (UNIX) "cron" program automatically starts a log file renaming program in the background which renames the log file information of the last seven days. The file "Today" becomes the file "Yesterday", "Yesterday" is renamed "2 days ago", and so on. You can then select e.g. the printer log file of "3 days ago". Log files which are older than seven days are deleted automatically.
Open
Statistics > Server Logfile and then specify the desired day (Fig.
48)
Fig. 48: Opening a server log file
|
.
The content of the
Server Logfile window depends on the operating system. Usually, the log file shows status information from all PCShare and EtherShare servers, such as state, server name, TCP/IP address or name, user name, starting date/time, and login time (Fig.
49).
Fig. 49: Example of a server log file
|
PCShare Admin obtains its information from the files "HELIOSDIR/var/adm/server.acct" (containing the data of "Today") to "HELIOSDIR/var/adm/server.acct.6" ("Seven days ago"). Compare "Server log file structure" in the HELIOS Base manual.
The
Printer account file shows print job accounting details for the selected host, such as job status, printer queue name, user name, starting date/time, duration of job, and the number of printed pages. If printing to a PostScript device then thedocument name is shown as well in the column
document.
In PCShare Admin you can see job status values of:
3 general UNIX warning
2 PostScript output
1 UNIX info (e.g. extended print information)
0 OK
-1 communications error
-2 PostScript error
-3* terminated job (e.g. killed signal)
-4 UNIX error (e.g. file not found)
Open
Statistics > Printer Logfile and then specify the required day (Fig.
50).
Fig. 50: Opening a printer account file
|
Compare "Printer log file structure" in the HELIOS Base manual.
Printer account files are arranged by date. Every night at midnight the (UNIX) "cron" program automatically starts a log file renaming program in the background which renames the log file information of the last seven days. The file "Today" becomes the file "Yesterday", "Yesterday" is renamed into "2 days ago", and so on. You can then select e.g. the printer log file of "3 days ago". Log files which are older than seven days are deleted automatically.
Fig. 51: Printer account file
|
In the selected printer account file highlight the print job you want to investigate and press RETURN to see if there is any additional information. For "
0", which means that the job has been printed successfully, an extra window opens showing the file size (Fig.
51).
For more detailed information on job status matters see "Server log file structure" in the HELIOS Base manual.
The system messages file shows messages from the UNIX host in standard UNIX format (Fig.
52).
Open
Statistics > System Messages from the menu.
Fig. 52: System messages file on host "helios"
|
PCShare Admin gets its information from your host's system message file. The location of this file is specified in "/etc/syslog.conf" and depends on the UNIX system. It is e.g. "/var/adm/messages" for Solaris 2.
Note: On some UNIX systems, e.g. Linux, you have to be logged-in as "root" to be able to view the messages file or to open it in PCShare Admin.
The system message file can grow quite large. It cannot be cleared using PCShare Admin - the UNIX operating system usually is responsible for keeping it at a manageable size. You may use the "cron" program to activate an appropriate clean-up program in regular intervals.
HELIOS continuously improves all its software products, and improved versions are released now and then. If you ever need to contact our support department they must know the software versions installed on your host.
Statistics > Program Versions lists the version numbers of all major server modules and programs (Fig.
53).
PCShare automatically creates this list by inspecting the "HELIOSDIR/var/run/Versions" file.
Fig. 53: Program Versions
|
Important: The "Versions" file is only updated every time the user "root" opens the Program Versions menu.
Besides the program versions, the
Program Versions window also provides information about your PCShare, interface, and "syslog" configuration (Fig.
54).
Fig. 54: Extended information in the Program Versions window
|
The information comes from the file
"HELIOSDIR/var/run/Versions".
© 2003 HELIOS Software GmbH |