setting ulimit permanently

2010-01-05 Thread Tudod Ki
is
echo 'ulimit -n 10240'  /etc/profiles
a bad idea? [because it runs every time when someone logins]
Is it a BAD idea OR NOT? :D:O
thank you


  

disable python for one virtualhost

2010-01-04 Thread Tudod Ki
How?
I want to block TorrentFlux on a domain, that is on our server. :\
Please help
thanks


  

set apache ulimit

2010-01-04 Thread Tudod Ki
how can I set apache [1.3] ulimit from the default 1024?
thanks


  

webmin+squirrelmail HTTPS

2010-01-02 Thread Tudod Ki
ok...I've installed webmin:



http://software.virtualmin.com/gpl/scripts/install.sh



then I've installed squirrelmail on Debian Lenny.



How could I get squirrelmail to only use HTTPS? [And how exactly I could reach 
it through HTTPS?].



Can someone post a good howto, docs, or something?



Thanks




  

Re: domain redirection how?

2010-01-02 Thread Tudod Ki
how?

--- On Fri, 1/1/10, Tudod Ki tudodk...@yahoo.com wrote:

From: Tudod Ki tudodk...@yahoo.com
Subject: domain redirection how?
To: Debian User debian-user@lists.debian.org
Date: Friday, January 1, 2010, 12:00 PM

I want to redirect a domain: 
somedomain.eu
to:
tothis.eu
so I edit the somedomain.eu.hosts file with vim [appending this two line to 
the end]:
$ORIGIN eu.somedomain      IN      CNAME       tothis.eu.

then I update the serial, save the file, quit, then:

rndc reload somedomain.eu

but it still doesn't work.how could I redirect the domain with $ORIGIN?
do I have to enable something in apache [e.g.: enable the redirection]?
both domain is mine [on this
 server]
versions:
apache                     1.3.34-4.1 bind9                      9.3.4-2etch3
os: Debian Etch
Thank you! :)
Or any docs/howtos please?


  


  

domain redirection how?

2010-01-01 Thread Tudod Ki
I want to redirect a domain: 
somedomain.eu
to:
tothis.eu
so I edit the somedomain.eu.hosts file with vim [appending this two line to 
the end]:
$ORIGIN eu.somedomain      IN      CNAME       tothis.eu.

then I update the serial, save the file, quit, then:

rndc reload somedomain.eu

but it still doesn't work.how could I redirect the domain with $ORIGIN?
do I have to enable something in apache [e.g.: enable the redirection]?
both domain is mine [on this server]
versions:
apache                     1.3.34-4.1 bind9                      9.3.4-2etch3
os: Debian Etch
Thank you! :)
Or any docs/howtos please?


  

Re: domain redirection how?

2010-01-01 Thread Tudod Ki
no one? :)

--- On Fri, 1/1/10, Tudod Ki tudodk...@yahoo.com wrote:

From: Tudod Ki tudodk...@yahoo.com
Subject: domain redirection how?
To: Debian User debian-user@lists.debian.org
Date: Friday, January 1, 2010, 12:00 PM

I want to redirect a domain: 
somedomain.eu
to:
tothis.eu
so I edit the somedomain.eu.hosts file with vim [appending this two line to 
the end]:
$ORIGIN eu.somedomain      IN      CNAME       tothis.eu.

then I update the serial, save the file, quit, then:

rndc reload somedomain.eu

but it still doesn't work.how could I redirect the domain with $ORIGIN?
do I have to enable something in apache [e.g.: enable the redirection]?
both domain is mine [on this
 server]
versions:
apache                     1.3.34-4.1 bind9                      9.3.4-2etch3
os: Debian Etch
Thank you! :)
Or any docs/howtos please?


  


  

HW watchdog

2009-12-18 Thread Tudod Ki
Is there a good howto for it?
Did anyone tried building one?
thanks 


  

postfix + spamassassin howto search

2009-12-13 Thread Tudod Ki
Does someone has a good howto regarding $subject?
:) Thank you!!


  

spam+virus filtering

2009-12-13 Thread Tudod Ki
howtos like these:
http://www.ghacks.net/2009/10/25/add-antivirus-to-postfix-with-clamav/
http://www.debianadmin.com/how-to-filter-spam-with-spamassassin-and-postfix-in-debian.html
Will give me spam/virus filtering for INBOUND or OUTBOUND mails? Or Both?
sorry for the question :D But I have to know it 100% sure.
thanks.


  

