Installing VolServ

Step 3. Use an editor, such as vi, to view the /etc/passwd file. If this file already contains a vsadm entry, no further action is necessary. Otherwise, the user must add a vsadm user definition to the file. This file must contain a line entry for each user recognized by the system. The format of each entry is:

username:password:uid:gid:information:login_directory:login_shell

where:

Option

Description

 

 

username

The name of the user.

 

 

password

The encrypted user password or * if

 

no password is used.

 

 

uid

The user’s unique numerical

 

identifier within the system.

 

 

gid

The group’s numerical ID within the

 

system; it must be unique and must

 

match the gid entered in the

 

/etc/group file earlier.

 

 

login_directory

The directory at which the user will

 

be positioned when login is

 

successful.

 

 

login_shell

The shell under which the user logs

 

in.

 

 

The added line looks like the following example. It should be placed in the file so that its uid is in numerical order with the other entries.

vsadm:x:111:11:-VSAdmin:/volserv/volserv:/bin/csh

Getting Started

601351 Rev A

Getting Started

1-9

Page 31
Image 31
ADIC Version 5.0 manual Usernamepassworduidgidinformationlogindirectoryloginshell