首页
首页 » 磁盘管理 » edquota(edit quota)

edquota(edit quota)

edquota(edit quota)
功能说明:编辑用户或群组的quota。
语  法:edquota [-p <源用户名称>][-ug][用户或群组名称...] 或 edquota [-ug] -t
补充说明:edquota预设会使用vi来编辑使用者或群组的quota设置。
参  数:
  -u   设置用户的quota,这是预设的参数。
  -g   设置群组的quota。
  -p<源用户名称>   将源用户的quota设置套用至其他用户或群组。
  -t   设置宽限期限。

edquota

edquota [options] [name]

System administration command. Edit filesystem quotas using a text editor. When edits are complete, edquota writes the new information to the binary quota files. Uses the editor specified in the EDITOR environment variable, or vi by default.

Options

-ffilesystem

Only apply changes to the specified filesystem.

-Fformat

Specify filesystem quota format to use. See quota for a list of accepted values.

-g

Edit group quotas.

-pprototype

Apply the same settings as used for the specified user or group: prototype.

-r

Edit quotas on remote systems.

-t

Edit grace times for block and inode quotas.

-T

Edit grace times for individual user or group name.

-u

Edit user quotas. (This is the default.)