Siemens V4.0 manual Share the directory

Models: V4.0

1 365
Download 365 pages 46.33 Kb
Page 124
Image 124

Configuring Advanced Server for UNIX

Restricting the user’s disk space

ÊCreate a directory for this user: cd /home

mkdir user1 chown user1 user1 chgrp DOS---- user1 chmod 775 user1

ÊShare the directory:

net share user1=c:/home/user1

ÊAssign rights for the user “user1”:

net perms c:/home/user1 /grant user1:fullcontrol

ÊNow configure “quotas” under UNIX for the /home directory:

ÊIn the /home directory, create a blank file called “quotas”:

> quotas

Set the limits for the UNIX user “user1”: edquota user1

A temporary file with the following contents is opened using the vi editor. fs /home blocks (soft = 0, hard = 0) inodes (soft = 0, hard = 0)

Enter the limits, for example:

fs /home blocks (soft = 11000, hard = 15000) inodes (soft = 0, hard = 0)

Exit the editor and save the file.

ÊEnable “quotas” support for the directory. In the /etc/vfstab file, change the line for /home for example:

/dev/ios0/sdisk000s5

/dev/ios0/rsdisk000s5

/home

ufs

0

yes

:

/dev/ios0/sdisk000s5

/dev/ios0/rsdisk000s5

/home

ufs

0

yes

 

ÊActivate the change: quotaon -a

ÊThe disk space restriction has now been configured successfully, and can be checked with the quota -v user1 command. Users can view their own disk space under UNIX with the quota -vcommand.

Product Manual

U7613-J-Z815-6-76

Page 124
Image 124
Siemens V4.0 manual Share the directory