Êcheck the mapping to the unix user, The respective unix user is then output: user1, Var/opt/lanman/bin/mapuname – Siemens Unix V4.0 User Manual

Page 123: Net user user1 password /add, Var/opt/lanman/bin/mapuname domain1:user1

Advertising
background image

Configuring Advanced Server for UNIX

Restricting the user’s disk space

Product Manual

U7613-J-Z815-6-76

©

S

iem

e

n

s

N

ix

dor

f

In

fo

rm

at

io

n

s

s

y

s

te

m

e

A

G

1

9

9

5

P

fad

: D:

\O

7

613

e6

\u

761

3e

.k

05

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

.

Advertising