InfoDoc ID   Synopsis   Date
28034   How to set up man pages for Sun Ray server   17 Sep 2001

Status Issued

Description

To setup the man page commands for the Sun Ray server, you need to set the MANPATH variable with the man page directory of the Sun Ray man pages. This is the /opt/SUNWut/man directory. If you set this directory in your $PATH, it will not work. You need to put the following lines in the /etc/profile file, so users get the correct MANPATH variable set when they log in:

MANPATH=/usr/dt/man:/usr/man

MANPATH=$MANPATH:/opt/SUNWut/man

export MANPATH

Without the correct MANPATH variable, you will have to use the following command to get man pages:

# man -M /opt/SUNWut/man utpolicy

EXAMPLE WITHOUT THE MANPATH VARIABLE SET :

# uname -a

SunOS sunray1 5.8 Generic_108528-06 sun4u sparc SUNW,Ultra-5_10

# echo $PATH

/usr/sbin:/usr/bin:/opt/SUNWut/sbin:/opt/SUNWut/man

# echo $MANPATH

# man utpolicy

No manual entry for utpolicy.

# man -M /opt/SUNWut/man utpolicy

It works.

EXAMPLE WITH THE MANPATH VARIABLE SETUP :

#put the following lines in the /etc/profile file

MANPATH=/usr/dt/man:/usr/man

MANPATH=$MANPATH:/opt/SUNWut/man

export MANPATH

# su - root

Sun Microsystems Inc. SunOS 5.8 Generic February 2000

You have new mail.

# echo $PATH

/usr/sbin:/usr/bin:/opt/SUNWut/sbin:/opt/SUNWut/man

# echo $MANPATH

/usr/dt/man:/usr/man:/opt/SUNWut/man

# man utpolicy

It works.

INTERNAL SUMMARY:

Email : terry.kintz@sun.com

SUBMITTER: Terry Kintz APPLIES TO: ATTACHMENTS:


Copyright (c) 1997-2003 Sun Microsystems, Inc.