quotas with no /home partition and usernames with dots (.)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello

I have a couple of questions.

First, I want to configure quotas for the users in my redhat 9 box. I've
done it before, and it was quite simple, I just add the usrquota param to
the entry of the home directory (partition) in the fstab file

    LABEL=/home       /home          ext3    defaults,usrquota  1 2

and then remount the partition and create de /home/aquota.user file and
define the quotas for each user.

The problem now is that I want to configure quotas but I have a redhat with
no home partition, just de / partition. Here's de 'df' command result

    /dev/hda2             38961432   2074296  34907928   6% /
    /dev/hda1               101089      9275     86595  10% /boot
    none                    111496         0    111496   0% /dev/shm

And the contents on the fstab file

    LABEL=/                 /                       ext3    defaults
1 1
    LABEL=/boot             /boot                   ext3    defaults
1 2
    none                    /dev/pts                devpts  gid=5,mode=620
0 0
    none                    /proc                   proc    defaults
0 0
    none                    /dev/shm                tmpfs   defaults
0 0
    /dev/hda3               swap                    swap    defaults
0 0
    /dev/cdrom              /mnt/cdrom              udf,iso9660
noauto,owner,kudzu,ro 0 0
    /dev/fd0                /mnt/floppy             auto
noauto,owner,kudzu 0 0


So I tried to configure the quotas, and because there's no /home partition I
used the / partition. I modified the fstab file like this

    LABEL=/                 /                       ext3
defaults,usrquota         1 1
    LABEL=/boot             /boot                   ext3    defaults
1 2
    none                    /dev/pts                devpts  gid=5,mode=620
0 0
    none                    /proc                   proc    defaults
0 0
    none                    /dev/shm                tmpfs   defaults
0 0
    /dev/hda3               swap                    swap    defaults
0 0
    /dev/cdrom              /mnt/cdrom              udf,iso9660
noauto,owner,kudzu,ro 0 0
    /dev/fd0                /mnt/floppy             auto
noauto,owner,kudzu 0 0

Remount the partition and create de /aquota.user. Then I created the quotas
for users using   'edquota -u user' and it looks like it's ok. But the user
can pass the quota (soft and hard too) with no problems or reports. I guess
ir's the user directory is in the /home directory, and the quotas defined
are in the /  directory.

But How can I define quotas if I have these configuration with no
partitions????.  I think it can be possible but I tried and could no get it,
and I really don't want to re partition the system, even more since I'm not
a linux guru, I'm almost a newbie. ;)

Thanx if anybody can help me with this. I would really appreciated.


My next question is about user names. I want to have in my machine user
names like "name.lastname" or something similar including a dot in the user
name. But the standard instalation of shrike don't let me add users with
dots in their login.

    [root@machine root]# adduser name.lastname
    adduser: invalid user name 'name.lastname'

Is it possible to change some configuration, or override the username rules
to let me create usernames like the one I mentioned ??  Including a dot in
it ???

Thanx again and sorry about the length of this mail, but I hope you can help
me and help others since I could not find information or talks about it in
the archives.

Thanx again and again

bye

David !




-- 
Shrike-list mailing list
Shrike-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux