verify before prceeding.
SUN#df -k or df -h
sun#format
follow the below screen shots.
next create a filesystem on partition.
#newfs /dev/rdsk/c0t0d0s(enter the slice no you have selected)
1.create a user account with home directory and assign password to the user.
sun#useradd -d /export/home/<home dir> -m sun<username>
sun#passwd <username>
password:
confirm password :
2.mount the partition on user home directory.
sun#mount /dev/dsk/c0t0d0s<no> /export/home/<user home dir>
quota permissions:
sun#cd /export/home
sun#touch quotas
sun#quotaon -v /export/home
sun#edquota <username>
new window will appear
fs /export/home blocks(soft=4,hard=8)
inodes (soft=4,hard=8)
then save the file.
To copy the quota permissions from one user to another user.
sun#edquota -p <old user> <new user>
To verify-
sun#repquota -v /export/home
To turnoff quota
sun#quotaoff -v /export/home.
Thank you for Reading.
SUN#df -k or df -h
sun#format
follow the below screen shots.
next create a filesystem on partition.
#newfs /dev/rdsk/c0t0d0s(enter the slice no you have selected)
1.create a user account with home directory and assign password to the user.
sun#useradd -d /export/home/<home dir> -m sun<username>
sun#passwd <username>
password:
confirm password :
2.mount the partition on user home directory.
sun#mount /dev/dsk/c0t0d0s<no> /export/home/<user home dir>
quota permissions:
sun#cd /export/home
sun#touch quotas
sun#quotaon -v /export/home
sun#edquota <username>
new window will appear
fs /export/home blocks(soft=4,hard=8)
inodes (soft=4,hard=8)
then save the file.
To copy the quota permissions from one user to another user.
sun#edquota -p <old user> <new user>
To verify-
sun#repquota -v /export/home
To turnoff quota
sun#quotaoff -v /export/home.
Thank you for Reading.
No comments:
Post a Comment