From jingchen at slac.stanford.edu Fri Nov 2 18:07:32 2007 From: jingchen at slac.stanford.edu (Zhou, Jingchen) Date: Fri, 2 Nov 2007 11:07:32 -0700 Subject: .bashrc and .bash_profile Message-ID: <8CF98BE8D19EA84BA2271BE19BE8F83403CB8060@exch-mail2.win.slac.stanford.edu> I am new to bash. It looks like there are two initialization files .bashrc and .bash_profile in $HOME which are generated when creating new accounts on Linux. Why there are two? What is each one for? Can I make them as one, e.g. moving things from .bash_profile to .bashrc, and only use .bashrc? Thanks, JC From Dwayne.Medeiros at Ipsos-NA.com Fri Nov 2 18:19:06 2007 From: Dwayne.Medeiros at Ipsos-NA.com (Dwayne Medeiros) Date: Fri, 2 Nov 2007 14:19:06 -0400 Subject: .bashrc and .bash_profile In-Reply-To: <8CF98BE8D19EA84BA2271BE19BE8F83403CB8060@exch-mail2.win.slac.stanford.edu> Message-ID: <7E54830AB250404F9B04DD1941E81A4404B9CE79@namail2.na.ipsos> http://damnsmalllinux.org/wiki/index.php/.bashrc -----Original Message----- From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Zhou, Jingchen Sent: Friday, November 02, 2007 1:08 PM To: redhat-sysadmin-list at redhat.com Subject: .bashrc and .bash_profile I am new to bash. It looks like there are two initialization files .bashrc and .bash_profile in $HOME which are generated when creating new accounts on Linux. Why there are two? What is each one for? Can I make them as one, e.g. moving things from .bash_profile to .bashrc, and only use .bashrc? Thanks, JC -- redhat-sysadmin-list mailing list redhat-sysadmin-list at redhat.com https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list From james.oden at gmail.com Fri Nov 2 18:18:04 2007 From: james.oden at gmail.com (James Olin Oden) Date: Fri, 2 Nov 2007 14:18:04 -0400 Subject: .bashrc and .bash_profile In-Reply-To: <8CF98BE8D19EA84BA2271BE19BE8F83403CB8060@exch-mail2.win.slac.stanford.edu> References: <8CF98BE8D19EA84BA2271BE19BE8F83403CB8060@exch-mail2.win.slac.stanford.edu> Message-ID: On 11/2/07, Zhou, Jingchen wrote: > I am new to bash. It looks like there are two initialization files .bashrc and > .bash_profile in $HOME which are generated when creating new accounts on > Linux. I'll try to answer, but if I'm wrong someone please correct me. > Why there are two? What is each one for? .bash_profile is meant for login shells and interactive sessions. .bashrc is used for non-interactive sessions. They effectively both get sourced in, but you never want to put stuff in .bashrc that would cause stuff to be displayed, or worse ask for user input. > Can I make them as one, e.g. moving things from .bash_profile to .bashrc, and > only use .bashrc? Yes provided you take into account what I said above. > > Thanks, Your welcome...james From jingchen at slac.stanford.edu Fri Nov 2 20:58:12 2007 From: jingchen at slac.stanford.edu (Zhou, Jingchen) Date: Fri, 2 Nov 2007 13:58:12 -0700 Subject: .bashrc and .bash_profile References: <8CF98BE8D19EA84BA2271BE19BE8F83403CB8060@exch-mail2.win.slac.stanford.edu> Message-ID: <8CF98BE8D19EA84BA2271BE19BE8F83401A34BE2@exch-mail2.win.slac.stanford.edu> Good. Where do you recommend to put ENV.bash (an environment setup for the group), in .bashrc or in .bash_profile? ________________________________ From: redhat-sysadmin-list-bounces at redhat.com on behalf of James Olin Oden Sent: Fri 11/2/2007 11:18 AM To: redhat-sysadmin-list at redhat.com Subject: Re: .bashrc and .bash_profile On 11/2/07, Zhou, Jingchen wrote: > I am new to bash. It looks like there are two initialization files .bashrc and > .bash_profile in $HOME which are generated when creating new accounts on > Linux. I'll try to answer, but if I'm wrong someone please correct me. > Why there are two? What is each one for? .bash_profile is meant for login shells and interactive sessions. .bashrc is used for non-interactive sessions. They effectively both get sourced in, but you never want to put stuff in .bashrc that would cause stuff to be displayed, or worse ask for user input. > Can I make them as one, e.g. moving things from .bash_profile to .bashrc, and > only use .bashrc? Yes provided you take into account what I said above. > > Thanks, Your welcome...james -- redhat-sysadmin-list mailing list redhat-sysadmin-list at redhat.com https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 4274 bytes Desc: not available URL: From Art.Wildman at noaa.gov Tue Nov 6 16:21:26 2007 From: Art.Wildman at noaa.gov (Art Wildman) Date: Tue, 06 Nov 2007 11:21:26 -0500 Subject: .bashrc and .bash_profile In-Reply-To: <8CF98BE8D19EA84BA2271BE19BE8F83401A34BE2@exch-mail2.win.slac.stanford.edu> References: <8CF98BE8D19EA84BA2271BE19BE8F83403CB8060@exch-mail2.win.slac.stanford.edu> <8CF98BE8D19EA84BA2271BE19BE8F83401A34BE2@exch-mail2.win.slac.stanford.edu> Message-ID: <47309486.1030608@noaa.gov> Global or application specific changes applied to all/groups of users go into separate ENV/Shell scripts placed into /etc/profile.d, those are called (sourced) from /etc/bashrc and /etc/profile. New users default scripts & env settings come from /etc/skel. Usually ENV setting go into ~/.bashrc (which effect all non-interactive sessions) and interactive settings (term keymap settings) go into ~/.bash_profile. See also... info bash help http://www.tldp.org/HOWTO/Bash-Prog-Intro-HOWTO.html Bash by example, Part 1-3 - http://www.ibm.com/developerworks/library/l-bash.html http://www.tldp.org/HOWTO/Bash-Prompt-HOWTO/index.html Adv Bash-Scripting Guide - http://www.tldp.org/guides.html#abs BASH Ref Manual -http://www.gnu.org/software/bash/manual/bashref.html -HTH Art Zhou, Jingchen wrote: > Good. > Where do you recommend to put ENV.bash (an environment setup for the group), in .bashrc or in .bash_profile? > > ________________________________ > > From: redhat-sysadmin-list-bounces at redhat.com on behalf of James Olin Oden > Sent: Fri 11/2/2007 11:18 AM > To: redhat-sysadmin-list at redhat.com > Subject: Re: .bashrc and .bash_profile > > > > On 11/2/07, Zhou, Jingchen wrote: > >> I am new to bash. It looks like there are two initialization files .bashrc and >> .bash_profile in $HOME which are generated when creating new accounts on >> Linux. >> > > I'll try to answer, but if I'm wrong someone please correct me. > > >> Why there are two? What is each one for? >> > .bash_profile is meant for login shells and interactive sessions. > .bashrc is used for > non-interactive sessions. They effectively both get sourced in, but > you never want > to put stuff in .bashrc that would cause stuff to be displayed, or > worse ask for > user input. > > >> Can I make them as one, e.g. moving things from .bash_profile to .bashrc, and >> only use .bashrc? >> > Yes provided you take into account what I said above. > > >> Thanks, >> > Your welcome...james > > -- > redhat-sysadmin-list mailing list > redhat-sysadmin-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list > > > > ------------------------------------------------------------------------ > > -- > redhat-sysadmin-list mailing list > redhat-sysadmin-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list From jingchen at slac.stanford.edu Fri Nov 16 19:33:37 2007 From: jingchen at slac.stanford.edu (Zhou, Jingchen) Date: Fri, 16 Nov 2007 11:33:37 -0800 Subject: How to set domainname permonently on RHEL? In-Reply-To: <47309486.1030608@noaa.gov> References: <8CF98BE8D19EA84BA2271BE19BE8F83403CB8060@exch-mail2.win.slac.stanford.edu><8CF98BE8D19EA84BA2271BE19BE8F83401A34BE2@exch-mail2.win.slac.stanford.edu> <47309486.1030608@noaa.gov> Message-ID: <8CF98BE8D19EA84BA2271BE19BE8F83403CB886A@exch-mail2.win.slac.stanford.edu> I know I can set it from the command line via "domainname my.domain", my question is how I can make it permanently (i.e., valid after reboot)? Here is what I have: - in /etc/hosts: ... ip xxx.my.domain xxx - in /etc/resolv.conf domain my.domain search my.domain .... - in /etc/sysconfig/network HOSTNAME=xxx.my.domain However, when I type "domainname", it returns "none", and when I type "hostname", it returns xxx.my.domain instead of xxx. Am I missing any? Thanks, JC From rvandolson at esri.com Fri Nov 16 19:37:20 2007 From: rvandolson at esri.com (Ray Van Dolson) Date: Fri, 16 Nov 2007 11:37:20 -0800 Subject: How to set domainname permonently on RHEL? In-Reply-To: <8CF98BE8D19EA84BA2271BE19BE8F83403CB886A@exch-mail2.win.slac.stanford.edu> References: <47309486.1030608@noaa.gov> <8CF98BE8D19EA84BA2271BE19BE8F83403CB886A@exch-mail2.win.slac.stanford.edu> Message-ID: <20071116193719.GA23221@esri.com> On Fri, Nov 16, 2007 at 11:33:37AM -0800, Zhou, Jingchen wrote: > I know I can set it from the command line via "domainname my.domain", > my question is how I can make it permanently (i.e., valid after > reboot)? > > Here is what I have: > - in /etc/hosts: > ... > ip xxx.my.domain xxx > > - in /etc/resolv.conf > domain my.domain > search my.domain > .... > > - in /etc/sysconfig/network > HOSTNAME=xxx.my.domain > > However, when I type "domainname", it returns "none", and when I type > "hostname", it returns xxx.my.domain instead of xxx. > > Am I missing any? > Typically change the entries in /etc/sysconfig/network -- and even in /etc/sysconfig/network-scripfs/ifcfg-ethXX (could be overridden there). You've already touched /etc/hosts, so you should be able to either reboot and observe the change, or just run 'hostname myhostname.domain' and it should take effect right away. Ray From Maarten.Broekman at FMR.COM Fri Nov 16 19:49:44 2007 From: Maarten.Broekman at FMR.COM (Broekman, Maarten) Date: Fri, 16 Nov 2007 14:49:44 -0500 Subject: How to set domainname permonently on RHEL? References: <8CF98BE8D19EA84BA2271BE19BE8F83403CB8060@exch-mail2.win.slac.stanford.edu><8CF98BE8D19EA84BA2271BE19BE8F83401A34BE2@exch-mail2.win.slac.stanford.edu><47309486.1030608@noaa.gov> <8CF98BE8D19EA84BA2271BE19BE8F83403CB886A@exch-mail2.win.slac.stanford.edu> Message-ID: <9D4C5DEC799CDB4F8340526B5FD89B1B021D618B@MSGMROCLN2WIN.DMN1.FMR.COM> "domainname" affects the NIS/YP domain name, not the DNS domain name. To set / show the DNS domainname, you use the "dnsdomainname" command. The domainname manpage illustrates the differences between hostname, domainname, dnsdomainname, etc. Also, if you want to get xxx back from the hostname command, you can use "hostname -s". This gives you the short hostname. By default, hostname returns the fully-qualified name (as set in the HOSTNAME field of /etc/sysconfig/network). Maarten Broekman Email: maarten.broekman at fmr.com -----Original Message----- From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Zhou, Jingchen Sent: Friday, November 16, 2007 2:34 PM To: redhat-sysadmin-list at redhat.com Subject: How to set domainname permonently on RHEL? I know I can set it from the command line via "domainname my.domain", my question is how I can make it permanently (i.e., valid after reboot)? Here is what I have: - in /etc/hosts: ... ip xxx.my.domain xxx - in /etc/resolv.conf domain my.domain search my.domain .... - in /etc/sysconfig/network HOSTNAME=xxx.my.domain However, when I type "domainname", it returns "none", and when I type "hostname", it returns xxx.my.domain instead of xxx. Am I missing any? Thanks, JC -- redhat-sysadmin-list mailing list redhat-sysadmin-list at redhat.com https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list From jingchen at slac.stanford.edu Fri Nov 16 19:52:50 2007 From: jingchen at slac.stanford.edu (Zhou, Jingchen) Date: Fri, 16 Nov 2007 11:52:50 -0800 Subject: How to set domainname permonently on RHEL? In-Reply-To: <20071116193719.GA23221@esri.com> References: <47309486.1030608@noaa.gov><8CF98BE8D19EA84BA2271BE19BE8F83403CB886A@exch-mail2.win.slac.stanford.edu> <20071116193719.GA23221@esri.com> Message-ID: <8CF98BE8D19EA84BA2271BE19BE8F83403CB886C@exch-mail2.win.slac.stanford.edu> It doesn't work after I reboot the machine. -----Original Message----- From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Ray Van Dolson Sent: Friday, November 16, 2007 11:37 AM To: redhat-sysadmin-list at redhat.com Subject: Re: How to set domainname permonently on RHEL? On Fri, Nov 16, 2007 at 11:33:37AM -0800, Zhou, Jingchen wrote: > I know I can set it from the command line via "domainname my.domain", > my question is how I can make it permanently (i.e., valid after > reboot)? > > Here is what I have: > - in /etc/hosts: > ... > ip xxx.my.domain xxx > > - in /etc/resolv.conf > domain my.domain > search my.domain > .... > > - in /etc/sysconfig/network > HOSTNAME=xxx.my.domain > > However, when I type "domainname", it returns "none", and when I type > "hostname", it returns xxx.my.domain instead of xxx. > > Am I missing any? > Typically change the entries in /etc/sysconfig/network -- and even in /etc/sysconfig/network-scripfs/ifcfg-ethXX (could be overridden there). You've already touched /etc/hosts, so you should be able to either reboot and observe the change, or just run 'hostname myhostname.domain' and it should take effect right away. Ray -- redhat-sysadmin-list mailing list redhat-sysadmin-list at redhat.com https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list From Maarten.Broekman at FMR.COM Fri Nov 16 20:02:57 2007 From: Maarten.Broekman at FMR.COM (Broekman, Maarten) Date: Fri, 16 Nov 2007 15:02:57 -0500 Subject: How to set domainname permonently on RHEL? References: <8CF98BE8D19EA84BA2271BE19BE8F83403CB8060@exch-mail2.win.slac.stanford.edu><8CF98BE8D19EA84BA2271BE19BE8F83401A34BE2@exch-mail2.win.slac.stanford.edu><47309486.1030608@noaa.gov><8CF98BE8D19EA84BA2271BE19BE8F83403CB886A@exch-mail2.win.slac.stanford.edu> <9D4C5DEC799CDB4F8340526B5FD89B1B021D618B@MSGMROCLN2WIN.DMN1.FMR.COM> Message-ID: <9D4C5DEC799CDB4F8340526B5FD89B1B021D618D@MSGMROCLN2WIN.DMN1.FMR.COM> Btw, if you really are looking for how to set the NIS/YP domain name and not the DNS domain name, you need to set the NISDOMAIN variable in /etc/sysconfig/network to the domain name you want. However, that has no bearing on the fully qualified host name. If your hostname is xxx.my.domain and you set NISDOMAIN to your.domain, "hostname" will show xxx.my.domain while "domainname" will show your.domain. Maarten Broekman Email: maarten.broekman at fmr.com -----Original Message----- From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Broekman, Maarten Sent: Friday, November 16, 2007 2:50 PM To: redhat-sysadmin-list at redhat.com Subject: RE: How to set domainname permonently on RHEL? "domainname" affects the NIS/YP domain name, not the DNS domain name. To set / show the DNS domainname, you use the "dnsdomainname" command. The domainname manpage illustrates the differences between hostname, domainname, dnsdomainname, etc. Also, if you want to get xxx back from the hostname command, you can use "hostname -s". This gives you the short hostname. By default, hostname returns the fully-qualified name (as set in the HOSTNAME field of /etc/sysconfig/network). Maarten Broekman Email: maarten.broekman at fmr.com -----Original Message----- From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Zhou, Jingchen Sent: Friday, November 16, 2007 2:34 PM To: redhat-sysadmin-list at redhat.com Subject: How to set domainname permonently on RHEL? I know I can set it from the command line via "domainname my.domain", my question is how I can make it permanently (i.e., valid after reboot)? Here is what I have: - in /etc/hosts: ... ip xxx.my.domain xxx - in /etc/resolv.conf domain my.domain search my.domain .... - in /etc/sysconfig/network HOSTNAME=xxx.my.domain However, when I type "domainname", it returns "none", and when I type "hostname", it returns xxx.my.domain instead of xxx. Am I missing any? Thanks, JC -- redhat-sysadmin-list mailing list redhat-sysadmin-list at redhat.com https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list -- redhat-sysadmin-list mailing list redhat-sysadmin-list at redhat.com https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list From Daniel.Marchand at space.gc.ca Fri Nov 16 20:07:06 2007 From: Daniel.Marchand at space.gc.ca (Daniel.Marchand at space.gc.ca) Date: Fri, 16 Nov 2007 15:07:06 -0500 Subject: How to set domainname permonently on RHEL? In-Reply-To: <8CF98BE8D19EA84BA2271BE19BE8F83403CB886C@exch-mail2.win.slac.stanford.edu> Message-ID: I have a workaround to make it work on RedHat 4. I added this line to /etc/rc.local #-------------------------------- ypdomainname mydomainname.com #-------------------------------- This set the domainname at boot time Daniel -----Original Message----- From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Zhou, Jingchen Sent: November 16, 2007 2:53 PM To: redhat-sysadmin-list at redhat.com Subject: RE: How to set domainname permonently on RHEL? It doesn't work after I reboot the machine. -----Original Message----- From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Ray Van Dolson Sent: Friday, November 16, 2007 11:37 AM To: redhat-sysadmin-list at redhat.com Subject: Re: How to set domainname permonently on RHEL? On Fri, Nov 16, 2007 at 11:33:37AM -0800, Zhou, Jingchen wrote: > I know I can set it from the command line via "domainname my.domain", > my question is how I can make it permanently (i.e., valid after > reboot)? > > Here is what I have: > - in /etc/hosts: > ... > ip xxx.my.domain xxx > > - in /etc/resolv.conf > domain my.domain > search my.domain > .... > > - in /etc/sysconfig/network > HOSTNAME=xxx.my.domain > > However, when I type "domainname", it returns "none", and when I type > "hostname", it returns xxx.my.domain instead of xxx. > > Am I missing any? > Typically change the entries in /etc/sysconfig/network -- and even in /etc/sysconfig/network-scripfs/ifcfg-ethXX (could be overridden there). You've already touched /etc/hosts, so you should be able to either reboot and observe the change, or just run 'hostname myhostname.domain' and it should take effect right away. Ray -- redhat-sysadmin-list mailing list redhat-sysadmin-list at redhat.com https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list -- redhat-sysadmin-list mailing list redhat-sysadmin-list at redhat.com https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list From jbourne at hardrock.org Sat Nov 17 05:12:01 2007 From: jbourne at hardrock.org (James Bourne) Date: Fri, 16 Nov 2007 22:12:01 -0700 (MST) Subject: How to set domainname permonently on RHEL? In-Reply-To: References: Message-ID: On Fri, 16 Nov 2007, Daniel.Marchand at space.gc.ca wrote: > I have a workaround to make it work on RedHat 4. > > I added this line to /etc/rc.local > > #-------------------------------- > > ypdomainname mydomainname.com > > #-------------------------------- If you want to set the ypdomainname read the kernel docs for sysctl as the sysctl interface has a means to set ypdomainname. So following that and using /etc/sysctl.conf you can set kernel.domainname to have it permanently set on boot: rio:-bash$ ypdomainname (none) rio:-bash$ sysctl kernel.domainname kernel.domainname = (none) rio:-bash$ sudo sysctl -w kernel.domainname=foobar.org kernel.domainname = foobar.org rio:-bash$ sysctl kernel.domainname kernel.domainname = foobar.org rio:-bash$ ypdomainname foobar.org Under RHEL/Centos/FC set the DNS domain in /etc/sysconfig/network, add the line HOSTNAME=host.my.domain >From /etc/rc.d/rc.sysinit this will set the FQDN via the hostname command which also sets the hosts "domainname". For DNS check that domain is set in /etc/resolv.conf to ensure you can resolve hosts within your domain. If you need to search other zones set the search option. See the resolver(5) man page for more info on that. Regards James -- James Bourne | Email: jbourne at hardrock.org UNIX Systems Administration | WWW: http://www.hardrock.org Custom UNIX Programming | Linux: The choice of a GNU generation ---------------------------------------------------------------------- "All you need's an occasional kick in the philosophy." Frank Herbert Need an inexpensive domain alternative? http://fastforwarddomains.com From nlam87346 at library.usyd.edu.au Wed Nov 21 05:39:05 2007 From: nlam87346 at library.usyd.edu.au (Nikolas Lam) Date: Wed, 21 Nov 2007 16:39:05 +1100 Subject: keeping track of expiries and renewals Message-ID: <1195623545.5216.81.camel@lits17.library.usyd.edu.au> Hi, Does anyone have any recommendations for simple (open-source) tools that will allow my organisation keep track of things that (in)frequently expire and require renewal? For instance it would be good to have a database of SSL certificates, domain names, Red Hat entitlements etc. which would warn us a month or so before expiry so that we could be prepared well in advance. Regards, Nik Lam From jbourne at hardrock.org Wed Nov 21 06:23:39 2007 From: jbourne at hardrock.org (James Bourne) Date: Tue, 20 Nov 2007 23:23:39 -0700 (MST) Subject: keeping track of expiries and renewals In-Reply-To: <1195623545.5216.81.camel@lits17.library.usyd.edu.au> References: <1195623545.5216.81.camel@lits17.library.usyd.edu.au> Message-ID: On Wed, 21 Nov 2007, Nikolas Lam wrote: > Hi, > > Does anyone have any recommendations for simple (open-source) tools that > will allow my organisation keep track of things that (in)frequently > expire and require renewal? > > For instance it would be good to have a database of SSL certificates, > domain names, Red Hat entitlements etc. which would warn us a month or > so before expiry so that we could be prepared well in advance. openssl x509 -in filename.crt -checkend 604800 Something like taht should do the trick. Regards James > > Regards, > > Nik Lam > > > > -- > redhat-sysadmin-list mailing list > redhat-sysadmin-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list > > -- James Bourne | Email: jbourne at hardrock.org UNIX Systems Administration | WWW: http://www.hardrock.org Custom UNIX Programming | Linux: The choice of a GNU generation ---------------------------------------------------------------------- "All you need's an occasional kick in the philosophy." Frank Herbert Need an inexpensive domain alternative? http://fastforwarddomains.com From clindo at fsl.org.jm Wed Nov 21 17:42:12 2007 From: clindo at fsl.org.jm (Claude Lindo) Date: Wed, 21 Nov 2007 12:42:12 -0500 Subject: keeping track of expiries and renewals In-Reply-To: <20071121170005.6D7557459E@hormel.redhat.com> References: <20071121170005.6D7557459E@hormel.redhat.com> Message-ID: <1195666932.14826.23.camel@chl2> If you had a similar situation to what I had in my company, where we needed to automatically notify several non-technical persons, e.g. the Finance Dept. and we had staggered payments, you could also try using an open source calendaring tool such as Mozilla's Sunbird or Zimbra. Put in the expiration date(s) as events that will send notification mails to the required persons. Hope this helps... Claude. > > Hi, > > > > Does anyone have any recommendations for simple (open-source) tools that > > will allow my organisation keep track of things that (in)frequently > > expire and require renewal? > > > > For instance it would be good to have a database of SSL certificates, > > domain names, Red Hat entitlements etc. which would warn us a month or > > so before expiry so that we could be prepared well in advance. > > openssl x509 -in filename.crt -checkend 604800 > > Something like taht should do the trick. > > Regards > James > > > > > Regards, > > > > Nik Lam > > > > > > > > -- > > redhat-sysadmin-list mailing list > > redhat-sysadmin-list at redhat.com > > https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list > > > > >