[CentOS] Fedora user moving to CentOS

2008-01-23 Thread Tim Alberts
Greetings, I'm a Fedora user likely going to switch to CentOS in the next few days. I'm wondering if anyone has some heads up advice for me? I am very familiar with FC6 and before so I anticipate few problems I haven't already seen (and know were fixed). The main reason for the move is so I

[CentOS] package 'synchronization' for multiple systems

2008-02-07 Thread Tim Alberts
I'm setting up multiple systems and ideally I want the same package configuration on all of them. So I'm going through yum and rpm queries manually to try and get this done. There must be a better way. Is there a way to use yum or rpm to configure multiple systems with the same packages? I

[CentOS] Date/Time config 'behind the scenes'

2008-02-07 Thread Tim Alberts
The GUI tool to set date time works great when your running X or whatever, but what is it really doing in the background? How do I setup automatic time synchronization from the command line? Reference the GUI setup doc at: http://www.centos.org/docs/5/html/5.1/Deployment_Guide/ch-dateconfig.ht

[CentOS] Making FORWARD_IPV4=YES permanent / DHCP multiple routers

2008-02-12 Thread Tim Alberts
First, I'd like to configure my system to forward ip, to act as a gateway for my network. I've always used a script during startup to do this: echo 1 > /proc/sys/net/ipv4/ip_forward iptables -t nat -A POSTROUTING -o ${UPLINK} -j SNAT --to ${IP_NAT} This works fine, however I want this perman

Re: [CentOS] Making FORWARD_IPV4=YES permanent / DHCP multiple routers

2008-02-12 Thread Tim Alberts
Excellent and very responsive answers, thank you everyone. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

[CentOS] Centos 5 and milter rpm's

2008-02-15 Thread Tim Alberts
As I mentioned on this list before, I'm switching from Fedora 6 to Centos 5. I'm setting up the mail server and on Fedora I used the milter rpms for greylisting, spamassassin, mimedefant etc. However I don't see that those are included with Centos? Is this true, or do my yum repositories nee

[CentOS] Dovecot on CentOS5 - (login) returned error 127

2008-02-21 Thread Tim Alberts
Running CentOS Linux 5 with sendmail-procmail putting email in /var/spool/mail. I'm running pop3 only with the servers configured to authenticate with ldap (which is configured and running OK). I do have this same configuration on an older FC6 box and it works fine. I'm thinking I just need

[CentOS] Re: [Dovecot] Dovecot on CentOS5 - (login) returned error 127

2008-02-21 Thread Tim Alberts
Fixed, upgraded to 1.0.10 from rpm at www.atrpms.net and running now. Thank you for your support. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

[CentOS] Rejecting spam

2008-03-04 Thread Tim Alberts
Sorry, not a direct CentOS question, but I know there's a lot of experienced users on this list...I'm using CentOS with sendmail and spamassassin. I've got it configured with spamass-milter and it is working correctly. However, I was expecting to be able to reject mail that is marked as spam,

Re: [CentOS] Rejecting spam

2008-03-04 Thread Tim Alberts
Glenn wrote: At 02:35 PM 3/4/2008, you wrote: Sorry, not a direct CentOS question, but I know there's a lot of experienced users on this list...I'm using CentOS with sendmail and spamassassin. I've got it configured with spamass-milter and it is working correctly. However, I was expecting to

Re: [CentOS] Rejecting spam

2008-03-04 Thread Tim Alberts
Dan Carl wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Glenn Sent: Tuesday, March 04, 2008 2:00 PM To: CentOS mailing list Subject: Re: [CentOS] Rejecting spam At 02:35 PM 3/4/2008, you wrote: Sorry, not a direct CentOS question, but I k

Re: [CentOS] Rejecting spam

2008-03-04 Thread Tim Alberts
John Hinton wrote: There are milters for SpamAssassin. You can set them to reject mail at a particular score level. So, if for instance you felt comfortable with rejecting mail at a score of 10, which is pretty reliable, you can also do that at smtp level. BINGO That's exactly what I'm tryin

Re: [CentOS] Rejecting spam

2008-03-04 Thread Tim Alberts
Milton Calnek wrote: Glenn wrote: I use MailScanner with SpamAssassin and swear by it! http://mailscanner.info/ Happy (mostly), very vital list group. The author is very actively answering questions and requests. Can't get much better support! mailscanner +1 Also, I have: FEATURE(`dnsb

Re: [CentOS] Re: Rejecting spam

