- 论坛徽章:
- 0
|
quota
mount -o remount,rw /dev/sda2 /
# vi /etc/fstab
defaults,usrquota,grpquota
# mount -o remount /
# quotacheck -cvum / (m为强制)
# edquota -u user1
# quotaon /
# edquota -t (宽恕时间)
samba
# service smb restart
# smbclient -L 192.168.1.7
# smbpasswd -a user1 (第一次)
# smbclient //192.168.1.7/user1 -U user1
# mount -t smbfs -o username=user1,password=123456 //192.168.1.7/myshare /mnt
nfs
#service nfs restart
service portmap start ???
# vi /etc/exports
/home/user1 192.168.1.0/24(rw,no_root_squash)
# mount -t nfs 192.168.1.7:/home/user1 /mnt
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u1/47052/showart_1158514.html |
|