sanjay@sanjay-desktop:~$ ssh root@204.8.177.24
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
d7:2c:58:a7:a8:96:5b:fc:fa:24:bc:52:c4:39:c6:3b.
Please contact your system administrator.
Add correct host key in /home/sanjay/.ssh/known_hosts to get rid of this message.
Offending key in /home/sanjay/.ssh/known_hosts:5
RSA host key for 204.8.177.24 has changed and you have requested strict checking.
Host key verification failed.
sanjay@sanjay-desktop:~$ gedit /home/sanjay/.ssh/known_hosts
sanjay@sanjay-desktop:~$ ssh root@204.8.177.24
The authenticity of host '204.8.177.24 (204.8.177.24)' can't be established.
RSA key fingerprint is d7:2c:58:a7:a8:96:5b:fc:fa:24:bc:52:c4:39:c6:3b.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '204.8.177.24' (RSA) to the list of known hosts.
root@204.8.177.24's password:
Linux sanjay.sodhi.TLD 2.6.9 #2 SMP Fri Sep 29 02:47:35 EDT 2006 i686
The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.
root@sanjay:~# apt-get update
Get:1
http://us.archive.ubuntu.com edgy Release.gpg [191B]
Get:2
http://us.archive.ubuntu.com edgy-updates Release.gpg [191B]
Ign
http://us.archive.ubuntu.com edgy-updates/main Translation-en_CA
Ign
http://us.archive.ubuntu.com edgy-updates/restricted Translation-en_CA
Get:3
http://archive.ubuntu.com edgy Release.gpg [191B]
Ign
http://archive.ubuntu.com edgy/multiverse Translation-en_CA
Ign
http://archive.ubuntu.com edgy/universe Translation-en_CA
Ign
http://archive.ubuntu.com edgy/main Translation-en_CA
Ign
http://archive.ubuntu.com edgy/restricted Translation-en_CA
Hit
http://archive.ubuntu.com edgy Release
Hit
http://us.archive.ubuntu.com edgy Release
Get:4
http://us.archive.ubuntu.com edgy-updates Release [38.4kB]
Hit
http://archive.ubuntu.com edgy/multiverse Packages
Hit
http://archive.ubuntu.com edgy/universe Packages
Hit
http://archive.ubuntu.com edgy/main Packages
Hit
http://archive.ubuntu.com edgy/restricted Packages
Hit
http://us.archive.ubuntu.com edgy/main Sources
Hit
http://us.archive.ubuntu.com edgy/restricted Sources
Get:5
http://us.archive.ubuntu.com edgy-updates/main Packages [79.3kB]
Get:6
http://us.archive.ubuntu.com edgy-updates/restricted Packages [14B]
Get:7
http://us.archive.ubuntu.com edgy-updates/main Sources [24.0kB]
Get:8
http://us.archive.ubuntu.com edgy-updates/restricted Sources [14B]
Fetched 142kB in 8s (16.9kB/s)
Reading package lists... Done
root@sanjay:~#
root@sanjay:~# apt-get install apache2
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
apache2-common apache2-mpm-worker openssl ssl-cert
Suggested packages:
apache2-doc ca-certificates
The following NEW packages will be installed:
apache2 apache2-common apache2-mpm-worker openssl ssl-cert
0 upgraded, 5 newly installed, 0 to remove and 3 not upgraded.
Need to get 2055kB of archives.
After unpacking, 6169kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1
http://archive.ubuntu.com edgy/main openssl 0.9.8b-2ubuntu2 [993kB]
Get:2
http://archive.ubuntu.com edgy/main ssl-cert 1.0.13 [9526B]
Get:3
http://archive.ubuntu.com edgy/main apache2-common 2.0.55-4ubuntu4 [807kB]
Get:4
http://archive.ubuntu.com edgy/main apache2-mpm-worker 2.0.55-4ubuntu4 [209kB]
Get:5
http://archive.ubuntu.com edgy/main apache2 2.0.55-4ubuntu4 [36.0kB]
Fetched 2055kB in 8s (237kB/s)
Preconfiguring packages ...
Selecting previously deselected package openssl.
(Reading database ... 13750 files and directories currently installed.)
Unpacking openssl (from .../openssl_0.9.8b-2ubuntu2_i386.deb) ...
Creating directory /etc/ssl
Selecting previously deselected package ssl-cert.
Unpacking ssl-cert (from .../ssl-cert_1.0.13_all.deb) ...
Selecting previously deselected package apache2-common.
Unpacking apache2-common (from .../apache2-common_2.0.55-4ubuntu4_i386.deb) ...
Selecting previously deselected package apache2-mpm-worker.
Unpacking apache2-mpm-worker (from .../apache2-mpm-worker_2.0.55-4ubuntu4_i386.deb) ...
Selecting previously deselected package apache2.
Unpacking apache2 (from .../apache2_2.0.55-4ubuntu4_i386.deb) ...
Setting up openssl (0.9.8b-2ubuntu2) ...
Setting up ssl-cert (1.0.13) ...
Setting up apache2-common (2.0.55-4ubuntu4) ...
Setting Apache2 to Listen on port 80. If this is not desired, please edit /etc/apache2/ports.conf as desired. Note that the Port directive no longer works.
Module userdir installed; run /etc/init.d/apache2 force-reload to enable.
Setting up apache2-mpm-worker (2.0.55-4ubuntu4) ...
* Starting apache 2.0 web server... [ ok ]
Setting up apache2 (2.0.55-4ubuntu4) ...
root@sanjay:~# apt-get install php5 libapache2-mod-php5 php5-curl php5-gd
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
apache2-mpm-worker
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
apache2-mpm-prefork ca-certificates defoma file fontconfig-config libcurl3 libfontconfig1 libfreetype6 libgd2-xpm
libidn11 libjpeg62 libpng12-0 libt1-5 libx11-6 libx11-data libxau6 libxdmcp6 libxml2 libxpm4 php5-common ttf-dejavu
Suggested packages:
defoma-doc psfontmgr x-ttcidfont-conf dfontmgr php-pear libfreetype6-dev libgd-tools
Recommended packages:
libft-perl xml-core
The following packages will be REMOVED:
apache2-mpm-worker
The following NEW packages will be installed:
apache2-mpm-prefork ca-certificates defoma file fontconfig-config libapache2-mod-php5 libcurl3 libfontconfig1
libfreetype6 libgd2-xpm libidn11 libjpeg62 libpng12-0 libt1-5 libx11-6 libx11-data libxau6 libxdmcp6 libxml2 libxpm4 php5
php5-common php5-curl php5-gd ttf-dejavu
0 upgraded, 25 newly installed, 1 to remove and 3 not upgraded.
Need to get 8870kB of archives.
After unpacking, 21.6MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1
http://archive.ubuntu.com edgy/main libxau6 1:1.0.1-1 [6516B]
Get:2
http://archive.ubuntu.com edgy/main libxdmcp6 1:1.0.1-1 [10.5kB]
Get:3
http://archive.ubuntu.com edgy/main libx11-data 2:1.0.3-0ubuntu4 [197kB]
Get:4
http://archive.ubuntu.com edgy/main libx11-6 2:1.0.3-0ubuntu4 [582kB]
Get:5
http://archive.ubuntu.com edgy/main file 4.17-2ubuntu1 [31.0kB]
Get:6
http://archive.ubuntu.com edgy/main apache2-mpm-prefork 2.0.55-4ubuntu4 [206kB]
Get:7
http://archive.ubuntu.com edgy/main ca-certificates 20050804 [93.2kB]
Get:8
http://archive.ubuntu.com edgy/main defoma 0.11.10 [78.7kB]
Get:9
http://archive.ubuntu.com edgy/main ttf-dejavu 2.7-2 [3051kB]
Get:10
http://archive.ubuntu.com edgy/main fontconfig-config 2.3.2-7ubuntu2 [54.7kB]
Get:11
http://archive.ubuntu.com edgy/main libxml2 2.6.26.dfsg-2ubuntu4 [741kB]
Get:12
http://archive.ubuntu.com edgy/main php5-common 5.1.6-1ubuntu2 [139kB]
Get:13
http://archive.ubuntu.com edgy/main libapache2-mod-php5 5.1.6-1ubuntu2 [2317kB]
Get:14
http://archive.ubuntu.com edgy/main libidn11 0.6.3-1 [113kB]
Get:15
http://archive.ubuntu.com edgy/main libcurl3 7.15.4-1ubuntu2 [161kB]
Get:16
http://archive.ubuntu.com edgy/main libfreetype6 2.2.1-5 [341kB]
Get:17
http://archive.ubuntu.com edgy/main libfontconfig1 2.3.2-7ubuntu2 [120kB]
Get:18
http://archive.ubuntu.com edgy/main libjpeg62 6b-13 [82.9kB]
Get:19
http://archive.ubuntu.com edgy/main libpng12-0 1.2.8rel-5.1 [111kB]
Get:20
http://archive.ubuntu.com edgy/main libxpm4 1:3.5.5-1 [33.5kB]
Get:21
http://archive.ubuntu.com edgy/main libgd2-xpm 2.0.33-4ubuntu2 [199kB]
Get:22
http://archive.ubuntu.com edgy/main libt1-5 5.1.0-2 [140kB]
Get:23
http://archive.ubuntu.com edgy/main php5 5.1.6-1ubuntu2 [1068B]
Get:24
http://archive.ubuntu.com edgy/main php5-curl 5.1.6-1ubuntu2 [24.6kB]
Get:25
http://archive.ubuntu.com edgy/main php5-gd 5.1.6-1ubuntu2 [34.1kB]
Fetched 8870kB in 15s (583kB/s)
Preconfiguring packages ...
dpkg: apache2-mpm-worker: dependency problems, but removing anyway as you request:
apache2 depends on apache2-mpm-worker (= 2.0.55-4ubuntu4) | apache2-mpm-prefork (= 2.0.55-4ubuntu4) | apache2-mpm-perchild (= 2.0.55-4ubuntu4); however:
Package apache2-mpm-worker is to be removed.
Package apache2-mpm-prefork is not installed.
Package apache2-mpm-perchild is not installed.
(Reading database ... 14571 files and directories currently installed.)
Removing apache2-mpm-worker ...
* Stopping apache 2.0 web server... [ ok ]
Selecting previously deselected package libxau6.
(Reading database ... 14566 files and directories currently installed.)
Unpacking libxau6 (from .../libxau6_1%3a1.0.1-1_i386.deb) ...
Selecting previously deselected package libxdmcp6.
Unpacking libxdmcp6 (from .../libxdmcp6_1%3a1.0.1-1_i386.deb) ...
Selecting previously deselected package libx11-data.
Unpacking libx11-data (from .../libx11-data_2%3a1.0.3-0ubuntu4_all.deb) ...
Selecting previously deselected package libx11-6.
Unpacking libx11-6 (from .../libx11-6_2%3a1.0.3-0ubuntu4_i386.deb) ...
Selecting previously deselected package file.
Unpacking file (from .../file_4.17-2ubuntu1_i386.deb) ...
Selecting previously deselected package apache2-mpm-prefork.
Unpacking apache2-mpm-prefork (from .../apache2-mpm-prefork_2.0.55-4ubuntu4_i386.deb) ...
Selecting previously deselected package ca-certificates.
Unpacking ca-certificates (from .../ca-certificates_20050804_all.deb) ...
Selecting previously deselected package defoma.
Unpacking defoma (from .../defoma_0.11.10_all.deb) ...
Selecting previously deselected package ttf-dejavu.
Unpacking ttf-dejavu (from .../ttf-dejavu_2.7-2_all.deb) ...
Selecting previously deselected package fontconfig-config.
Unpacking fontconfig-config (from .../fontconfig-config_2.3.2-7ubuntu2_all.deb) ...
Selecting previously deselected package libxml2.
Unpacking libxml2 (from .../libxml2_2.6.26.dfsg-2ubuntu4_i386.deb) ...
Selecting previously deselected package php5-common.
Unpacking php5-common (from .../php5-common_5.1.6-1ubuntu2_i386.deb) ...
Selecting previously deselected package libapache2-mod-php5.
Unpacking libapache2-mod-php5 (from .../libapache2-mod-php5_5.1.6-1ubuntu2_i386.deb) ...
Selecting previously deselected package libidn11.
Unpacking libidn11 (from .../libidn11_0.6.3-1_i386.deb) ...
Selecting previously deselected package libcurl3.
Unpacking libcurl3 (from .../libcurl3_7.15.4-1ubuntu2_i386.deb) ...
Selecting previously deselected package libfreetype6.
Unpacking libfreetype6 (from .../libfreetype6_2.2.1-5_i386.deb) ...
Selecting previously deselected package libfontconfig1.
Unpacking libfontconfig1 (from .../libfontconfig1_2.3.2-7ubuntu2_i386.deb) ...
Selecting previously deselected package libjpeg62.
Unpacking libjpeg62 (from .../libjpeg62_6b-13_i386.deb) ...
Selecting previously deselected package libpng12-0.
Unpacking libpng12-0 (from .../libpng12-0_1.2.8rel-5.1_i386.deb) ...
Selecting previously deselected package libxpm4.
Unpacking libxpm4 (from .../libxpm4_1%3a3.5.5-1_i386.deb) ...
Selecting previously deselected package libgd2-xpm.
Unpacking libgd2-xpm (from .../libgd2-xpm_2.0.33-4ubuntu2_i386.deb) ...
Selecting previously deselected package libt1-5.
Unpacking libt1-5 (from .../libt1-5_5.1.0-2_i386.deb) ...
Selecting previously deselected package php5.
Unpacking php5 (from .../php5_5.1.6-1ubuntu2_all.deb) ...
Selecting previously deselected package php5-curl.
Unpacking php5-curl (from .../php5-curl_5.1.6-1ubuntu2_i386.deb) ...
Selecting previously deselected package php5-gd.
Unpacking php5-gd (from .../php5-gd_5.1.6-1ubuntu2_i386.deb) ...
Setting up libxau6 (1.0.1-1) ...
Setting up libxdmcp6 (1.0.1-1) ...
Setting up libx11-data (1.0.3-0ubuntu4) ...
Setting up libx11-6 (1.0.3-0ubuntu4) ...
Setting up file (4.17-2ubuntu1) ...
Setting up apache2-mpm-prefork (2.0.55-4ubuntu4) ...
* Starting apache 2.0 web server... [ ok ]
Setting up ca-certificates (20050804) ...
Updating certificates in /etc/ssl/certs....done.
Setting up defoma (0.11.10) ...
Setting up ttf-dejavu (2.7-2) ...
Setting up fontconfig-config (2.3.2-7ubuntu2) ...
Setting up libxml2 (2.6.26.dfsg-2ubuntu4) ...
Setting up php5-common (5.1.6-1ubuntu2) ...
Setting up libapache2-mod-php5 (5.1.6-1ubuntu2) ...
* Forcing reload of apache 2.0 web server... [ ok ]
Setting up libidn11 (0.6.3-1) ...
Setting up libcurl3 (7.15.4-1ubuntu2) ...
Setting up libfreetype6 (2.2.1-5) ...
Setting up libfontconfig1 (2.3.2-7ubuntu2) ...
Setting up libjpeg62 (6b-13) ...
Setting up libpng12-0 (1.2.8rel-5.1) ...
Setting up libxpm4 (3.5.5-1) ...
Setting up libgd2-xpm (2.0.33-4ubuntu2) ...
Setting up libt1-5 (5.1.0-2) ...
Setting up php5 (5.1.6-1ubuntu2) ...
Setting up php5-curl (5.1.6-1ubuntu2) ...
Setting up php5-gd (5.1.6-1ubuntu2) ...
root@sanjay:~# cd /var/www/
root@sanjay:/var/www# echo '<? phpinfo(); ?> >> phpinfo.php
> ;
> q
> **** off.
> ****...I know how to get out of this...
> ah
> '
<? phpinfo(); ?> >> phpinfo.php
;
q
**** off.
****...I know how to get out of this...
ah
root@sanjay:/var/www# owned *****.
-bash: owned: command not found
root@sanjay:/var/www# echo '<? phpinfo(); ?>'>>phpinfo.php
root@sanjay:/var/www# apt-get install php5-mysql mysql-server phpmyadmin
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libdbd-mysql-perl libdbi-perl libmysqlclient15off libnet-daemon-perl libplrpc-perl mysql-client-5.0 mysql-common
mysql-server-5.0 php5-mysqli psmisc
Suggested packages:
dbishell libcompress-zlib-perl tinyca
Recommended packages:
mailx php5-mcrypt php4-mcrypt
The following NEW packages will be installed:
libdbd-mysql-perl libdbi-perl libmysqlclient15off libnet-daemon-perl libplrpc-perl mysql-client-5.0 mysql-common
mysql-server mysql-server-5.0 php5-mysql php5-mysqli phpmyadmin psmisc
0 upgraded, 13 newly installed, 0 to remove and 3 not upgraded.
Need to get 38.3MB of archives.
After unpacking, 105MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1
http://archive.ubuntu.com edgy/main psmisc 22.2-1 [49.1kB]
Get:2
http://us.archive.ubuntu.com edgy-updates/main mysql-common 5.0.24a-9ubuntu2 [42.3kB]
Get:3
http://us.archive.ubuntu.com edgy-updates/main libmysqlclient15off 5.0.24a-9ubuntu2 [1760kB]
Get:4
http://archive.ubuntu.com edgy/main libnet-daemon-perl 0.38-1.1 [45.9kB]
Get:5
http://archive.ubuntu.com edgy/main libplrpc-perl 0.2017-1.1 [35.0kB]
Get:6
http://archive.ubuntu.com edgy/main libdbi-perl 1.51-2 [640kB]
Get:7
http://archive.ubuntu.com edgy/main libdbd-mysql-perl 3.0006-1 [138kB]
Get:8
http://archive.ubuntu.com edgy/main php5-mysqli 5.1.6-1ubuntu2 [39.5kB]
Get:9
http://archive.ubuntu.com edgy/main php5-mysql 5.1.6-1ubuntu2 [23.1kB]
Get:10
http://archive.ubuntu.com edgy/universe phpmyadmin 4:2.8.2-0.2 [3607kB]
Get:11
http://us.archive.ubuntu.com edgy-updates/main mysql-client-5.0 5.0.24a-9ubuntu2 [6956kB]
Get:12
http://us.archive.ubuntu.com edgy-updates/main mysql-server-5.0 5.0.24a-9ubuntu2 [24.9MB]
Get:13
http://us.archive.ubuntu.com edgy-updates/main mysql-server 5.0.24a-9ubuntu2 [39.7kB]
Fetched 38.3MB in 42s (896kB/s)
Preconfiguring packages ...
Selecting previously deselected package psmisc.
(Reading database ... 15249 files and directories currently installed.)
Unpacking psmisc (from .../psmisc_22.2-1_i386.deb) ...
Selecting previously deselected package mysql-common.
Unpacking mysql-common (from .../mysql-common_5.0.24a-9ubuntu2_all.deb) ...
Selecting previously deselected package libmysqlclient15off.
Unpacking libmysqlclient15off (from .../libmysqlclient15off_5.0.24a-9ubuntu2_i386.deb) ...
Selecting previously deselected package libnet-daemon-perl.
Unpacking libnet-daemon-perl (from .../libnet-daemon-perl_0.38-1.1_all.deb) ...
Selecting previously deselected package libplrpc-perl.
Unpacking libplrpc-perl (from .../libplrpc-perl_0.2017-1.1_all.deb) ...
Selecting previously deselected package libdbi-perl.
Unpacking libdbi-perl (from .../libdbi-perl_1.51-2_i386.deb) ...
Selecting previously deselected package libdbd-mysql-perl.
Unpacking libdbd-mysql-perl (from .../libdbd-mysql-perl_3.0006-1_i386.deb) ...
Selecting previously deselected package mysql-client-5.0.
Unpacking mysql-client-5.0 (from .../mysql-client-5.0_5.0.24a-9ubuntu2_i386.deb) ...
Selecting previously deselected package mysql-server-5.0.
Unpacking mysql-server-5.0 (from .../mysql-server-5.0_5.0.24a-9ubuntu2_i386.deb) ...
Selecting previously deselected package mysql-server.
Unpacking mysql-server (from .../mysql-server_5.0.24a-9ubuntu2_all.deb) ...
Selecting previously deselected package php5-mysqli.
Unpacking php5-mysqli (from .../php5-mysqli_5.1.6-1ubuntu2_i386.deb) ...
Selecting previously deselected package php5-mysql.
Unpacking php5-mysql (from .../php5-mysql_5.1.6-1ubuntu2_i386.deb) ...
Selecting previously deselected package phpmyadmin.
Unpacking phpmyadmin (from .../phpmyadmin_4%3a2.8.2-0.2_all.deb) ...
Setting up psmisc (22.2-1) ...
Setting up mysql-common (5.0.24a-9ubuntu2) ...
Setting up libmysqlclient15off (5.0.24a-9ubuntu2) ...
Setting up libnet-daemon-perl (0.38-1.1) ...
Setting up libplrpc-perl (0.2017-1.1) ...
Setting up libdbi-perl (1.51-2) ...
Setting up libdbd-mysql-perl (3.0006-1) ...
Setting up mysql-client-5.0 (5.0.24a-9ubuntu2) ...
Setting up mysql-server-5.0 (5.0.24a-9ubuntu2) ...
* Stopping MySQL database server mysqld [ ok ]
* Starting MySQL database server mysqld [ ok ]
* Checking for corrupt, not cleanly closed and upgrade needing tables.
Setting up mysql-server (5.0.24a-9ubuntu2) ...
Setting up php5-mysql (5.1.6-1ubuntu2) ...
Setting up php5-mysqli (5.1.6-1ubuntu2) ...
Setting up phpmyadmin (2.8.2-0.2) ...
Creating config file /etc/phpmyadmin/apache.conf with new version
Creating config file /etc/phpmyadmin/config.footer.inc.php with new version
Creating config file /etc/phpmyadmin/config.header.inc.php with new version
Creating config file /etc/phpmyadmin/config.inc.php with new version
Creating config file /etc/phpmyadmin/htaccess with new version
root@sanjay:/var/www# apt-get install proftpd
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libpq4
Suggested packages:
proftpd-doc
The following NEW packages will be installed:
libpq4 proftpd
0 upgraded, 2 newly installed, 0 to remove and 3 not upgraded.
Need to get 795kB of archives.
After unpacking, 2294kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1
http://archive.ubuntu.com edgy/main libpq4 8.1.4-7 [202kB]
Get:2
http://archive.ubuntu.com edgy/universe proftpd 1.3.0-9 [593kB]
Fetched 795kB in 1s (537kB/s)
Preconfiguring packages ...
Selecting previously deselected package libpq4.
(Reading database ... 17586 files and directories currently installed.)
Unpacking libpq4 (from .../libpq4_8.1.4-7_i386.deb) ...
Selecting previously deselected package proftpd.
Unpacking proftpd (from .../proftpd_1.3.0-9_i386.deb) ...
Setting up libpq4 (8.1.4-7) ...
Setting up proftpd (1.3.0-9) ...
Adding system user `proftpd' with uid 105...
Adding new user `proftpd' (105) with group `nogroup'.
Not creating home directory `/var/run/proftpd'.
Adding system user `ftp' with uid 106...
Adding new user `ftp' (106) with group `nogroup'.
Creating home directory `/home/ftp'.
`/usr/share/proftpd/templates/welcome.msg' -> `/home/ftp/welcome.msg.proftpd-new'
ProFTPd warning: cannot start neither in standalone nor in inetd/xinetd mode. Check your configuration.
root@sanjay:/var/www# /etc/init.d/protftpd
-bash: /etc/init.d/protftpd: No such file or directory
root@sanjay:/var/www# proftpd
- IPv6 getaddrinfo 'sanjay.sodhi.TLD' error: Name or service not known
sanjay.sodhi.TLD - fatal: Socket operation on non-socket
root@sanjay:/var/www# apt-get remove proftpd
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
proftpd libpq4
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
proftpd
0 upgraded, 0 newly installed, 1 to remove and 3 not upgraded.
Need to get 0B of archives.
After unpacking, 1544kB disk space will be freed.
Do you want to continue [Y/n]? Y
(Reading database ... 17649 files and directories currently installed.)
Removing proftpd ...
ProFTPd warning: cannot start neither in standalone nor in inetd/xinetd mode. Check your configuration.
root@sanjay:/var/www# Oh well **** you. I bet I can make it run in standalone.
-bash: Oh: command not found
root@sanjay:/var/www# Wanna bet?
-bash: Wanna: command not found
root@sanjay:/var/www# You're on...
> Not this again. I know what to do!'
-bash: Youre on...
Not this again. I know what to do!: command not found
root@sanjay:/var/www# vi /etc/proftpd/proftpd.conf
root@sanjay:/var/www#
root@sanjay:/var/www# /etc/init.d/proftpd restart
root@sanjay:/var/www# netstat -a
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 *:www *:* LISTEN
tcp 0 0 *:ssh *:* LISTEN
tcp 0 0 sanjay.sodhi.TLD:mysql *:* LISTEN
tcp 0 224 sanjay.sodhi.TLD:ssh CPE0013102d9e78-C:42589 ESTABLISHED
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node Path
unix 4 [ ] DGRAM 1324323816 /dev/log
unix 2 [ ACC ] STREAM LISTENING 1327397020 /var/run/mysqld/mysqld.sock
unix 2 [ ] DGRAM 1327384151
unix 2 [ ] DGRAM 1324324001
root@sanjay:/var/www#