Sun Microsystems, Inc.
spacerspacer
spacer www.sun.com docs.sun.com |
spacer
black dot
 
 
5.  Managing User Accounts and Groups (Tasks) Setting Up User Accounts (Task Map) How to Share a User's Home Directory  Previous   Contents   Next 
   
 

Where to Go From Here

If the user's home directory is not located on the user's system, you have to mount the user's home directory from the system where it is located. For detailed instructions, see "How to Mount a User's Home Directory".

Example--Sharing a User's Home Directory

# ps -ef | grep mountd
# /etc/init.d/nfs.server start
# share
# vi /etc/dfs/dfstab
 
(The line share -F nfs /export/home is added.)
# shareall -F nfs
# share
-               /usr/dist                ro   "" 
-               /export/home/user-name     rw   ""  

How to Mount a User's Home Directory

For information on automounting a home directory, see "Autofs Administration Task Overview" in System Administration Guide: Resource Management and Network Services.

  1. Make sure that the user's home directory is shared.

    For more information, see "How to Share a User's Home Directory".

  2. Log in as superuser on the user's system.

  3. Edit the /etc/vfstab file and create an entry for the user's home directory.

    system-name:/export/home/user-name - /export/home/user-name nfs - yes rw

    system-name

    The name of the system where the home directory is located.

    /export/home/user-name

    The name of the user's home directory that will be shared. By convention, /export/homeuser-name contains user's home directories. However, this could be a different file system.

    -

    Required placeholders in the entry.

    /export/home/user-name

    The name of the directory where the user's home directory will be mounted.

    For more information about adding an entry to the /etc/vfstab file, see Chapter 39, Mounting and Unmounting File Systems (Tasks).

  4. Create the mount point for the user's home directory.

    # mkdir -p /export/home/user-name
  5. Mount the user's home directory.

    # mountall

    All entries in the current vfstab file (whose mount at boot fields are set to yes) are mounted.

  6. Verify that the home directory is mounted.

    # mount | grep user-name

Example--Mounting a User's Home Directory

# vi /etc/vfstab
 
(The line  venus:/export/home/ripley - /export/home/ripley
nfs - yes rw is added.)
# mkdir -p /export/home/ripley
# mountall
# mount
/ on /dev/dsk/c0t0d0s0 read/write/setuid/intr/largefiles/onerror=panic/dev=2200000 ...
/proc on /proc read/write/setuid/dev=3840000 on Wed Feb 28 09:49:07 2001
/dev/fd on fd read/write/setuid/dev=3900000 on Wed Feb 28 09:49:10 2001
/etc/mnttab on mnttab read/write/setuid/dev=3a00000 on Wed Feb 28 09:49:12 2001
/var/run on swap read/write/setuid/dev=1 on Wed Feb 28 09:49:12 2001
/tmp on swap read/write/setuid/dev=2 on Wed Feb 28 09:49:15 2001
/export/home on /dev/dsk/c0t0d0s7 read/write/setuid/intr/largefiles/onerror=panic/dev= ...
/export/home/ripley on venus:/export/home/ripley remote/read/write/setuid/dev=3a8001e ...

Maintaining User Accounts (Task Map)

Task

Description

Instructions

Modify a Group

You can modify a group's name or the users in a group by using the Groups Tool.

See Solaris Management Console online help

Delete a Group

You can delete a group if its no longer needed.

See Solaris Management Console online help

Modify a User Account

Disable a User Account

You can temporarily disable a user account if it will be needed in the future.

See Solaris Management Console online help

 

Change a User's Password

You might need to change a user's password if the user forgets it.

See Solaris Management Console online help

 

Change Password Aging

You can force users to change their passwords periodically with User Account tool's Password Options menu.

See Solaris Management Console online help

Delete a User Account

You can delete a user account if it is no longer needed.

See Solaris Management Console online help

Solaris User Registration

Solaris User Registration is a tool for getting information about new Solaris releases, upgrade offers, and promotions. This graphical user interface (GUI) automatically starts when you first log into your desktop. The GUI lets you register now, later, or never. The registration process also provides Sun with the user's Solaris version, survey type, platform, hardware, and locale.

Accessing Solaris SolveSM

Completing the Solaris User Registration process provides access to Solaris Solve, an exclusive web site that offers valuable Solaris product information and solutions--all in one convenient location. It provides a quick and easy method for getting the most recent information on what's happening around the latest Solaris release. Solaris Solve also provides a preview to additional Sun contract and service opportunities.

Basically, the steps for completing Solaris User Registration and accessing Solaris Solve are:

  1. Fill in the electronic Solaris User Registration profile.

  2. Submit the profile by email or print the profile to fax or mail.

  3. Create your login ID and password to access the Solaris Solve site.

    Even if you do not access the Solaris Solve site immediately, we recommend that you create your Solaris Solve login ID and password during the Solaris User Registration process. A Solaris Solve login ID and password should contain 6 to 8 alphanumeric characters without spaces and colons.

  4. Access the Solaris Solve site.


Note - Solaris User Registration is not invoked if the system administrator or user is logged in as superuser.


If you choose to register, a copy of the completed form is stored in $HOME/.solregis/uprops. If you choose to never register and change your mind later, you can start User Registration by:

  • Typing /usr/dt/bin/solregis at any command line prompt, or

  • Clicking the Registration icon in the Application Manager's desktop tools folder (Common Desktop Environment desktop only)

For more information, see solregis(1).

Troubleshooting Solaris User Registration Problems

This section provides troubleshooting tips for solving Solaris User Registration problems.

The following table describes problems that may occur when you try to register, and actions required to resolve these conflicts.

Table 5-1 Registration Problem Descriptions and Suggested Resolutions

Problem Description

How to Resolve the Problem

The registration form failed to initialize: Web page window displays and requests user see system administrator to resolve problem that prevents registration setup.

Check for missing registration files.

The form could not be emailed: Dialog box displays and requests user see system administrator to resolve problem.

Check to see if email is configured correctly. Also check if CDE is on user's system since it must be present to email completed registration form. Alternatively, users can print the form and fax or mail it.

The form could not be printed: Dialog box displays and requests user to see system administrator to resolve problem.

Check to see if the printer is configured correctly. Alternatively, the user can email form.

The form could not be saved: Dialog box displays and verifies that registration succeeded; however, the registration information cannot be recalled when updating registration in the future.

Check the user's home directory. Required action depends on the system's configuration.

You forgot your Solaris Solve login ID and password.

Send a mail message describing the problem to SolarisSolve@sun.com or see "How to Restart Solaris User Registration".

You want to restart the registration process.

"How to Restart Solaris User Registration".

 
 
 
  Previous   Contents   Next