Configuring Advanced Server for UNIX

Restricting the user’s disk space

Configuring the disk space restriction

To configure the disk space restriction, you should proceed as follows:

1.Change the value of parameter “UnixQuotas” within the registry to “1”.

Note that this will automatically affect certain other parameters as well. For more infor- mation, please refer to the section “File Service Parameters Entries” in chapter “Advanced Server Registry” .

2.Stop Advanced Server for UNIX.

3.Start Advanced Server for UNIX.

The restrictions configured under UNIX are now active for the Advanced Server for UNIX users. If a user reaches the set limit a message is issued to the effect that there is insuffi- cient disk space available and no further data can be copied to the specified location.

Mapping Advanced Server for UNIX users to UNIX users

UNIX quotas can really only be used properly if a UNIX user is assigned to each Advanced Server for UNIX user. This is predetermined by setting the following parameter in the registry:

CreateUnixUser=1

If this parameter has the value 0, all Advanced Server for UNIX users are mapped to a UNIX “lmworld“ user. In this case, the total disk space quota for all Advanced Server for UNIX users must not be exceeded, i.e. if one Advanced Server for UNIX user exceeds the permitted capacity this blocks all other Advanced Server for UNIX users at the same time.

If required, you can view and change the mapping of Advanced Server for UNIX users to UNIX users with the following command:

/var/opt/lanman/bin/mapuname

Example of configuring UNIX quotas:

Prerequisite: Your Advanced Server for UNIX must have the following registry param- eters set: CreateUnixUser=1 and UnixQuotas=1. The domain name is e.g. domain1. To perform the configuration now, you should proceed as follows:

ÊCreate an Advanced Server for UNIX user “user1”: net user user1 password /add

ÊCheck the mapping to the UNIX user:

/var/opt/lanman/bin/mapuname domain1:user1

The respective UNIX user is then output: user1.

Product Manual

U7613-J-Z815-6-76

Page 123
Image 123
Siemens V4.0 manual Configuring the disk space restriction, Mapping Advanced Server for Unix users to Unix users