[ Pobierz całość w formacie PDF ]
win computer to be accessed by any user user collections from getting out of apply quotas to groups:
in the /winc directory on Linux. control? The answer is, use quotas [1].
However, the user will be prompted Quotas allow the system administrator /dev/hda6 /usr ext2 U
for a password after issuing the mount to restrict the amount of storage capacity defaults,grpquota 1 1
command. Although users can supply a available to groups and individual users.
username parameter when issuing the You can define the quotas with either If required, you can apply both settings
mount command (-o username=tux, dynamic or hard limits. to a single partition:
password=pw), you might like to Quotas use separate configuration files
simplify this task: to manage partitions, and are simple to /dev/hda6 /var ext2 U
apply. The original HOWTO is available defaults,usrquota,grpquota 1 1
//win/C /winc smbfs U
user,noauto,username="tux",U A separation of system and user data can
Table 2: Overview of
password="pw" 0 0 be achieved by defining appropriate
mount options
partitions for your Linux installation.
defaults defaults:rw,suid, dev,exec,auto,nouser
You might be a little confused at this This allows for ease of administrative
and async
point, because you have not been able exec allows binary and script execution intervention. Also, a well-planned fstab
to find the username and password noexec prevents binary and script execution structure will save an administrator
user allows a user to mount the file system
commands in man mount. The program headaches especially when under time
noauto must be mounted by the mount command
actually runs smbmount at this point, pressure with things going wrong. %
ro mounts the file system in read-only mode
and the smbmount manpages are where
rw mounts the file system in read-write mode
you should be looking for further details
INFO
umask= inverse bitmask of the access privileges
on this topic.
[1] Quotas: http://www.sourceforge.net/
(e.g. for FAT file systems)
The configuration required to mount a
projects/linuxquota
uid= User ID of the data
directory via the Network File System
gid= Group ID of the data [2] Quota Howto: http://www.tldp.org/
(NFS) is similar and can be seen if we
HOWTO/mini/Quota.html
sync Synchronous I/O Operations
use the following:
54 February 2003 www.linux-magazine.com
[ Pobierz całość w formacie PDF ]