Re: spam+virus filtering

2009-12-13 Thread Tudod Ki
I think that these howtos filter only incoming emails [antispamantivirus]
is it true? :O
Thank You!

--- On Sun, 12/13/09, Tudod Ki tudodk...@yahoo.com wrote:

From: Tudod Ki tudodk...@yahoo.com
Subject: spam+virus filtering
To: Debian User debian-user@lists.debian.org
Date: Sunday, December 13, 2009, 10:49 PM

howtos like these:
http://www.ghacks.net/2009/10/25/add-antivirus-to-postfix-with-clamav/
http://www.debianadmin.com/how-to-filter-spam-with-spamassassin-and-postfix-in-debian.html
Will give me spam/virus filtering for INBOUND or OUTBOUND mails? Or Both?
sorry for the question :D But I have to know it 100% sure.
thanks.



  


  

GRUB2 Squeeze

2009-12-10 Thread Tudod Ki
Two questions only: :)
1 - ~When will Debian Squeeze be stable?
2 - If it gets stable, will it contain GRUB2, so that I don't need to create a 
separated /boot when using dm_crypt-ed LVM?
Thank you, and sorry, if it were asked before. I just want to see clearly.


  

Re: something happened to debian security repo?

2009-12-06 Thread Tudod Ki
ping security.debian.orgPING security.debian.org (149.20.20.6) 56(84) bytes of 
data.64 bytes from schein.debian.org (149.20.20.6): icmp_seq=1 ttl=41 time=249 
ms^C64 bytes from schein.debian.org (149.20.20.6): icmp_seq=2 ttl=41 time=258 ms
--- security.debian.org ping statistics ---2 packets transmitted, 2 received, 
0% packet loss, time 1001msrtt min/avg/max/mdev = 249.416/253.769/258.123/4.382 
ms

$ dig security.debian.org
;  DiG 9.5.1-P2  security.debian.org;; global options:  printcmd;; Got 
answer:;; -HEADER- opcode: QUERY, status: NOERROR, id: 48187;; flags: qr rd 
ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:;security.debian.org.   IN  A
;; ANSWER SECTION:security.debian.org.  253 IN  A   
128.31.0.36security..debian.org.253 IN  A   
128.101.240.212security.debian.org. 253 IN  A   149.20.20.6
;; Query time: 98 msec;; SERVER: 8.8.8.8#53(8.8.8.8);; WHEN: Sun Dec  6 
11:49:39 2009;; MSG SIZE  rcvd: 85

--- On Sun, 12/6/09, Umarzuki Mochlis umarz...@gmail.com wrote:

From: Umarzuki Mochlis umarz...@gmail.com
Subject: something happened to debian security repo?
To: Debian Users debian-user@lists.debian.org
Date: Sunday, December 6, 2009, 10:32 AM

i could not resolve http://security.debian.org/ (ping and aptitude update). 
Something happened to the repo or it is just my dns? 

-- 
Regards,

Umarzuki Mochlis

http://debmal.my




  

quota help

2009-12-06 Thread Tudod Ki
Is there a command to set quota on a partition, or I must write usrquota and 
grpquota to the proper line/row of fstab [to mount options]?
Please Help.
Debian Lenny


  

quota script :)

2009-12-05 Thread Tudod Ki
How could I write a script that enables quota on that partition, what contains 
a specific users home dir?

Writing the usrquota, grpquota to the 4th. row in the proper line of fstab? 

Isn't there another method? A command or something?

thank you!



  

Re: quota script :)

2009-12-05 Thread Tudod Ki
I meant to say column 8) :D not row...

--- On Sat, 12/5/09, Tudod Ki tudodk...@yahoo.com wrote:

From: Tudod Ki tudodk...@yahoo.com
Subject: quota script :)
To: Debian User debian-user@lists.debian.org
Date: Saturday, December 5, 2009, 7:19 PM

How could I write a script that enables quota on that partition, what contains 
a specific users home dir?

Writing the usrquota, grpquota to the 4th. row in the proper line of fstab? 

Isn't there another method? A command or something?

thank you!



  


  

how to check link under Linux

2009-12-04 Thread Tudod Ki
as we can do a check on e.g.: routerOS:

interface ethernet monitor ether1
 status: link-ok
   auto-negotiation: done
   rate: 100Mbps
    full-duplex: yes
  default-cable-setting: standard

