How to Change User’s Shell Environment in FreeBSD
In FreeBSD, user’s default shell environment is either sh or csh and I have installed Bash in FreeBSD and would like to change user’s shell environment to Bash. To change user’s shell environment in FreeBSD. shell> chsh -s /usr/local/bin/bash userid…
Quick File Copy on File Name with Sample Extension
By default, some of the application installation provide you a sample configuration file. Usually the sample of configuration will end with name like *.sample, *.default and so on. Let say you have 20 of *.sample files and it will take…
Enable SSHD on FreeBSD
I believe most system admin does remote access to the server. Who doesn’t enable SSHD on FreeBSD? Almost every new FreeBSD installation, the first thing I will do after installation is enable SSHD Service on FreeBSD. Start the service and…
Disable phpinfo() on Apache Web Server
Information displays from phpinfo() may provide resourceful information to attacker, such as file patch, web server environment, php modules, web server modules and etc. It’s better to disable phpinfo() function on your webserver.
Changing File’s Date and Time on Unix Systems
Change Data and Time of a File At times, we might want to change date and time of a file, for record purposes. For example, when you copying log file from remote machine, when it’s extract on local machine, the…
Recent Comments