Exercise 24: Independent Fireworks


To implement disk quotas for all users,

1.

Start YaST and authenticate as the root user.

2.

Install the quota package.

3.

Choose System and then Partitioner.

4.

Select the Linux partition and click the Edit button. This will bring up a screen similar to that shown in Figure 4.27.

Figure 4.27. The current partition without quotas.


5.

Click the Fstab Options button. This brings up a screen similar to that shown in Figure 4.28.

Figure 4.28. The options available with fstab.


6.

Type usrquota in the Arbitrary Option Value box at the bottom.

7.

Click OK twice, followed by Apply.

NOTE

After clicking Apply, a couple of unexpected things happen. First, YaST tells you that the volume needs to be remounted and asks if you are sure that you want to do this. You will then see a warning which says that it can't be remounted and implies that you have to know what you are doing to continue. If this happens, select to continue.

After doing this, go to a terminal prompt and remount the root partition by entering mount -o remount /dev/hda2.

Before going on to the next step, turn quotas on for all mounted file systems by entering quotaon -av, and then make this persistent by entering chkconfig quota on.

8.

It is now possible to go to the command line and use the command setquota to turn on the quota for each user.

TIP

In addition to using setquota, you use repquota to view the quota report and edquota to edit user quota settings.




NovellR Linux Certification Practium Lab Manual
NovellR Linux Certification Practium Lab Manual
ISBN: N/A
EAN: N/A
Year: 2004
Pages: 192

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net