2008-03-04 Thread Tim Alberts
Scott Silva wrote: on 3-4-2008 12:32 PM Tim Alberts spake the following: That's exactly what I don't want to do. I don't want the mail being delivered to my system. That's why I'm using the milter. However the milter is doing the exact same thing as delivering it w

Re: [CentOS] Rejecting spam

2008-03-04 Thread Tim Alberts
John that is perfect, exactly what I was looking for. Thank you and thanks to everyone that contributed. I guess it's apparent I don't read man pages very well. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

[CentOS] Securing SSH

2008-03-25 Thread Tim Alberts
So I setup ssh on a server so I could do some work from home and I think the second I opened it every sorry monkey from around the world has been trying every account name imaginable to get into the system. What's a good way to deal with this? ___ Ce

Re: [CentOS] Securing SSH

2008-03-25 Thread Tim Alberts
Tim Alberts wrote: So I setup ssh on a server so I could do some work from home and I think the second I opened it every sorry monkey from around the world has been trying every account name imaginable to get into the system. FYI, here's a list of the losers (so far). I suggest everyone

Re: [CentOS] Securing SSH

2008-03-25 Thread Tim Alberts
Mike Kercher wrote: iptables, disallow root login via ssh, no valid shell for users that don't need one, strong passwords, keys would be a good start. Mike iptables..add the ip of the attack source to reject? They keep moving IP, this is very time consuming (but I am doing it). I don't al

Re: [CentOS] Securing SSH

2008-03-25 Thread Tim Alberts
Rudi Ahlers wrote: Tim Alberts wrote: So I setup ssh on a server so I could do some work from home and I think the second I opened it every sorry monkey from around the world has been trying every account name imaginable to get into the system. What's a good way to deal with

Re: [CentOS] Securing SSH

2008-03-25 Thread Tim Alberts
John R Pierce wrote: Tim Alberts wrote: So I setup ssh on a server so I could do some work from home and I think the second I opened it every sorry monkey from around the world has been trying every account name imaginable to get into the system. actually, those 'attempts' are c

Re: [CentOS] Securing SSH

2008-03-25 Thread Tim Alberts
David Mackintosh wrote: On Tue, Mar 25, 2008 at 09:48:17AM -0700, Tim Alberts wrote: So I setup ssh on a server so I could do some work from home and I think the second I opened it every sorry monkey from around the world has been trying every account name imaginable to get into the system

Re: [CentOS] Securing SSH

2008-03-25 Thread Tim Alberts
John R Pierce wrote: Tim Alberts wrote: iptables..add the ip of the attack source to reject? They keep moving IP, this is very time consuming (but I am doing it). ... stop thinking 'they', that implies theres someone intentionally targetting you. its just viruses randomly squ

Re: [CentOS] Securing SSH

2008-03-26 Thread Tim Alberts
Tim Alberts wrote: So I setup ssh on a server so I could do some work from home and I think the second I opened it every sorry monkey from around the world has been trying every account name imaginable to get into the system. What's a good way to deal with this? SSH question. Can I se

[CentOS] Why does 'test -f' and 'test -e' return true on a (hidden) file that doesn't exist?

2008-03-31 Thread Tim Alberts
Why does 'test -f' and 'test -e' return true on a (hidden) file that doesn't exist? *> cat /home/talberts/.forward* cat: /home/talberts/.forward: No such file or directory *> test -f /home/talberts/.forward ;echo $?* 1 *> test -e /home/talberts/.forward ;echo $?* 1 begin:vcard fn:Tim Alberts n

Re: [CentOS] Why does 'test -f' and 'test -e' return true on a (hidden) file that doesn't exist?

2008-03-31 Thread Tim Alberts
Marko A. Jennings wrote: On Mon, March 31, 2008 4:37 pm, Tim Alberts wrote: Why does 'test -f' and 'test -e' return true on a (hidden) file that doesn't exist? *> cat /home/talberts/.forward* cat: /home/talberts/.forward: No such file or directory *> test -

Re: [CentOS] Why does 'test -f' and 'test -e' return true on a (hidden) file that doesn't exist?

2008-03-31 Thread Tim Alberts
Stephen Harris wrote: (BTW, putting * around lines you type is REALLY bad quoting style) Copied from HTML into email program. then sent as plain text. complain to thunderbird. begin:vcard fn:Tim Alberts n:Alberts;Tim org:Measurement Systems International;Engineering adr:Suite 200;;14240

Re: [CentOS] Why does 'test -f' and 'test -e' return true on a (hidden) file that doesn't exist?

