Solstice NFS Client 3.2 User's Guide for Microsoft Windows 95 and Windows NT

Environment Variables Local to SNC Scripts

The following table lists the environment variables set on Solstice Network Client computers.

These variables are available to the SNC scripts and are saved in HKCU\Software\SUNW\CC\1.0\sunwnfs\Environment.

Variable 

Value 

SNCLASSID

Not used. 

SNCLIENTID

Not used. 

SNDRIVE

Drive letter of the drive where the directory /opt/MSPolicy is mounted.

SNERRORLEVEL

The error level returned by any SNC script directive. You must capture this value in the next directive, or it will be lost (overwritten). 

SNGROUP

Current user's UNIX primary group name. Numeric versions of this variable are available for systems not running NIS or NIS+. 

SNGROUPS

Current user's UNIX secondary group names. Numeric versions of this variable are available for systems not running NIS or NIS+. 

SNHOME

Current user's home directory on the server. 

SNHOSTIPADDR

The IP address of the client. The SNHOSTNAME variable is always set to the Computer Name in the Network Identification property page, while SNHOSTIPADDR is always set to the IP address assigned to the client computer, even when using DHCP.

SNHOSTNAME

Client machine name. 

SN_SERVER

Server that authenticates the user at login. 

SNUSER

Current user's UNIX login name. 

SNVERSION

Version of script interpreter.