how could I check that is there a link under Linux? [to get info about the 
cable - is it plugged in or not?]




  

two questions about ssh tunneling

2009-12-04 Thread Tudod Ki
if I:

ssh -fND localhost:6000 someb...@192.168.56.5 -p PORTNUMBER

from computer A to computer B [B = 192.168.56.5] then I can set the SOCKS 
proxy for e.g.: Firefox to use localhost:6000 on computer A. Ok. I can surf 
the web through B.

But:
- Can anyone sniff the traffic of A? [e.g.: computers on same subnet as A] 
Like DNS requests? - I think no, but I'm not sure :O

- Can anyone sniff the traffic of computer B? e.g.: B computer is at a server 
farm [others in the farm can see the traffic?] - I think yes, but I'm not sure 
:O


  

Re: two questions about ssh tunneling

2009-12-04 Thread Tudod Ki
but what's with cam attack?

http://en.wikipedia.org/wiki/CAM_Table#Attacks

they could attack a switch, and it will act as a hub? and then they can set 
promiscuous mode on their cards and sniff

--- On Fri, 12/4/09, Tyler MacDonald ty...@macdonald.name wrote:

From: Tyler MacDonald ty...@macdonald.name
Subject: Re: two questions about ssh tunneling
To: Tudod Ki tudodk...@yahoo.com
Cc: Debian User debian-user@lists.debian.org
Date: Friday, December 4, 2009, 10:13 PM

Tudod Ki tudodk...@yahoo.com wrote:
 if I:
 
 ssh -fND localhost:6000 someb...@192.168.56.5 -p PORTNUMBER
 
 from computer A to computer B [B = 192.168.56.5] then I can set the SOCKS 
 proxy for e.g.: Firefox to use localhost:6000 on computer A. Ok. I can 
 surf the web through B.
 
 But:

 - Can anyone sniff the traffic of A? [e.g.: computers on same subnet as
 - A] Like DNS requests?  - I think no, but I'm not sure :O

  I believe when you use SOCKS, your browser stops doing DNS resolution and
just hands the hostnames directly to the SOCKS server. So all they would be
able to sniff is your encrypted SSH session, which they (hopefully) can't
decrypt.

 - Can anyone sniff the traffic of computer B? e.g.: B computer is at a
 - server farm [others in the farm can see the traffic?] - I think yes, but
 - I'm not sure :O

  Yes, that's possible. However, in most colocated environments, you are on
a switch, not a hub -- so in that case, the attacker would have to be
sniffing directly from a router to see your traffic. If you want to know for
sure, ask your ISP.

    - Tyler



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




  

postfix+sasl+dovecot script help!

2009-11-26 Thread Tudod Ki
postfix+sasl+dovecot script help!

Hi everybody!

I am trying to get the solution for days now, and I don't know what to do 
really :S

I just want to write a script, what does automatically install postfix, 
dovecot, and it configures sasl authentication for the clients.

I'm here right now [the script!!]:



http://pastebin.ca/1687824

[I have written the reference howto in the script.]



I run it after a fresh Lenny netinstall, on VirtualBox.

If someone knows, what am I missing, please help me :\

I can see with netstat -tulpn, that the server is listeing on port 993,955,25.



1.) But: when I want to get the e-mails through imap, with Thunderbird, on 
another machine, it just waits, and waits, and waits...[and finally it gives 
this: Connection to server debian.lan timed out.] :\

logs:
mail.info log: http://pastebin.com/f6c486374
mail.log: http://pastebin.com/f6e60f9b
other logs are empty



2.) When I want to send a message from a testuser to a testuser, with 
Thunderbird, on the client, it just keeps asking for the password, when I want 
click send. :S

logs:
mail.info: http://pastebin.com/f1bca774f
mail.log: http://pastebin.com/f5c0be27c
mail.warn: http://pastebin.com/f46806d2f
other logs are empty



Info about the os  softwares [e.g.: dpkg -l | grep postfix]: 
http://pastebin.com/f1d0cefd2

192.168.56.4 is the client
192.168.56.5 is the server
[VirtualBox, Host-Only networking, they can ping each other]



Later I want to use it with Squirrel Mail [plus spam filtering + antivirus], 
but first, I just want to get it work :(

Thank you for any help :S [_good_ docs, howtos, solution, or anything please! 
:S :( ]