[sCorV!a] GuiLd [sCorV!a] GuiLd
[sCorV!a] GuiLd   [sCorV!a] GuiLd
[sCorV!a] GuiLd  PfeilHome [sCorV!a] GuiLd
[sCorV!a] GuiLd
[sCorV!a] Home
Home
About Us
Contact Us
Term of Use
[sCorV!a] Lyrics
[sCorV!a] Main Menu
News
Blog
Links
Search
FAQs
News Feeds
Wrapper
Login Form





Lost Password?
[sCorV!a] Tutorial
Game
Linux
Windows
Networking
Programming
Tips & Trick
Other Stuff
Statistics
Visitors: 183734
IP Address Komputer Anda Adalah: 38.107.191.99
[sCorV!a] Links
Juventus Football Club
Liverpool Football Club
Komputer Aktif
Yahoo! Mail
Gmail
urangkayo Website
detikNews
Ilmu Komputer
Wikipedia Indonesia
Wikipedia

[sCorV!a] Powered By
[sCorV!a] SiteMap
[sCorV!a] Site Maps
 
[sCorV!a] GuiLd

Bugs tcpd packages pada Ubuntu 7.04 (Feisty Fawn) Print E-mail
Written by urangkayo   
Rabu, 13 Juni 2007

Bugs tcpd packages pada Ubuntu 7.04 (Feisty Fawn)

Abis install Ubuntu 7.04 buat server dikost-an, trus waktu cari-cari file hosts.deny sama hosts.allow kok ga ada di /etc, mulai dari pake whereis, locate, find tetep aja ga ketemu-ketemu :-)
Coba google karena aku kira file tersebut sengaja dihilangin, ternyata merupakan bugs pada Ubuntu Feisty Fawn (7.04).

Bug description
Installed Feisty as a brand new installation on a formatted partition.
The following two files are missing:
/etc/hosts.allow
/etc/hosts.deny
These files were created by default by the Edgy installer, but are not created by the Feisty installer (live cd installer, official release).
This became an issue for me when installing the DenyHosts script. It failed to start because the files were missing.


Bugs nya bisa dilihat di https://bugs.launchpad.net/ubuntu/+source/netbase/+bug/108379

Untuk memperbaiki bugs ini, cukup mudah tinggal install ulang lagi tcpd packages untuk Ubuntu 7.04 (Feisty Fawn), jika menggunakan apt-get pada konsol ketik

$ sudo apt-get install tcpd

Tunggu sampai selesai, maka sekarang file hosts.deny dan hosts.allow sudah ada di /etc, untuk membuktikannya ketik pada konsol

urangkayo@scorvia:~$ whereis hosts.deny hosts.allow
hosts: /etc/hosts.allow /etc/hosts /etc/hosts.deny
/usr/share/hosts /usr/share/man/man5/hosts.5.gz
hosts: /etc/hosts.allow /etc/hosts /etc/hosts.deny
/usr/share/hosts /usr/share/man/man5/hosts.5.gz

Jika ingin menginstall menggunakan dpkg, download terlebih dahulu di http://packages.ubuntu.com/feisty/base/tcpd kemudian pada konsol ketik

$ sudo dpkg -i tcpd_7.6.dbs-11build1_i386.deb

Perintah dpkg diatas diasumsikan dijalankan pada direktori tempat tcpd disimpan.

Sekarang file hosts.deny dan hosts.allow sudah bisa digunakan.
Contoh berikut ini hanya mengizinkan host dengan IP 192.168.1.10 aja yang bisa terhubung secara remote dengan server menggunakan SSH

Edit file /etc/hosts.deny dan isikan baris ALL: ALL

$ sudo vi /etc/hosts.deny
ALL: ALL

Simpan hasil editannya, trus sekarang buka file /etc/hosts.allow dan isikan baris
ALL: 127.0.0.1
sshd: 192.168.1.10

$ sudo vi /etc/hosts.allow
ALL: 127.0.0.1
sshd: 192.168.1.10


Simpan hasil perubahannya dan restart program SSHD

$ sudo /etc/init.d/ssh restart
* Restarting OpenBSD Secure Shell server...     [ OK ]
Last Updated ( Minggu, 24 Juni 2007 )
 
< Prev   Next >
[sCorV!a] GuiLd
left unten
::The Home of sCorV!a GuiLd::
right unten
© 2010 The Home of [sCorV!a] GuiLd ::: Just4Fun
Joomla! is Free Software released under the GNU/GPL License.

W3C validiert