On Sun, Aug 05, 2001 at 08:39:35PM +0700, loeung vidol wrote:
> 2. Netx question is:
> 
> What,now, are the steps to enable the disk "quota" on a partition (e.g.
> /home)? It is different from the previous versions.
> From the hint that I got from running the command: "quotaon -u /home", I had
> to run this command to convert old-style quota to the new one:
> 
> convertquota -u /home
> 
> That would create a new file called: /home/aquota.user from the existing
> /home/quota.user file.
> I guess, there might be a new way to enable the quota.
> Anyone has an idea?

First, make sure that you have the "usrquota", "grpquota", or "quota"
flag option specified in the options field in /etc/fstab (see the
mount(8) man page for details).

If you're rebooting, rc.sysinit should handle the rest.  If not, remount
the affected filesystems.  If you have files named "quota.user" run
"convertquota -u mountpoint" for each filesystem with a "quota.user"
file, then remove the "quota.user" file.  If you have "quota.group" files,
run "convertquota" with the "-g" flag instead.

Then run "quotacheck -a" to make sure everything's alright, and you
should be all set.

> Another question is:
> 
> 3. How to check, from command line, which groups a user belongs to
> (including initial and supplementary groups)?

Run "id username".

Cheers,

Nalin



_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list

Reply via email to