Partition
# mount -t ext3 /dev/sdaX /home
# vi /etc/fstab
# groupadd -g 7000 linux
# useradd -u 700X -g 7000 -G users -m -c "YYY ZZZ" abc
Quota
# mount -t ext3 /dev/sdaX /qtest
# mkdir /qtest/qall
# chgrp linux /qtest/qall
# chmod 3770 /qtest/qall
# vi /etc/fstab
/dev/sdaX /home defaults,usrquota,grpquota
# mount -o -remount,rw /home
# quotacheck -auvg
# edquota -u 7001
# edquota -p 7001 7002
# edquota -g 7000
# repquota -u 7001
# insserv boot.quota
# /etc/init.d/boot.quota start
NFS
# vi /etc/exports
/home 192.168.1.0/24(rw,no_root_squash)
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment