Library Table of Contents Index Previous Next Comments

How CIFS users obtain UNIX credentials

Creating or disabling the default UNIX user account

Reason for creating a default UNIX user account  Top

Create a default UNIX user account if there are users who need to connect to the filer occasionally but do not need to have individual entries in the UNIX password database. These users can use the default user account to connect to the filer.

How the default user account works with quotas  Top

If quotas are enabled, the default user account is subject to quota restrictions in the same way as other users. For example, if the default user name is pcuser and a default user quota applies to the /vol/vol0 volume, pcuser is restricted by this default user quota. For more information about quotas for the default user, see the section about how disk space owned by default users is counted in the chapter about disk space management using quotas in the Storage Management Guide.

Prerequisites for accessing the filer as a default user  Top

For a user to connect to the filer using the default user account, the user must meet the following prerequisites:

Default UNIX user name  Top

The default UNIX name of the default user is pcuser. You can specify another name through the wafl.default_unix_user option. If this option is set to a null string, no one can access the filer as a UNIX default user. That is, each user must have an account in the password database before they can access the filer.

Creating or disabling a default user account  Top

To create or disable a default user account, complete the following steps.

Step

Action

1

If...

Then...

You do not want any user to connect to the filer as a default user

Go to Step 2.

You accept the default name for the default user account, which is pcuser

Go to Step 4.

You want to use a name other than pcuser for the default account

Go to Step 3 and then Step 4.

2

Enter the following command:

options wafl.default_unix_user ""

You are done.

3

Set the wafl.default_unix_user option to another name.

Example

The following command changes the default user name to someuser:

options wafl.default_unix_user someuser
4

Create a default user account in the UNIX password database. For example, if you use pcuser as the default user account name, create an entry either in the NIS password database or the /etc/passwd file for pcuser.

Library Table of Contents Index Previous Next Comments