Securing root account is one of the main tasks. Most systems have a password assigned to the root account. The first thing you do is assume that the password is always compromised. This does not mean that you should remove the password. The password is almost always necessary for console access to the machine. What it does mean is that you should not make it possible to use the password outside of the console. Direct root logins should only be allowed via the system console.
1) Login as a root user
2) Open /etc/ssh/sshd_config file
# vi /etc/ssh/sshd_config
3) Make changes to ssh server configuration find the following line or edit the line from:
Change it to:
4) Save the changes
5) Restart sshd service
# /etc/init.d/sshd restart
The option PermitRootLogin specifies whether root can log in using ssh.
would like to find out how long the system has been running under a UNIX or Linux operating system. How do I find out system uptime? How to tell how long the Linux system has been running on
ow do I change MySQL root password under Linux, FreeBSD, OpenBSD and UNIX-like like operating system over the ssh session?
According to wikipedia “A content management system (CMS) is a computer software system for organizing and facilitating collaborative creation of documents and other content. A content management system is frequently a web application used for managing websites and web content, though in many cases, content management systems require special client software for editing and constructing articles. The market for content management systems remains fragmented, with many open-source and proprietary solutions available.”
Most CMS systems are written in PHP/Perl and MySQL database software. According to us following are the best open source content management system:
For more information and in depth comparisons of CMS see:
- http://www.opensourcecms.com/ – You can try various open source CMS software before install. Includes both admin and user page access.
- http://www.cmsmatrix.org/ – You can discuss, rate, and compare the various CMS software systems available on the market today including open source CMS systems.
MySQL is open source database server. It is reliable and widely used by web developers around the world. You can use PHP or Perl scripting to access a MySQL database. However, thousands of ready to use application available for MySQL, here is list of some of the most popular application (written in PHP [PHP (Hypertext Preprocessor) is a widely used, general-purpose scripting language that is especially suited for web development and can be embedded into HTML]):
- Guestbook software
- Forum software
- Content management system
- Blog software
- Photo Gallery
Once you are, experienced user, you may also use MySQL to create dynamic web pages or software(s) for yourself. For more information see:
ow do I create a user account on MySQL database server?
What is UNIX / Linux Korn Shell?