Creating a Domain User Account

»

HP Tru64 UNIX

Tru64 UNIX

» Tru64 UNIX V5.1B-6
» Tru64 UNIX V5.1B-5
» Documentation
» Information library
» Software web index
» Software products library
» Patch database
» Services
» Developer & Solution Partner Program
» Send us your comments
» Support Statements

Evolving business value

» Tru64 UNIX to HP-UX 11i transition benefits calculator
» Alpha RetainTrust Program
» Transition

Related links

» Alpha systems
» HP-UX 11i
» Integrity servers
» Linux
» HP storage
» HP solutions
HP-UX 11i: measurably better TCO!
Content starts here

A Windows user must have a domain user account to access a UNIX directory or a network printer. There are two steps to creating a domain user account:

Step 1

Determine the domain user account information

line.gif (937 bytes)

Step2

Create the domain user account


Step 1Step 1: Determine the user account information


A domain user account is made up of mandatory and optional components that are defined in three categories:

  • Mandatory components for which you must provide values
  • Mandatory components that are assigned default values that you can change
  • Optional components for which you can provide values

You can use the domain user account worksheet to collect information for a domain user account.

You can click here to go to the next step or scroll down to see a
completed sample of a domain user account worksheet. Default values are used unless a value is provided in red.

Domain User Account Worksheet

Provide a value for each component listed in Table 1.  Click here for more information on these components.

Table 1: Mandatory Components: Providing Values

Component Value Corresponding net user Option
User name (Up to 20 alphanumeric characters. However, 8 or less is recommended.) peter No option - Enter the user name after the net user command
Password (Up to 14 alphanumeric characters.) temporary No option - Enter the password or an * to be prompted for the password

Circle a value for each mandatory component listed in Table 2.  The default value is in bold. Click here for more information on these components. 

Table 2: Mandatory Components: Choosing Values

Component Value (circle one) Corresponding net user Option
Account type Global or local /accounttype:{global | local}
Active Yes or no /active:{yes | no}
Password required Yes or no /passwordreq:{yes | no}
Must change password yes or no /passwordmustchg:{yes | no}
Password change Yes or no /passwordchg:{yes | no}
Password expire Yes or no /passwordexp:{yes | no}

Provide a value for each mandatory component listed in Table 3 if you do not want to use the default.  Click here for more information on these components.

Table 3: Mandatory Components: Choosing or Providing Values

Component Default Value Value Corresponding net user Option
Country code 0, same as the operating system      /countrycode:value
Expires Never       /expires:{date | never}
Home directory /usr/users       /homedir:pathname
Primary group Domain Users       /primarygroup:[groupname]
Script path * see below      /scriptpath:[pathname]
Times All          /times:{times | ALL}
Workstations All                                 /workstations:
{computername[,..] | *}

*/usr/net/servers/lanman/shares/asu/repl/export/scripts


Optionally provide a value for each component listed in Table 4.  Click here for more information on these components.

Table 4: Optional Components: Providing Values

Component Value Corresponding net user Option
Comment    Office 3C /comment:"value"
Full name   /fullname:"value"
Profile path   /profilepath:[pathname]
User comment   /usercomment:"value"

Step 2Step 2: Create the domain user account


Minimally, you must provide a user name and a password to create a domain user account.   Default values are used for other mandatory components unless you specify otherwise.

A Windows user is denied access to UNIX resources if their domain user account name and password do not match their local Windows user name and password.   Therefore, create domain user accounts using the same Windows user name and password.   If you create a domain user account using a temporary password, then either enable the password must be changed option or have the user enter the net password command (from the UNIX command line) to change the temporary password to their local Windows password.

You create a domain user account by using either:

Using the net user Command

Enter a net command in lowercase at the UNIX command prompt on a system running the ASU software. Press the Enter key at the end of the entire command.

To create a domain user account using the information from the sample domain user account worksheet, enter:        

# net user peter temporary /comment:"Office 3C" /passwordmustchg:yes /add

To view the account information, enter:

# net user peter

Using the User Manager for Domains GUI

You must install the User Manager for Domains GUI on the Windows NT Workstation or Windows 95 system from which you will administer the ASU software. 

Follow these steps to create a domain user account:

  1. Start the User Manager for Domains GUI (usrmgr.exe).

  2. Choose Select Domain... from the User menu.

    A Select Domain dialog box is displayed.

  3. In the Domain: field enter the name of the domain in which you want to create  the user account and click on the OK button.

  4. Choose New User... from the User menu.

    The New User dialog box is displayed.

  5. Enter the user name,  password, and other domain user account components in the fields as shown in this figure. Click on the Groups, Profiles, Hours, Logon To, Account, or Dialin buttons to provide information for those related components. 

  6. Click on the Add button to create the user account.

Next Topic