Posts

Showing posts from March, 2005

Disk quota configration at RedHat Linux

Linux OS disk quota configuration for local users and group. Install Binary Package rpm –i quota~.rpm Modify /etc/fstab LABEL=LINUX / ext3 defaults,usrquota,grpquota 1 1 none /dev/pts devpts gid=5,mode=620 0 0 none /proc proc defaults 0 0 none /dev/shm tmpfs defaults 0 0 /dev/cdrom /mnt/cdrom udf,iso9660 auto,owner,kudzu,ro 0 0 /dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0 Create Quota Files touch /aquota.user touch /aquota.group chmod 600 /aquota.user chmod 600 /aquota.group Reboot the system reboot or mount / -o rw,remount Test the quota mount Quotacheck quotacheck –aumv quotacheck –avgm ( group ) Quota On quotaon –auvg Assign for User/Group edquota –u username edquota –g groupname In this part, you would set limit for Users' Soft and Hard limit. Quota Commands quotacheck quotaon/off quotastats setquota quota repquota

Anonymous FTP server with vsftp

Install Binary Package rpm –i vsftp.~.rpm rpm –i libcap~.rpm Modify /etc/vsftpd/vsftpd.conf to allow anonymous login # Allow anonymous FTP? anonymous_enable=YES # # Uncomment this to allow local users to log in. local_enable=YES # Activate logging of uploads/downloads. xferlog_enable=YES You may override where the log file goes if you like. The default is shown # below. xferlog_file=/var/log/vsftpd.log Review the log Thu Mar 24 18:44:03 2005 1 192.168.1.1 0 /home/mt/rpm b _ o r mt ftp 0 * c Thu Mar 24 18:49:44 2005 1 192.168.1.1 0 /home/mt/rview b _ o r mt ftp 0 * c