July 2006

Iptables is not sending LOG to syslog file

by Vivek Gite on July 30, 2006 · 1 comment

Q. I am running SSH/MySQL/Webserver and setup iptables based firewall. But my logs are send to console rather than the system log files. How do make sure that iptables LOG target messages are send to /var/log/messages file? A. IPTABLES LOG module turns on kernel logging of matching packets. When this option is set for a [...]

{ 1 comment }

Q. FTP is insecure, how do I securely copy files across a network computer? My network has Windows and Linux systems. A. You need to use Openssh client and server technology to copy between two more network computers. You can also find free ssh client tools. scp copies files between hosts on a network. It [...]

{ 15 comments }

Q. What ports need to be open for Samba to communicate with other windows/linux systems? I need to configure Linux firewall so I need the exact port names. A. You can get list of ports from file called /etc/services. For your ease of use here are ports you need to open for two-way samba communication [...]

{ 2 comments }

Ubuntu Linux enable telnet service

by nixcraft on July 29, 2006 · 16 comments

Q. How do I install and start telnet service / server under Ubuntu Linux? A. Telnet is an insecure service. It is recommended that you use ssh service. However sometime telnet server or service is needed. Here are instructions to enable telnet: Install telnetd server $ sudo apt-get install telnetd Restart inetd service: $ sudo [...]

{ 16 comments }

How do I start Oracle service in UNIX?

by nixcraft on July 29, 2006 · 9 comments

Q. I am using Solaris UNIX. How can I start Oracle service / server in UNIX from a shell prompt? A. In order to start Oracle service in UNIX you need to login as a Oracle user. Use su – command to login as oracle user. Start Oracle server in UNIX Type the following command, [...]

{ 9 comments }

Q. I have a compact flash card reader hardware device connected to USB port of computer system. Now how do I mount and access a compact flash card connected to this Linux system (Fedora Core)? A. Your compact flash card will automatically detected by Linux. First create a mount point (type the following command as [...]

{ 0 comments }

Q. I made MySQL backup using mysqldump -u user -h localhost -ppassword forumdb | -gzip -9 > forumdb.sql.gz command. How do I restore MySQL database backup using a shell prompt under Linux / UNIX operating system?

{ 1 comment }