by Aromal Rajagopal | Feb 15, 2010 | Quick fixes, Technical |
Issue : How can a large file, say 1GB, for some testing purposes be created? Solution : Use the following command : dd if=/dev/zero of= filename bs=1024 count=1024number of 0’s Replace ‘filename’ with the actual filename. Replace ‘number of...
by Aromal Rajagopal | Feb 15, 2010 | Quick fixes, Technical |
Issue : There is no control panel installed on the server. So, how can the total number of user accounts on the system be determined? Solution: Use the following command to find the total number of accounts on the system : cat /etc/passwd | wc -l Note : This will also...
by Aromal Rajagopal | Feb 5, 2010 | Quick fixes, Technical |
Issue : How can a particular email account be ‘disabled’ temporarily. Note that the email account should not be ‘deleted’ ? Is this possible at all via cPanel? Solution : There is no direct functionality in cPanel at the moment for this. This...
by Aromal Rajagopal | Feb 1, 2010 | Quick fixes, Technical |
Issue : Need to transfer a folder from a remote server to the local server. Solution : One way of doing this is using the ‘wget’ command. First, log in to your server via SSH and and launch wget mirroring using the following command : wget -m...
by Aromal Rajagopal | Jan 29, 2010 | Quick fixes, Technical |
Issue : SFTP users can view server files and folders by simply changing the path to ‘/’. How can this be avoided? Solution : SFTP means FTP access over SSH. You will have to chroot the individual users in order to prevent them from viewing files outside...