2008-03-31 Thread Tim Alberts
Rudi Ahlers wrote: Tim Alberts wrote: Stephen Harris wrote: (BTW, putting * around lines you type is REALLY bad quoting style) Copied from HTML into email program. then sent as plain text. complain to thunderbird. ___ CentOS mailing list

[CentOS] nss_ldap: reconnected to LDAP server ldap://127.0.0.1

2011-02-18 Thread Tim Alberts
Hello, I have a problem that I'm really having trouble figuring out. I run CentOS Linux 5.5. I have three servers. All have been setup and running with LDAP authentication for a couple years with absolutely no problems. Unfortunately a couple weeks ago, we had a power outage. Ever since, I

Re: [CentOS] nss_ldap: reconnected to LDAP server ldap://127.0.0.1

2011-02-18 Thread Tim Alberts
On 2/18/2011 9:13 AM, Tim Alberts wrote: > Hello, I have a problem that I'm really having trouble figuring out. I > run CentOS Linux 5.5. I have three servers. All have been setup and > running wi.. Update, using Webmin to restart the server, I see the following: Stoppin

Re: [CentOS] nss_ldap: reconnected to LDAP server ldap://127.0.0.1

2011-02-18 Thread Tim Alberts
On 2/18/2011 10:13 AM, m.r...@5-cent.us wrote: > Tim Alberts wrote: >> Hello, I have a problem... >> >> Unfortunately a couple weeks ago, we had a power outage. Ever since, I >> am having continuous problems with authentication to the server. I see >> in /var/log

Re: [CentOS] nss_ldap: reconnected to LDAP server ldap://127.0.0.1

2011-02-18 Thread Tim Alberts
On 2/18/2011 10:11 AM, Tim Alberts wrote: > > Update, using Webmin to restart the server, I see the following: > Stopping slapd: [ OK ] > Stopping slurpd: [ OK ] > Checking configuration files for slapd: bdb_db_open: unclean shutdown > detected; attempting recovery. >

Re: [CentOS] nss_ldap: reconnected to LDAP server ldap://127.0.0.1

2011-02-18 Thread Tim Alberts
On 2/18/2011 11:05 AM, Tim Alberts wrote: > I found a helpful page: > http://www.yolinux.com/TUTORIALS/LinuxTutorialLDAP.html approximately > 2/3 down the page, section titled 'Notes: LDAP on Red Hat/Fedora > distribution:' An example database recovery command as

Re: [CentOS] Securing SSH

2008-04-15 Thread Tim Alberts
Ned Slider wrote: Tim Alberts wrote: So I setup ssh on a server so I could do some work from home and I think the second I opened it every sorry monkey from around the world has been trying every account name imaginable to get into the system. What's a good way to deal with this?

Re: [CentOS] Securing SSH

2008-04-15 Thread Tim Alberts
CentOS List wrote: Tim Alberts wrote: So I setup ssh on a server so I could do some work from home and I think the second I opened it every sorry monkey from around the world has been trying every account name imaginable to get into the system. What's a good way to deal with

[CentOS] 5.1 to 5.2 upgrade - perfectly smoothe

2008-06-27 Thread Tim Alberts
I run 3 servers and I upgraded them from 5.1 to 5.2 this week without even a single glitch. So now that I've been running CentOS for a couple months, I wanted to take a minute to say... Thank you to CentOS, everyone on the list for the occasional technical support (and thanks to the upstream

[CentOS] Shell script to list group members

2008-09-23 Thread Tim Alberts
I have several shell scripts to manage user accounts on a server. I've been using a file with the usernames of peoples accounts that any script needs to process. I had a thought that I can and should be setting up groups and adding user accounts to those groups so I don't have to maintain a s

Re: [CentOS] Shell script to list group members

2008-09-23 Thread Tim Alberts
Barry Brimer wrote: With spaces separating groups: egrep -e '^groupname:' /etc/group | awk -F : '{ print $4 }' | sed -e 's/,/ /g' With commas separating groups: egrep -e '^groupname:' /etc/group | awk -F : '{ print $4 }' I'm sorry, I didn't specify, I'm using LDAP for user/group management.

Re: [CentOS] Shell script to list group members

2008-09-23 Thread Tim Alberts
Bob Beers wrote: On Tue, Sep 23, 2008 at 7:26 PM, Barry Brimer <[EMAIL PROTECTED]> wrote: With commas separating groups: getent group | egrep -i '^groupname:' | awk -F : '{ print $4}' With spaces separating groups: getent group | egrep -i '^groupname:' | awk -F : '{ print $4}' | sed -e 's/