Automatic or Timed Login With Fedora 11

1:01 PM / Diposting oleh Sharing IT / komentar (0)

With the last few releases of Fedora(More specifically ever since Gnome moved to the new GDM) there is no longer a GUI to allow for a timed or automatic login - it has been said that there will eventually be one, but it is not here yet.

To add either a timed login or an automtatic login, you need to modify the file /etc/gdm/custom.conf and add the following for a timed login:

[daemon]
TimedLoginEnable=true
TimedLogin=username
TimedLoginDelay=5

Just replace the word username with the correct username, and also the number 5 withhowever many seconds you want the system to wait before automatically logging in.

For an automatic login with no wait, you can either use the above with a time of 0 seconds, or use:

[daemon]
AutomaticLoginEnable=true
AutomaticLogin=username

Label:

Port Scanning untuk melihat kondisi Target di Internet

1:52 PM / Diposting oleh Sharing IT / komentar (0)

25 smtp server
80 web server
110 pop server

Untuk melihat status servis pada server target di Internet adalah menggunakan software port
scanner seperti nmap di Linux yang dibuat oleh fyodor@insecure.org.

Nmap di rancang untuk memungkinkan seorang sistem administrator atau perorangan yang iseng untuk melakukan scan jaringan yang besar, melihat mesin yang sedang beroperasi & servis yang mereka berikan. Cukup banyak teknik scan yang diberikan oleh nmap seperti UDP, TCP connect(), TCP SYN (half open), ftp proxy (bounce attack), Reverse-ident,
ICMP (ping sweep), FIN, ACK sweep, Xmas Tree, SYN sweep, dan Null scan.
Di samping itu, nmap juga memberikan banyak fitur seperti remote OS detection via TCP/IP fingerprinting, stealth scanning, kalkulasi dynamic delay & retransmission, parallel scanning, detection of down hosts via parallel pings, decoy scanning, port filtering detection, direct (non-portmapper) RPC scanning, fragmentation scanning, dan spesifikasi yang flexible dari target & port.

[root@TestSvr /]# nmap -v -sS -O www.detik.com

silahkan di coba sendiri

Label:

Port Open dan Listen di Linux

12:03 PM / Diposting oleh Sharing IT / komentar (0)

Cara pertama :
[root@TestSvr /]# lsof -i -n -P

Hasilnya spt di bawah ini :

COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
rpcbind 1640 rpc 6u IPv6 5686 UDP *:111
rpcbind 1640 rpc 7u IPv6 5690 UDP *:967
rpcbind 1640 rpc 8u IPv6 5691 TCP *:111 (LISTEN)
rpc.statd 1669 root 3u IPv4 5762 UDP *:1000
rpc.statd 1669 root 6u IPv4 5754 UDP *:997
dst .......

cara kedua :
[root@TestSvr /]# netstat -nap

unix 2 [ ] DGRAM 5753 1669/rpc.statd
unix 2 [ ] DGRAM 5694 1640/rpcbind
unix 2 [ ] DGRAM 5634 1606/klogd
unix 3 [ ] STREAM CONNECTED 5558 1579/auditd
unix 3 [ ] STREAM CONNECTED 5557 1581/audispd

Label: