enable quotas Redhat, Centos, Linux
- No Comments
- Sep, 03, 2010
- Angelo Schalley
- Linux, security
Here are the steps to implementing quotas on a RedHat based system :
We will enable quotas on /home on the /dev/hda3 partition.
Create user :
useradd user1
passwd user1
Edit /etc/fstab :
From :
/dev/hda3 /home ext3 defaults 1 2
To :
/dev/hda3 /home ext3 defaults,usrquota,grpquota 1 2
Read more on enable quotas Redhat, Centos, Linux…
automatic login linux ftp without displaying password
- No Comments
- Aug, 29, 2010
- Angelo Schalley
- Linux, Networking, security
create file /root/.netrc
put in :
machine ftp.ftpserver.com
user testuser
password testpass
chmod 400 /root/.netrc
don’t forget to chmod, so you have to be root to be able to access the file.
Read more on automatic login linux ftp without displaying password…
reset linux webmin password
- No Comments
- Jun, 30, 2010
- Angelo Schalley
- Linux, Networking, security
/usr/libexec/webmin/changepass.pl /etc/webmin root password
change according to your situation.