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…
How to clear cached credentials in Windows
- No Comments
- Aug, 15, 2010
- Angelo Schalley
- Active Directory, Networking, Windows-Microsoft
Open an command prompt ( elevated if needed)
execute : rundll32.exe keymgr.dll, KRShowKeyMgr