Re: Setting Domain Name in Redhat
I just had a post running for about two days all about this... It should be under HOSTNAME in /etc/sysconfig/network, DOMAINNAME doesn't do anything. HOSTNAME=pheonix.miller.com Jake At 06:14 PM 5/18/2002 -0700, you wrote: >I'm not sure what is the proper way to set a domain >name for the computers on my network. > >I have two machines, named phoenix and thurston. > >When I do hostname for both, I get the following: > >phoenix.miller >thurston.miller > >So under /etc/sysconfig and then vi network do I want >to add? > >DOMAINNAME = phoenix.miller.com > >Would this be correct? > >-Chris > > > > >= >* >GAIM ID: cmmiller1973 >* > >__ >Do You Yahoo!? >LAUNCH - Your Yahoo! Music Experience >http://launch.yahoo.com > > > >___ >Redhat-list mailing list >[EMAIL PROTECTED] >https://listman.redhat.com/mailman/listinfo/redhat-list ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re[3]: hostname and domainname from redhat list
Yes, everything with my machine is the same, except I upgraded to RH 7.3 Thanks, Jake At 07:13 PM 5/16/2002 -0400, you wrote: >Hello Jake, > >Thursday, May 16, 2002, 3:08:36 PM, you textually orated: > >JM> It's the old version of mailstudio, we bought this license about two >years >JM> ago, it's been working fine. I initially installed it on 6.2. From 6.2 to >JM> 7.2, it seemed that when I would set the hostname and domainname by using >JM> hostname name and domainname name, the settings would stay that way. But >JM> now under 7.3, each time I reboot, it changes... > >JM> It doesn't tell me why it needs it, but it won't let me configure it >JM> without these settings.. > >Does the hostname, domainname and IP Address match the last machine you did? > >It seems that it needs this info to confirm that the license key you have is >legitimate. > >Other things to try... > >Try setting "NISDOMAIN=" in the /etc/sysconfig/network file. >(Note: you need to restart the "network" service afterwards with a "service >network restart" command. > >Ensure that your "HOSTNAME" is is an FQDN. Else a call to domainname _may_ >fail. (See "man domainname") > >For more info on setting all this up in a Red Hat system (it is still mostly >accurate and may help more because it is older and you have an older >program) you can go to >http://www.redhat.com/support/resources/howto/sysconfig.html > >Hope it helps. > >Have fun, >-- >_ > Brian Ashe CTO > [EMAIL PROTECTED] Dee-Web Software Services, LLC. > http://www.dee-web.com/ >- > > > >___ >Redhat-list mailing list >[EMAIL PROTECTED] >https://listman.redhat.com/mailman/listinfo/redhat-list ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: hostname and domainname from redhat list
What is mydomain.tld? I tried setting DOMAINNAME=ministang.com , and that didn't seem to do anything. Thanks, Jake At 04:54 PM 5/16/2002 -0400, you wrote: >On 16-May-2002/15:11 -0400, Jake McHenry <[EMAIL PROTECTED]> wrote: > >nope, not in the config file, it's the system hostname and domainname. If I > >set hostname to just the name, without the domain, the installer fails, > >also, if domainname is set to none, it fails. > > > >There is no config file to edit, it's a shell script you run that prompts > >you for this info, if it doesn't match what hostname and domainname return, > >then it craps out. > >Did you try setting "DOMAINNAME=mydomain.tld" in /etc/sysconfig/network? > >Tony >-- >Anthony E. Greene <mailto:[EMAIL PROTECTED]> >OpenPGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26 C484 A42A 60DD 6C94 239D >AOL/Yahoo Chat: TonyG05 HomePage: <http://www.pobox.com/~agreene/> >Linux: the choice of a GNU Generation. <http://www.linux.org/> > > > >___ >Redhat-list mailing list >[EMAIL PROTECTED] >https://listman.redhat.com/mailman/listinfo/redhat-list ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: hostname and domainname from redhat list
nope, not in the config file, it's the system hostname and domainname. If I set hostname to just the name, without the domain, the installer fails, also, if domainname is set to none, it fails. There is no config file to edit, it's a shell script you run that prompts you for this info, if it doesn't match what hostname and domainname return, then it craps out. Jake At 11:29 PM 5/15/2002 -0500, you wrote: >On Wed, 2002-05-15 at 17:37, Jake McHenry wrote: > > No, my machine works fine, dns works fine, I'm trying to get a web based > > mail program working and it's telling me that I need to set domainname to > > something other than (none) > needs to be set in the package config file? > >HTH >Bret > > > >___ >Redhat-list mailing list >[EMAIL PROTECTED] >https://listman.redhat.com/mailman/listinfo/redhat-list ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re[2]: hostname and domainname from redhat list
It's the old version of mailstudio, we bought this license about two years ago, it's been working fine. I initially installed it on 6.2. From 6.2 to 7.2, it seemed that when I would set the hostname and domainname by using hostname name and domainname name, the settings would stay that way. But now under 7.3, each time I reboot, it changes... It doesn't tell me why it needs it, but it won't let me configure it without these settings.. Thanks, Jake At 07:26 PM 5/15/2002 -0400, you wrote: >Hello Jake, > >Wednesday, May 15, 2002, 6:37:20 PM, you textually orated: > >JM> No, my machine works fine, dns works fine, I'm trying to get a web based >JM> mail program working and it's telling me that I need to set domainname to >JM> something other than (none) > >JM> I guess I can either find another package or just put this in a script.. > >Which package are you trying to get working? > >Is it telling you that it needs this for incoming or outgoing? > >Have fun, >-- >_ > Brian Ashe CTO > [EMAIL PROTECTED] Dee-Web Software Services, LLC. > http://www.dee-web.com/ >- > > > >___ >Redhat-list mailing list >[EMAIL PROTECTED] >https://listman.redhat.com/mailman/listinfo/redhat-list ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: hostname and domainname from redhat list
No, my machine works fine, dns works fine, I'm trying to get a web based mail program working and it's telling me that I need to set domainname to something other than (none) I guess I can either find another package or just put this in a script.. Thanks for the help everyone.. Jake At 05:12 PM 5/15/2002 -0400, you wrote: Hi - I've been reading your posts on the redhat list. I get the list in digest mode, so I can't reply individually, but I thought I would send you a quick note. The "domainname" command has nothing to do with DNS domain (like yahoo.com or whatever). The domainname command, as stated in the man pages, is for setting the NIS/YP domain name for that machine. The NIS/YP domain name is akin to the Windows NT "domain" which has nothing to do with an internet/DNS/TCP/IP domain. As long as your hostname is correct, and you have the correct domain entry in /etc/resolv.conf you are good to go. Unless you are running NIS/YP, and I didn't see anywhere in your posts that you are, there is no need to worry about the domainname command. There is no utility to change the domain part of a FQDN. You do that in /etc/resolv.conf. So: 1. make sure output of hostname is correct 2. add "domain somedomain.com" to /etc/resolv.conf 3. you're done For example, I'm running numerous servers, and the output of "domainname" on all of them is null, and I can assure you they are all working correctly from an addressing standpoint. I don't run NIS or YP on any of my machines (LDAP is better). Hope this helps. - John John Turner [EMAIL PROTECTED] | 248-488-3466 Advertising Audit Service http://www.aas.com
Re: (no subject)
Try NameVirtualHost 10.0.10.76 <-- or you can replace the *'s with 10.0.10.76 blah <-- or you can replace the *'s with 10.0.10.76 blah I've never seen names in place of the *'s, I have seen IP addresses, but never names.. something you can try.. Jake At 01:53 PM 5/15/2002 -0700, you wrote: >Hello all, > >I'm having some issues with Apache virtual hosting. I >have Red Hat 7.0 installed, IP address of 10.0.10.76 >with DNS 'A Record' name 'slin01dx'. I have two apache >virtual hosts defined that are called >timesheet.graybar.com and oncall.graybar.com. I have >only recently added the oncall.graybar.com entry. Both >of these entries have DNS 'CNAME' records that point >back to 'slin01dx'. > >The problem that I'm having is that regardless of >which name you type in, the first virtual host entry >in httpd.conf is the site that you're taken to. In >other words, if timesheet.graybar.com is listed first >in httpd.conf and you type in oncall.graybar.com in >your browser, it takes you to the >timesheet.graybar.com site, and vice-versa. > >Does anyone know what might be causing this? Here's >what my virtual host entries look like: > >NameVirtualHost 10.0.10.76 > >ServerAdmin stephen.spalding@groupwise >ScriptAlias /cgi-bin/ "/home/tss/cgi-bin/" >DocumentRoot /home/tss/htdocs >ServerName timesheet.graybar.com >ErrorLog /home/tss/logs/tss.error >TransferLog /home/tss/logs/tss.access > >AuthType Basic > AuthName isonly > AuthUserFile /home/main/auth/passwd > AuthGroupFile /home/main/auth/group > require valid-user > require spaldst > AllowOverride None > Options +ExecCGI +Indexes > DirectoryIndex index.pl > order allow,deny > allow from all > > > > >ServerAdmin stephen.spalding@groupwise >ScriptAlias /cgi-bin/ "/home/oncall/cgi-bin/" >ScriptAlias /oncall/cgi-bin/ "/home/oncall/cgi-bin/" >Alias /oncall/images/ "/home/oncall/images/" >Alias /oncall/html/ "/home/oncall/html/" >DocumentRoot /home/oncall/cgi-bin >ServerName oncall.graybar.com >ErrorLog /home/oncall/logs/oncall.error >TransferLog /home/oncall/logs/oncall.access > >AuthType Basic > AuthName isonly > AuthUserFile /home/main/auth/passwd > AuthGroupFile /home/main/auth/group > require valid-user > require oncall > AllowOverride None > Options +ExecCGI +Indexes > DirectoryIndex main_page.pl > order allow,deny > allow from all > > > >Thanks! > >-Stephen Spalding > > >__ >Do You Yahoo!? >LAUNCH - Your Yahoo! Music Experience >http://launch.yahoo.com > > > >___ >Redhat-list mailing list >[EMAIL PROTECTED] >https://listman.redhat.com/mailman/listinfo/redhat-list ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: hostname and domainname
No, this doesn't help, I already looked at this... I can use dnsdomainname to set it, it gives me this when I try... dnsdomainname: You can't change the DNS domain name with this command Unless you are using bind or NIS for host lookups you can change the DNS domain name (which is part of the FQDN) in the /etc/hosts file. If I change anything with hostname and domainname, when I reboot it goes back to the old values. This is what this whole post is about... Jake At 01:38 PM 5/15/2002 -0700, you wrote: from man domainame hostname - show or set the system's host name domainname - show or set the system's NIS/YP domain name dnsdomainname - show the system's DNS domain name man pages are your friend _ daniel a. g. quinn starving programmer the hottest places in hell are reserved for those who in times of great moral crises maintain their neutrality. - dante aleghieri (1265-1321) - Original Message - > Ok, I already had domain in /etc/resolv.conf > > Still, when I reboot, when I type hostname, I get the host + domain name, > when I type domainname, still get (none). > > dnsdomainname get's the domain name. > > > I guess if no one knows where this is stored, I can always put it in a > startup file. > > Thanks, > Jake > > > > At 12:41 PM 5/15/2002 -0700, you wrote: > >set HOSTNAME in /etc/sysconfig/network > >set domain in /etc/resolv.conf > > > >that is all I have ever needed to change. > > > >NISDOMAIN will not effect the name or domain that your machine is on, it > >is only used (AFAIK) to determine where the machine will authenticate if > >you are using nis authentication. > > > >ryan > > > >On Wed, 2002-05-15 at 11:19, Jake McHenry wrote: > > > Ok, the hostname I got in an earlier email, that part worked, but the > > > NISDOMAIN, still does nothing. When I look at the setting by typing > > > domainname, it still says (none). And I am rebooting after I make these > > > changes... > > > > > > Thanks, > > > Jake > > > > > > > > > At 10:57 AM 5/15/2002 -0700, you wrote: > > > >Here is what you need to do. > > > > > > > >1. log on as root > > > >2. vi /etc/sysconfig/network > > > >3. add/modify > > > >HOSTNAME=your host > > > >NISDOMAIN=your domain. > > > > > > > >I assume you have a static ip and not using DHCP. > > > > > > > > > > > >-- > >-- Ryan Speed - Network Administrator - [EMAIL PROTECTED] -- > > > > > ___ > Redhat-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/redhat-list > ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
RE: hostname and domainname
Ok, I already had domain in /etc/resolv.conf Still, when I reboot, when I type hostname, I get the host + domain name, when I type domainname, still get (none). dnsdomainname get's the domain name. I guess if no one knows where this is stored, I can always put it in a startup file. Thanks, Jake At 12:41 PM 5/15/2002 -0700, you wrote: >set HOSTNAME in /etc/sysconfig/network >set domain in /etc/resolv.conf > >that is all I have ever needed to change. > >NISDOMAIN will not effect the name or domain that your machine is on, it >is only used (AFAIK) to determine where the machine will authenticate if >you are using nis authentication. > >ryan > >On Wed, 2002-05-15 at 11:19, Jake McHenry wrote: > > Ok, the hostname I got in an earlier email, that part worked, but the > > NISDOMAIN, still does nothing. When I look at the setting by typing > > domainname, it still says (none). And I am rebooting after I make these > > changes... > > > > Thanks, > > Jake > > > > > > At 10:57 AM 5/15/2002 -0700, you wrote: > > >Here is what you need to do. > > > > > >1. log on as root > > >2. vi /etc/sysconfig/network > > >3. add/modify > > >HOSTNAME=your host > > >NISDOMAIN=your domain. > > > > > >I assume you have a static ip and not using DHCP. > > > > > > > >-- >-- Ryan Speed - Network Administrator - [EMAIL PROTECTED] -- ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
RE: hostname and domainname
Oh, and yes, it's a static private ip. Thanks, Jake At 10:57 AM 5/15/2002 -0700, you wrote: >Here is what you need to do. > >1. log on as root >2. vi /etc/sysconfig/network >3. add/modify >HOSTNAME=your host >NISDOMAIN=your domain. > >I assume you have a static ip and not using DHCP. > > >-Original Message- >From: Jake McHenry [mailto:[EMAIL PROTECTED]] >Sent: Wednesday, May 15, 2002 10:49 AM >To: [EMAIL PROTECTED] >Subject: RE: hostname and domainname > > >I use hostname (name) and domainname (name) and it sets it, but after I >reboot, they both change back to what they were before. > >I don't have redhat-config-network on my machine. > >Thanks, >Jake > >At 12:28 PM 5/15/2002 -0500, you wrote: > >What are you using to change these? Or what files are you actually > >changing? > > > >Try running redhat-config-network and changing it there, that keeps it for > >me. > > > >Eric > > > >-Original Message- > >From: Jake McHenry [mailto:[EMAIL PROTECTED]] > >Sent: Wednesday, May 15, 2002 12:22 PM > >To: [EMAIL PROTECTED] > >Subject: hostname and domainname > > > > > >Hi, everytime I reboot my machine, I have to reset my hostname and > >domainname. When I reboot, my hostname get's set back to what it was when I > >installed redhat, and the domainname goes to empty. I set them back by > >hostname and domainname and it's fine then, but as soon as I > >reboot or go init1, it goes back to the wrong settings. Where are the files > >that I can manually change these entries? > > > >Thanks, > >Jake > > > > > > > > > >___ > >Redhat-list mailing list > >[EMAIL PROTECTED] > >https://listman.redhat.com/mailman/listinfo/redhat-list > > > > > > > >___ > >Redhat-list mailing list > >[EMAIL PROTECTED] > >https://listman.redhat.com/mailman/listinfo/redhat-list > > > > >___ >Redhat-list mailing list >[EMAIL PROTECTED] >https://listman.redhat.com/mailman/listinfo/redhat-list > > > >___ >Redhat-list mailing list >[EMAIL PROTECTED] >https://listman.redhat.com/mailman/listinfo/redhat-list ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
RE: hostname and domainname
Ok, the hostname I got in an earlier email, that part worked, but the NISDOMAIN, still does nothing. When I look at the setting by typing domainname, it still says (none). And I am rebooting after I make these changes... Thanks, Jake At 10:57 AM 5/15/2002 -0700, you wrote: >Here is what you need to do. > >1. log on as root >2. vi /etc/sysconfig/network >3. add/modify >HOSTNAME=your host >NISDOMAIN=your domain. > >I assume you have a static ip and not using DHCP. > > >-----Original Message- >From: Jake McHenry [mailto:[EMAIL PROTECTED]] >Sent: Wednesday, May 15, 2002 10:49 AM >To: [EMAIL PROTECTED] >Subject: RE: hostname and domainname > > >I use hostname (name) and domainname (name) and it sets it, but after I >reboot, they both change back to what they were before. > >I don't have redhat-config-network on my machine. > >Thanks, >Jake > >At 12:28 PM 5/15/2002 -0500, you wrote: > >What are you using to change these? Or what files are you actually > >changing? > > > >Try running redhat-config-network and changing it there, that keeps it for > >me. > > > >Eric > > > >-Original Message- > >From: Jake McHenry [mailto:[EMAIL PROTECTED]] > >Sent: Wednesday, May 15, 2002 12:22 PM > >To: [EMAIL PROTECTED] > >Subject: hostname and domainname > > > > > >Hi, everytime I reboot my machine, I have to reset my hostname and > >domainname. When I reboot, my hostname get's set back to what it was when I > >installed redhat, and the domainname goes to empty. I set them back by > >hostname and domainname and it's fine then, but as soon as I > >reboot or go init1, it goes back to the wrong settings. Where are the files > >that I can manually change these entries? > > > >Thanks, > >Jake > > > > > > > > > >___ > >Redhat-list mailing list > >[EMAIL PROTECTED] > >https://listman.redhat.com/mailman/listinfo/redhat-list > > > > > > > >___ > >Redhat-list mailing list > >[EMAIL PROTECTED] > >https://listman.redhat.com/mailman/listinfo/redhat-list > > > > >___ >Redhat-list mailing list >[EMAIL PROTECTED] >https://listman.redhat.com/mailman/listinfo/redhat-list > > > >___ >Redhat-list mailing list >[EMAIL PROTECTED] >https://listman.redhat.com/mailman/listinfo/redhat-list ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
RE: hostname and domainname
I'm not using any type of X windows. Ok, I changed the HOSTNAME in /etc/sysconfig/network, but the domainname still sets to empty when I reboot the machine. At least apache isn't yelling at me anymore about my fully qualified domain name. Will not having domainname set to anything be a problem? Thanks, Jake At 12:53 PM 5/15/2002 -0500, you wrote: > >From what i've heard, 7.3 acts more like Solaris, in that you have to change >multiple files not just one anymore. I'm not sure if there is truth behind >that. Do you use any X Environment or just terminal? If your in an X >Environment there should be some gui tools somewhere under settings. There >are a few different ones for the network settings. > >Eric > >-Original Message- >From: Keith Winston [mailto:[EMAIL PROTECTED]] >Sent: Wednesday, May 15, 2002 12:47 PM >To: [EMAIL PROTECTED] >Subject: Re: hostname and domainname > > >On Wed, May 15, 2002 at 12:28:16PM -0500, [EMAIL PROTECTED] wrote: > > What are you using to change these? Or what files are you actually > > changing? > > > > Try running redhat-config-network and changing it there, that keeps it for > > me. > >Take a look at /etc/sysconfig/network. I think the HOSTNAME variable >is where it is stored. > >Best Regards, >Keith >-- >LPIC-2, MCSE, N+ >Will we all fight for the right to be free? >Got spam? Get spastic http://spastic.sourceforge.net > > > >___ >Redhat-list mailing list >[EMAIL PROTECTED] >https://listman.redhat.com/mailman/listinfo/redhat-list > > > >___ >Redhat-list mailing list >[EMAIL PROTECTED] >https://listman.redhat.com/mailman/listinfo/redhat-list ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
RE: hostname and domainname
I use hostname (name) and domainname (name) and it sets it, but after I reboot, they both change back to what they were before. I don't have redhat-config-network on my machine. Thanks, Jake At 12:28 PM 5/15/2002 -0500, you wrote: >What are you using to change these? Or what files are you actually >changing? > >Try running redhat-config-network and changing it there, that keeps it for >me. > >Eric > >-----Original Message- >From: Jake McHenry [mailto:[EMAIL PROTECTED]] >Sent: Wednesday, May 15, 2002 12:22 PM >To: [EMAIL PROTECTED] >Subject: hostname and domainname > > >Hi, everytime I reboot my machine, I have to reset my hostname and >domainname. When I reboot, my hostname get's set back to what it was when I >installed redhat, and the domainname goes to empty. I set them back by >hostname and domainname and it's fine then, but as soon as I >reboot or go init1, it goes back to the wrong settings. Where are the files >that I can manually change these entries? > >Thanks, >Jake > > > > >___ >Redhat-list mailing list >[EMAIL PROTECTED] >https://listman.redhat.com/mailman/listinfo/redhat-list > > > >___ >Redhat-list mailing list >[EMAIL PROTECTED] >https://listman.redhat.com/mailman/listinfo/redhat-list ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
hostname and domainname
Hi, everytime I reboot my machine, I have to reset my hostname and domainname. When I reboot, my hostname get's set back to what it was when I installed redhat, and the domainname goes to empty. I set them back by hostname and domainname and it's fine then, but as soon as I reboot or go init1, it goes back to the wrong settings. Where are the files that I can manually change these entries? Thanks, Jake ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
hostname & domainname
Hi everyone, two questions... Under hostname, should that just be the name of my computer, or the domain also? Under domainname, should that just be the domain or the host also? Also, do I need anything in these? I'm only running dns, in the man pages it says it's for nis or yp. Thanks, Jake ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Linuxconf and 7.3
Hi, I just installed 7.3, everything going good so far, but I can't get the hostname set correctly. What happened to linuxconf? I used that before to set up the network info, but I can't find it on any of the cd's. What can I use in place of linuxconf? I tried using just hostname and domainname and dnsdomainname, but apache still says it can't determine the hostname and my email isn't working properly. Please let me know... Thanks, Jake ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
SOLVED: Re: Crontab Entries
Thanks everyone, that makes things a lot easier for me. :-) At 08:33 AM 3/28/2002 -0500, you wrote: >Does anyone know of a way that I can view the crontab entries for all >users on the system, instead of doing crontab -u user -l for each user? > >Thanks, >Jake > > > >___ >Redhat-list mailing list >[EMAIL PROTECTED] >https://listman.redhat.com/mailman/listinfo/redhat-list ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Crontab Entries
Does anyone know of a way that I can view the crontab entries for all users on the system, instead of doing crontab -u user -l for each user? Thanks, Jake ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: HELP!
httpd -V shows me this... Does this help? It says I have eapi there, but the php rpm is not recognizing it. Let me know what I should do. THanks, Jake [root@enigma rpms]# httpd -VServer version: Apache/1.3.23 (Unix) (Red-Hat/Linux)Server built: Mar 5 2002 12:01:31Server's Module Magic Number: 19990320:11Server compiled with -D EAPI -D EAPI_MM -D EAPI_MM_CORE_PATH="/var/run/httpd.mm" -D HAVE_MMAP -D HAVE_SHMGET -D USE_SHMGET_SCOREBOARD -D USE_MMAP_FILES -D HAVE_FCNTL_SERIALIZED_ACCEPT -D HAVE_SYSVSEM_SERIALIZED_ACCEPT -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D HTTPD_ROOT="/etc/httpd" -D SUEXEC_BIN="/usr/sbin/suexec" -D DEFAULT_PIDLOG="/var/run/httpd.pid" -D DEFAULT_SCOREBOARD="/var/run/httpd.scoreboard" -D DEFAULT_LOCKFILE="/var/run/httpd.lock" -D DEFAULT_XFERLOG="/var/log/httpd/access_log" -D DEFAULT_ERRORLOG="/var/log/httpd/error_log" -D TYPES_CONFIG_FILE="conf/mime.types" -D SERVER_CONFIG_FILE="conf/httpd.conf" -D ACCESS_CONFIG_FILE="conf/access.conf" -D RESOURCE_CONFIG_FILE="conf/srm.conf" - Original Message - From: Jake McHenry To: RedHat List Sent: Monday, March 18, 2002 3:36 PM Subject: HELP! I don't know what happened, but the last time I ran up2date, something got majorlly screwed up. Whenever I try to install any new rpm's, this is what I get error: db3 error(-30998) from db->close: DB_INCOMPLETE: Cache flush was unable to completerpmdb: First overflow page 914 has a prev_pgnorpmdb: Overflow item incomplete on page 1309error: db3 error(-30985) from db->verify: DB_VERIFY_BAD: Database verification failed I've tried running updatedb, and it finishes, but I'm still getting the errors. What happened? And more important, how do I fix it Thanks, Jake
Re: HELP!
Ok, I think that rpm --rebuilddb fixed my problem, but I'm still getting another problem.. I am trying to upgrade to the new version of php. I have apache 1.3.22 installed as you can see below, but it's giving me an error saying that I don't have a high enough version, but I do. [root@enigma rpms]# rpm -q -a | grep 'apache'apache-devel-1.3.23-6apache-1.3.23-6[root@enigma rpms]# rpm -q -a | grep 'php'asp2php-0.75.17-1[root@enigma rpms]# rpm -i *error: failed dependencies: apache(EAPI) >= 1.3.9 is needed by php-4.1.2-3 Anyone know what is going on? Thanks, Jake ----- Original Message - From: Jake McHenry To: RedHat List Sent: Monday, March 18, 2002 3:36 PM Subject: HELP! I don't know what happened, but the last time I ran up2date, something got majorlly screwed up. Whenever I try to install any new rpm's, this is what I get error: db3 error(-30998) from db->close: DB_INCOMPLETE: Cache flush was unable to completerpmdb: First overflow page 914 has a prev_pgnorpmdb: Overflow item incomplete on page 1309error: db3 error(-30985) from db->verify: DB_VERIFY_BAD: Database verification failed I've tried running updatedb, and it finishes, but I'm still getting the errors. What happened? And more important, how do I fix it Thanks, Jake
Re: HELP!
I just tried rpm --rebuilddb and this is what i got from that [root@enigma root]# rpm --rebuilddberror: rpmdb: damaged header instance #472 retrieved, skipping does this help? Let me know as soon as possible please. Thanks, Jake - Original Message - From: Jake McHenry To: RedHat List Sent: Monday, March 18, 2002 3:36 PM Subject: HELP! I don't know what happened, but the last time I ran up2date, something got majorlly screwed up. Whenever I try to install any new rpm's, this is what I get error: db3 error(-30998) from db->close: DB_INCOMPLETE: Cache flush was unable to completerpmdb: First overflow page 914 has a prev_pgnorpmdb: Overflow item incomplete on page 1309error: db3 error(-30985) from db->verify: DB_VERIFY_BAD: Database verification failed I've tried running updatedb, and it finishes, but I'm still getting the errors. What happened? And more important, how do I fix it Thanks, Jake
HELP!
I don't know what happened, but the last time I ran up2date, something got majorlly screwed up. Whenever I try to install any new rpm's, this is what I get error: db3 error(-30998) from db->close: DB_INCOMPLETE: Cache flush was unable to completerpmdb: First overflow page 914 has a prev_pgnorpmdb: Overflow item incomplete on page 1309error: db3 error(-30985) from db->verify: DB_VERIFY_BAD: Database verification failed I've tried running updatedb, and it finishes, but I'm still getting the errors. What happened? And more important, how do I fix it Thanks, Jake
Re: Replacement for telnet
umm, how about ssh? :-) Jake - Original Message - From: "Burke, Thomas G." <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 18, 2002 2:24 PM Subject: RE: Replacement for telnet > >From a windows box, there's tera term, and some others. from a linux box, I > don't know. > > -Original Message- > From: dbrett [mailto:[EMAIL PROTECTED]] > Sent: Monday, March 18, 2002 9:13 AM > To: [EMAIL PROTECTED] > Subject: Replacement for telnet > > > Does anybody know of another telnet program with more features? I am in > need of one which can do things like logging. > > david > > > > > ___ > Redhat-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/redhat-list > > > > ___ > Redhat-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/redhat-list > ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
SOLVED: Re: SED Question
Awesome, Thanks!! Jake - Original Message - From: "Vidiot" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 06, 2002 9:26 PM Subject: Re: SED Question > > > >This is a multi-part message in MIME format. > > > >--=_NextPart_000_0005_01C1C552.B5297DF0 > >Content-Type: text/plain; > > charset="iso-8859-1" > >Content-Transfer-Encoding: quoted-printable > > > >Hey everyone, I am trying to make a "FROM" script that basically shows = > >the person running the script who the mail is from that they have. Not = > >very complex, but I can't seem to get it exactly how I want it. = > >Currently, it works fine, but it shows too much info. This is what I = > >have... > > > > cat /var/spool/mail/$uname | sed -e '/[Ff][Rr][Oo][Mm]:/b' -e d > > > >K, this shows all combinations of from:, which is kind of what I want, = > >but I only want the from: at the beginning of a email, not all the from: = > >in reply's etc... > > > >Can anyone help me out with this? > > How about: > > sed -e '/^From /b' -e d > > The only legal from at the beginning is "From " > > MB > > > > > >Thanks, > >Jake > > > >--=_NextPart_000_0005_01C1C552.B5297DF0 > >Content-Type: text/html; > > charset="iso-8859-1" > >Content-Transfer-Encoding: quoted-printable > > > > > > > > >charset=3Diso-8859-1"> > > > > > > > > > >Hey everyone, I am trying to make a = > >"FROM" script=20 > >that basically shows the person running the script who the mail is from = > >that=20 > >they have. Not very complex, but I can't seem to get it exactly how I = > >want it.=20 > >Currently, it works fine, but it shows too much info. This is what I=20 > >have... > > > > cat /var/spool/mail/$uname | sed = > >-e=20 > >'/[Ff][Rr][Oo][Mm]:/b' -e d > > > >K, this shows all combinations of = > >from:, which is=20 > >kind of what I want, but I only want the from: at the beginning of a = > >email, not=20 > >all the from: in reply's etc... > > > >Can anyone help me out with = > >this? > > > > > >Thanks, > >Jake > > > >--=_NextPart_000_0005_01C1C552.B5297DF0-- > > > > > > > > > >___ > >Redhat-list mailing list > >[EMAIL PROTECTED] > >https://listman.redhat.com/mailman/listinfo/redhat-list > > > > > -- > e-mail: [EMAIL PROTECTED] It is God's job to forgive bin Laden. > It is our job to set up the meeting. > U.S. Marine Corp. > Visit - URL: http://www.vidiot.com/ (Your link to Star Trek and UPN) > > > > ___ > Redhat-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/redhat-list > > ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
SED Question
Hey everyone, I am trying to make a "FROM" script that basically shows the person running the script who the mail is from that they have. Not very complex, but I can't seem to get it exactly how I want it. Currently, it works fine, but it shows too much info. This is what I have... cat /var/spool/mail/$uname | sed -e '/[Ff][Rr][Oo][Mm]:/b' -e d K, this shows all combinations of from:, which is kind of what I want, but I only want the from: at the beginning of a email, not all the from: in reply's etc... Can anyone help me out with this? Thanks, Jake
SOLVED: Re: MySQL Question
Thanks guys, I ended up going back to the mysql date and time entries. I just had to rewrite some of my php stuff to get it to work with the rest of my files. Thanks for all the help! Jake - Original Message - From: "Brian Ashe" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, February 12, 2002 11:25 AM Subject: Re: MySQL Question > Jake, > > On Tuesday 12 February 2002 11:00, you said something about: > > Yes, I'm using PHP. > > > > I tried this, but then it doesn't display the way I want it to. How can I > > break apart what mysql spits out back into the year, month, day, time > > variables? > > > > In PHP you could try using the "split" or "explode" functions to return an > array of the split apart items. > > ie. > > $date = "2002-10-20"; > $mdy = explode ("-", $date); > echo date("F d, Y", mktime (0,0,0,$mdy[1], $mdy[2], $mdy[0])); > > Or one of the millions of variations of the above. > > > > > This is exactly what I'm doing! Here is my query .. > > > > > > > > select * from $dbtable where 1 and year = '$inyear' and month like > > > > '$inmonth' and day = '$inday' order by time, ampm > > > > > > > > And when I display the results, it is putting a event of 10:00 am or pm > > > > before 2-9 am or pm. it's putting the 10 before all. > > > > > > > > > > > > Here is a screen shot of the output.. > > > > > > > > Time AM/PM Event Delete > > > > 10:00 AM test > > > > 10:00 PM test > > > > 1:00 PM test > > > > 5:00 AM test > > > > 8:00 PM test > > > > 9:00 AM test > > > > 9:30 AM test > > -- > Brian Ashe CTO > Dee-Web Software Services, LLC. [EMAIL PROTECTED] > > > > ___ > Redhat-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/redhat-list > > ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: MySQL Question
Yes, I'm using PHP. I tried this, but then it doesn't display the way I want it to. How can I break apart what mysql spits out back into the year, month, day, time variables? Thanks, Jake - Original Message - From: "Dave Reed" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, February 12, 2002 8:11 AM Subject: Re: MySQL Question > > From: "Jake McHenry" <[EMAIL PROTECTED]> > > > > This is exactly what I'm doing! Here is my query .. > > > > select * from $dbtable where 1 and year = '$inyear' and month like > > '$inmonth' and day = '$inday' order by time, ampm > > > > And when I display the results, it is putting a event of 10:00 am or pm > > before 2-9 am or pm. it's putting the 10 before all. > > > > > > Here is a screen shot of the output.. > > > > Time AM/PM Event Delete > > 10:00 AM test > > 10:00 PM test > > 1:00 PM test > > 5:00 AM test > > 8:00 PM test > > 9:00 AM test > > 9:30 AM test > > > > Check All > > Password: > > > > > > Thanks, > > Jake > > > You're either going to have to write your own sort that takes into > account the leading one or do it the right way :-) with MySQL > date/time data types. > > Obviously you're doing this with some sort of programming language so > write the code to generate the query based on the date you want to > search for: > > Python example: > date = year + '-' + month + '-' + day > q = 'select * from dbtable where date_column = ' + date + \ > ' order by time_column;' > > Replace your date data types with a MySQL DATE and a MySQL TIME data > type. > > HTH, > Dave > > > > ___ > Redhat-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/redhat-list > > ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: MySQL Question
This is exactly what I'm doing! Here is my query .. select * from $dbtable where 1 and year = '$inyear' and month like '$inmonth' and day = '$inday' order by time, ampm And when I display the results, it is putting a event of 10:00 am or pm before 2-9 am or pm. it's putting the 10 before all. Here is a screen shot of the output.. Time AM/PM Event Delete 10:00 AM test 10:00 PM test 1:00 PM test 5:00 AM test 8:00 PM test 9:00 AM test 9:30 AM test Check All Password: Thanks, Jake - Original Message - From: "Pieter De Wit" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, February 11, 2002 11:26 PM Subject: Re: MySQL Question > Hello Jake, > > 1) What is the query that you are using ? > 2) Why don't you use a date/time field (can't remeber if mysql has one :) ) > > Your query should look something like this : > > select * from order by time,ampm; > > Cheers, > > Pieter > > - Original Message - > From: Jake McHenry > To: RedHat List > Sent: Tuesday, February 12, 2002 3:26 AM > Subject: MySQL Question > > > I know this isn't the right place for this, but I'm hoping someone can help > me out. I have created a database, basically an online calendar, and I have > the following fields in my table.. > > id int(10) auto_increment > year int(4) > month varchar(10) > day int(2) > time varchar(5) > ampm char(2) > event varchar(255) > > Where I'm running into a problem is on the output screen. I've tried sorting > by day, time, and ampm, and all of these, but I'm still running into the > same problem. > The problem is that an entry of time 10:00 am is coming before 10:00 pm, > it's because of the 1 in the entry, I think. Anyway, can anyone tell me how > I can get the entries to be listed in sequential order by time and ampm? > > I've also tryed putting the year, month, day, and time into a datetime > field, but I still have the same problem. > > Thanks, > Jake > > > > ___ > Redhat-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/redhat-list > > ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: MySQL Question
The way my calendar is set up depends on the individual month, year, and day being pulled from the database. Then it pulls the individual days events and displays them on the page. Jake - Original Message - From: "Dave Reed" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, February 11, 2002 9:18 PM Subject: Re: MySQL Question > > From: "Jake McHenry" <[EMAIL PROTECTED]> > > > > I know this isn't the right place for this, but I'm hoping someone can = > > help me out. I have created a database, basically an online calendar, = > > and I have the following fields in my table.. > > > > id int(10) auto_increment > > year int(4) > > month varchar(10) > > day int(2) > > time varchar(5) > > ampm char(2) > > event varchar(255) > > > > Where I'm running into a problem is on the output screen. I've tried = > > sorting by day, time, and ampm, and all of these, but I'm still running = > > into the same problem. > > The problem is that an entry of time 10:00 am is coming before 10:00 pm, = > > it's because of the 1 in the entry, I think. Anyway, can anyone tell me = > > how I can get the entries to be listed in sequential order by time and = > > ampm? > > > > I've also tryed putting the year, month, day, and time into a datetime = > > field, but I still have the same problem. > > > > Thanks, > > Jake > > Why don't you use the SQL types for dates and times and then MySQL > will give you the correct ordering of times when you do an "order by" > clause. > > Dave > > > > ___ > Redhat-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/redhat-list > > ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: MySQL Question
Ok, sorry, type-o, 10:00 am or pm is coming before 2-9 am or pm, get it? Jake - Original Message - From: "David Talkington" <[EMAIL PROTECTED]> To: "RedHat List" <[EMAIL PROTECTED]> Sent: Monday, February 11, 2002 8:35 PM Subject: Re: MySQL Question > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Jake McHenry wrote: > > >Where I'm running into a problem is on the output screen. I've tried > >sorting by day, time, and ampm, and all of these, but I'm still > >running into the same problem. The problem is that an entry of time > >10:00 am is coming before 10:00 pm, it's because of the 1 in the > >entry, I think. Anyway, can anyone tell me how I can get the entries > >to be listed in sequential order by time and ampm? > > If you're telling me that 10:00 am does _not_ come before 10:00 pm, > then either you're a nocturnal creature (nothing wrong with that, but > it's not what calendar authors typically anticipate), or my circadian > rhythms are more screwed up than I thought. > > - -d > > > - -- > David Talkington > > PGP key: http://www.prairienet.org/~dtalk/0xCA4C11AD.pgp > - -- > http://setiathome.ssl.berkeley.edu/pale_blue_dot.html > > -BEGIN PGP SIGNATURE- > Version: PGP 6.5.8 > Comment: Made with pgp4pine 1.75-6 > > iQA/AwUBPGhxaL9BpdPKTBGtEQKhOQCgoczb+Tsm1buiZb5uQbiVXwwzRWkAn2kE > z3mJ3lseQ5VDn0nF0XIeZE19 > =kJZD > -END PGP SIGNATURE- > > > > > ___ > Redhat-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/redhat-list > > ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
MySQL Question
I know this isn't the right place for this, but I'm hoping someone can help me out. I have created a database, basically an online calendar, and I have the following fields in my table.. id int(10) auto_incrementyear int(4)month varchar(10)day int(2)time varchar(5)ampm char(2)event varchar(255) Where I'm running into a problem is on the output screen. I've tried sorting by day, time, and ampm, and all of these, but I'm still running into the same problem. The problem is that an entry of time 10:00 am is coming before 10:00 pm, it's because of the 1 in the entry, I think. Anyway, can anyone tell me how I can get the entries to be listed in sequential order by time and ampm? I've also tryed putting the year, month, day, and time into a datetime field, but I still have the same problem. Thanks, Jake
Re: Validating passwords via php, Lil help please! (Was with PERL)
Actually, take back that last email, newpass does seem to be working, just don't know what it's doing, as the computer is just sitting there after I put in newpass, I opened a new connection to the machine, and noticed that a instance of passwd is running, along with poppassd. Interesting. So it must be trying to change the password, right? Anyone know how to help out? Thanks, Jake - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, February 01, 2002 9:04 AM Subject: RE: Validating passwords via php, Lil help please! (Was with PERL) > There is no newpass command in the rfc standarts, is the newpass command > working? > > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > On Behalf Of Jake McHenry > Sent: Freitag, 01. Februar 2002 14:17 > To: [EMAIL PROTECTED] > Subject: Validating passwords via php, Lil help please! (Was with PERL) > > K, this script uses php to access poppassd to change users passwords via > a > form that I threw together quick, but there is a problem. The results of > the > php is that it successfully changes the password, but it actually does > not > change it. Can anyone point me in the right direction as to why this > script > is not functioning for me? > > - > > $cfgServer = "enigma.ministang.com"; > $cfgPort = 106; > $cfgTimeOut = 10; > echo ""; > # open a socket first > if(!$cfgTimeOut) > # without timeout > $poppass_handle = fsockopen($cfgServer, $cfgPort); > else > # with timeout > $poppass_handle = fsockopen($cfgServer, $cfgPort, &$errno, &$errstr, > $cfgTimeOut); > > if(!$poppass_handle) { > echo " Connetion to server failed . "; > echo " Failed to Change Password "; > exit(); > } > else { > # now talking to the server to change password. > fputs($poppass_handle, "user $username \r\n"); > $tmpa = fgets($poppass_handle, 50); > fputs($poppass_handle, "pass $curpass \r\n"); > $tmpb = fgets($poppass_handle, 50); > fputs($poppass_handle, "newpass $newpass \r\n"); > $tmpc = fgets($poppass_handle, 3 ); > $tmpd = fgets($poppass_handle, 3 ); > > #500 is first 3 characters returned by the poppassd > #daemon if current password is incorrect > > if ($tmpc == 500) > { > echo "The Current Password you entered is incorrect "; > echo "Please go back and change your password again. " ; > } > else > { > echo "Password Changed Sucessfully" ; > } > } > # now done with it close the connection > fclose ($poppass_handle) > ?> > > -- > > Thanks, > Jake > > > > - Original Message - > From: "Jake McHenry" <[EMAIL PROTECTED]> > To: "RedHat List" <[EMAIL PROTECTED]> > Sent: Friday, February 01, 2002 12:10 AM > Subject: Re: Validating passwords via perl, Lil help please! > > > > That would help out a lot, maybe then I could either use the php code, > or > > somehow use that in my cgi script. > > > > Thanks, > > Jake > > > > - Original Message - > > From: "Peter Kiem" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Thursday, January 31, 2002 10:55 PM > > Subject: Re: Validating passwords via perl, Lil help please! > > > > > > > Hi Jake, > > > > > > > That is basically what I have now to see if the user exists, but I > can't > > use > > > > this because I'm using shadow passwords, the only thing that is in > > position > > > > 2 of /etc/passwd is x. So, anyone know of any other ways that I > can > > achieve > > > > this? Thanks for the help though. > > > > > > I did this by installing the poppassd daemon and then writing a PHP > class > > to > > > call poppassd with the username, old password and new password and > > poppassd > > > did all the work for me :) > > > > > > I guess you could write something similar in Perl. If you want the > PHP > > > source code then let me know. > > > > > > -- > > > Regards, > > > +---+-+ > > > | Peter Kiem| E-Mail: <[EMAIL PROTECTED]> | > &
Re: Validating passwords via php, Lil help please! (Was with PERL)
Where did you find a rfc on poppassd? I've looked at www.rfc-editor.org, and many others, and found nothing. And, no, the newpass does not work, it just sits there, no response when I telnet in. Does anyone know what I can use instead of newpass? Thanks, Jake - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, February 01, 2002 9:04 AM Subject: RE: Validating passwords via php, Lil help please! (Was with PERL) > There is no newpass command in the rfc standarts, is the newpass command > working? > > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > On Behalf Of Jake McHenry > Sent: Freitag, 01. Februar 2002 14:17 > To: [EMAIL PROTECTED] > Subject: Validating passwords via php, Lil help please! (Was with PERL) > > K, this script uses php to access poppassd to change users passwords via > a > form that I threw together quick, but there is a problem. The results of > the > php is that it successfully changes the password, but it actually does > not > change it. Can anyone point me in the right direction as to why this > script > is not functioning for me? > > - > > $cfgServer = "enigma.ministang.com"; > $cfgPort = 106; > $cfgTimeOut = 10; > echo ""; > # open a socket first > if(!$cfgTimeOut) > # without timeout > $poppass_handle = fsockopen($cfgServer, $cfgPort); > else > # with timeout > $poppass_handle = fsockopen($cfgServer, $cfgPort, &$errno, &$errstr, > $cfgTimeOut); > > if(!$poppass_handle) { > echo " Connetion to server failed . "; > echo " Failed to Change Password "; > exit(); > } > else { > # now talking to the server to change password. > fputs($poppass_handle, "user $username \r\n"); > $tmpa = fgets($poppass_handle, 50); > fputs($poppass_handle, "pass $curpass \r\n"); > $tmpb = fgets($poppass_handle, 50); > fputs($poppass_handle, "newpass $newpass \r\n"); > $tmpc = fgets($poppass_handle, 3 ); > $tmpd = fgets($poppass_handle, 3 ); > > #500 is first 3 characters returned by the poppassd > #daemon if current password is incorrect > > if ($tmpc == 500) > { > echo "The Current Password you entered is incorrect "; > echo "Please go back and change your password again. " ; > } > else > { > echo "Password Changed Sucessfully" ; > } > } > # now done with it close the connection > fclose ($poppass_handle) > ?> > > -- > > Thanks, > Jake > > > > - Original Message - > From: "Jake McHenry" <[EMAIL PROTECTED]> > To: "RedHat List" <[EMAIL PROTECTED]> > Sent: Friday, February 01, 2002 12:10 AM > Subject: Re: Validating passwords via perl, Lil help please! > > > > That would help out a lot, maybe then I could either use the php code, > or > > somehow use that in my cgi script. > > > > Thanks, > > Jake > > > > - Original Message - > > From: "Peter Kiem" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Thursday, January 31, 2002 10:55 PM > > Subject: Re: Validating passwords via perl, Lil help please! > > > > > > > Hi Jake, > > > > > > > That is basically what I have now to see if the user exists, but I > can't > > use > > > > this because I'm using shadow passwords, the only thing that is in > > position > > > > 2 of /etc/passwd is x. So, anyone know of any other ways that I > can > > achieve > > > > this? Thanks for the help though. > > > > > > I did this by installing the poppassd daemon and then writing a PHP > class > > to > > > call poppassd with the username, old password and new password and > > poppassd > > > did all the work for me :) > > > > > > I guess you could write something similar in Perl. If you want the > PHP > > > source code then let me know. > > > > > > -- > > > Regards, > > > +---+-+ > > > | Peter Kiem| E-Mail: <[EMAIL PROTECTED]> | > > > | Zordah IT | Mobile: +61 0414 724 766| > > >
Validating passwords via php, Lil help please! (Was with PERL)
K, this script uses php to access poppassd to change users passwords via a form that I threw together quick, but there is a problem. The results of the php is that it successfully changes the password, but it actually does not change it. Can anyone point me in the right direction as to why this script is not functioning for me? - "; # open a socket first if(!$cfgTimeOut) # without timeout $poppass_handle = fsockopen($cfgServer, $cfgPort); else # with timeout $poppass_handle = fsockopen($cfgServer, $cfgPort, &$errno, &$errstr, $cfgTimeOut); if(!$poppass_handle) { echo " Connetion to server failed . "; echo " Failed to Change Password "; exit(); } else { # now talking to the server to change password. fputs($poppass_handle, "user $username \r\n"); $tmpa = fgets($poppass_handle, 50); fputs($poppass_handle, "pass $curpass \r\n"); $tmpb = fgets($poppass_handle, 50); fputs($poppass_handle, "newpass $newpass \r\n"); $tmpc = fgets($poppass_handle, 3 ); $tmpd = fgets($poppass_handle, 3 ); #500 is first 3 characters returned by the poppassd #daemon if current password is incorrect if ($tmpc == 500) { echo "The Current Password you entered is incorrect "; echo "Please go back and change your password again. " ; } else { echo "Password Changed Sucessfully" ; } } # now done with it close the connection fclose ($poppass_handle) ?> ------ Thanks, Jake - Original Message - From: "Jake McHenry" <[EMAIL PROTECTED]> To: "RedHat List" <[EMAIL PROTECTED]> Sent: Friday, February 01, 2002 12:10 AM Subject: Re: Validating passwords via perl, Lil help please! > That would help out a lot, maybe then I could either use the php code, or > somehow use that in my cgi script. > > Thanks, > Jake > > - Original Message - > From: "Peter Kiem" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, January 31, 2002 10:55 PM > Subject: Re: Validating passwords via perl, Lil help please! > > > > Hi Jake, > > > > > That is basically what I have now to see if the user exists, but I can't > use > > > this because I'm using shadow passwords, the only thing that is in > position > > > 2 of /etc/passwd is x. So, anyone know of any other ways that I can > achieve > > > this? Thanks for the help though. > > > > I did this by installing the poppassd daemon and then writing a PHP class > to > > call poppassd with the username, old password and new password and > poppassd > > did all the work for me :) > > > > I guess you could write something similar in Perl. If you want the PHP > > source code then let me know. > > > > -- > > Regards, > > +---+-+ > > | Peter Kiem| E-Mail: <[EMAIL PROTECTED]> | > > | Zordah IT | Mobile: +61 0414 724 766| > > | IT Consultancy &| WWW : www.zordah.net | > > | Internet Hosting| ICQ : "Zordah" 81 | > > +---+-+ > > > > > > > > > > > > ___ > > Redhat-list mailing list > > [EMAIL PROTECTED] > > https://listman.redhat.com/mailman/listinfo/redhat-list > > > > > > > > > > ___ > Redhat-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/redhat-list > > ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: Validating passwords via perl, Lil help please!
That would help out a lot, maybe then I could either use the php code, or somehow use that in my cgi script. Thanks, Jake - Original Message - From: "Peter Kiem" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 31, 2002 10:55 PM Subject: Re: Validating passwords via perl, Lil help please! > Hi Jake, > > > That is basically what I have now to see if the user exists, but I can't use > > this because I'm using shadow passwords, the only thing that is in position > > 2 of /etc/passwd is x. So, anyone know of any other ways that I can achieve > > this? Thanks for the help though. > > I did this by installing the poppassd daemon and then writing a PHP class to > call poppassd with the username, old password and new password and poppassd > did all the work for me :) > > I guess you could write something similar in Perl. If you want the PHP > source code then let me know. > > -- > Regards, > +---+-+ > | Peter Kiem| E-Mail: <[EMAIL PROTECTED]> | > | Zordah IT | Mobile: +61 0414 724 766| > | IT Consultancy &| WWW : www.zordah.net | > | Internet Hosting| ICQ : "Zordah" 81 | > +---+-+ > > > > > > ___ > Redhat-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/redhat-list > > ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: Validating passwords via perl, Lil help please!
That is basically what I have now to see if the user exists, but I can't use this because I'm using shadow passwords, the only thing that is in position 2 of /etc/passwd is x. So, anyone know of any other ways that I can achieve this? Thanks for the help though. Thanks, Jake - Original Message - From: "Juan Martinez" <[EMAIL PROTECTED]> To: "Jake McHenry" <[EMAIL PROTECTED]> Sent: Thursday, January 31, 2002 5:18 PM Subject: Re: Validating passwords via perl, Lil help please! > Jake, > > Here's a script I used while working at a small ISP. When users forgot their > passwords I'd check their guesses with the following script. Let me > know if it doesn't makes sense. I'd be happy to explain. > > > > > #!/usr/bin/perl > > ($#ARGV == 1) || die "Usage: cpw login pwguess\n"; > ($login, $guess) = @ARGV; > > ($name, $pass) = getpwnam $login; > > if ($name) { > if (crypt ($guess, $pass) eq $pass) { > print "Correct\n"; > } > else { > print "Sorry\n"; > } > } > else { > print "$login not found in /etc/passwd\n" > } > > #### > > -- > Write a wise saying and your name will live forever. > -- Anonymous > > On Thu, 31 Jan 2002, Jake McHenry wrote: > > > Date: Thu, 31 Jan 2002 16:10:07 -0500 > > From: Jake McHenry <[EMAIL PROTECTED]> > > Reply-To: [EMAIL PROTECTED] > > To: [EMAIL PROTECTED] > > Subject: Validating passwords via perl, Lil help please! > > > > Hello everyone, I'm working on creating a web-based password changer, but > > have been having some trouble with the password verification process. I have > > verified the the username entered is an acutal user on the system with > > getpwnam($uname), and that works, but how can I verify that the old password > > that they enter is correct? Anything would be greatly appreciated! > > > > Thanks, > > Jake > > > > > > > > > > ___ > > Redhat-list mailing list > > [EMAIL PROTECTED] > > https://listman.redhat.com/mailman/listinfo/redhat-list > > > > > ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Validating passwords via perl, Lil help please!
Hello everyone, I'm working on creating a web-based password changer, but have been having some trouble with the password verification process. I have verified the the username entered is an acutal user on the system with getpwnam($uname), and that works, but how can I verify that the old password that they enter is correct? Anything would be greatly appreciated! Thanks, Jake ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: SOLVED Re: up2date
Yea, we are here at work. I don't know what happened before, it was just downloading the header files, but not the actual RPM's. But it's working now. Thanks everyone. Jake - Original Message - From: "Mike Burger" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, January 25, 2002 5:31 PM Subject: Re: SOLVED Re: up2date > On Fri, 25 Jan 2002, Jake McHenry wrote: > > > Thanks everyone for the help. I deleted all the header files, and ran just > > up2date -u, it redownloaded the header files, and is now downloading the > > rpm's as well. > > > > Thanks, > > Jake > > I'm guessing that you're a paid RHN user...because I still can't get past > the "Free service limited due to high load" message. > > > > ___ > Redhat-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/redhat-list > ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
SOLVED Re: up2date
Thanks everyone for the help. I deleted all the header files, and ran just up2date -u, it redownloaded the header files, and is now downloading the rpm's as well. Thanks, Jake - Original Message - From: "Mike Burger" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, January 25, 2002 1:03 PM Subject: Re: up2date > Sure...the list is there...but you have to specify which updates you > actually want. You don't want it to just go all willy nilly and install > everything. > > On Fri, 25 Jan 2002, Nick Wilson wrote: > > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > > > > * and then Mike Burger blurted > > > Your problem is that you keep using the -l (list available updates) > > > option. > > > > > > Or, if you don't want to do all that typing, use the GUI Red Hat Network > > > tool from KDE/Gnome. > > > > There must be a way to do that without out typing each package, > > wildcards or something. Isn't the list of packages kept in > > /var/spool/up2date or something? > > > > Nick Wilson > > > > Tel: +45 3325 0688 > > Fax: +45 3325 0677 > > Web: www.explodingnet.com > > > > > > > > -BEGIN PGP SIGNATURE- > > Version: GnuPG v1.0.6 (GNU/Linux) > > > > iD8DBQE8UZK3HpvrrTa6L5oRAnh3AKCbuvvhizqC0ofuG7GPwGwaBXakmACbBFUv > > VCpqq619qanxX2cNDW4Qzuw= > > =mKPi > > -END PGP SIGNATURE- > > > > > > > > ___ > > Redhat-list mailing list > > [EMAIL PROTECTED] > > https://listman.redhat.com/mailman/listinfo/redhat-list > > > > > > ___ > Redhat-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/redhat-list > ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: up2date
Yes, I'm running it as root. No, I don't even have X on this machine. Jake On Fri, 25 Jan 2002, Nick Wilson wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > * and then Jake McHenry blurted > > > > Ok, if I try to just run up2date, without any options, it give me what I > > have included below. I am also running 7.2. > > Hmmm. Couple of Q's > > * Are you running it as root? > * If not, do so and tell us what happens. > * Are you not running under X? > > When I run it the first thing I get is the welcome screen. (or in the > case of 2mins ago a 'sorry we're busy sign'!) > > > - -- > > Nick Wilson > > Tel: +45 3325 0688 > Fax: +45 3325 0677 > Web: www.explodingnet.com > > > > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.0.6 (GNU/Linux) > > iD8DBQE8UXXOHpvrrTa6L5oRAoEKAJ9Xo/wFXpcWrt4v8PaXivh/mOspsACfcTTf > tTJdUeQVK0B+zlr0IZgKlLQ= > =sgoK > -END PGP SIGNATURE- > > > > ___ > Redhat-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/redhat-list > ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: up2date
Ok, if I try to just run up2date, without any options, it give me what I have included below. I am also running 7.2. Thanks, Jake No interactive mode available Please specify either -l, -u, --nox, or package names as command line arguments. Usage: up2date [OPTIONS] --configure graphically configure Update Agent options -d, --download download packages only, even if configuration says to install --dbpath= Specify a path where an alternate rpm db is found -f, --force Force package installation, overriding package and file skip list -i, --install install packages, even if configuration says to download only --justdbOnly add packages to database, do not install to the filesystem -l, --list list packages available for retrieval -h, --help this help screen -?, --usage Briefly describe the options -k, --packagedir=STRING colon separated path of directories to look in for packages --nosig do not use GPG to check package signatures --nox do not attempt to use X -p, --packages update packages associated with this System Profile on Red Hat Network --showall List all packages available for download --solvedeps= finds, downloads, and installs the packages needed to solve the list of deps --tmpdir= where to store temporary files / RPMs -u, --updateupdate system with all relevant packages --version show program version information -v, --verbose Show additional output --test Test only ?? --whatprovides= shows the packages which solve the comma separated list of deps On Fri, 25 Jan 2002, Nick Wilson wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > * and then Jake McHenry blurted > > Hi everyone, I've looked through all the emails on my machine from this list, >which spans back to around june of 2001, but havn't found an answer to my question. >I'm trying to update my machine with up2date. So far, I have tried running it .. >up2date -l -uup2date -l -i up2date -f -l -u up2date -f -l -i and each time, >it downloads the header files, shows me the files that can be upgraded, but doesn't >actually do it. How can I get up2date to actually install the updates? And the files >it downloads are just the headers, not the actual rpm files. Any answers? > > I can only speak from my own experience but whenever I run up2date I > don't use any command line arguments and it runs as it should. (although > saying that I've hit dependency troubles with my NVIDIA drivers now but > that's another Q.) > > I'm running 7.2 > > - -- > > Nick Wilson > > Tel: +45 3325 0688 > Fax: +45 3325 0677 > Web: www.explodingnet.com > > > > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.0.6 (GNU/Linux) > > iD8DBQE8UWPaHpvrrTa6L5oRAm0oAJ9GeweuX89ozOMWSYCB08UzpK4/7gCfXsKo > dqyX9rI1/0+Yq33QNnABSPA= > =hVRb > -END PGP SIGNATURE- > > > > ___ > Redhat-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/redhat-list > ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
up2date
Hi everyone, I've looked through all the emails on my machine from this list, which spans back to around june of 2001, but havn't found an answer to my question. I'm trying to update my machine with up2date. So far, I have tried running it .. up2date -l -u up2date -l -i up2date -f -l -u up2date -f -l -i and each time, it downloads the header files, shows me the files that can be upgraded, but doesn't actually do it. How can I get up2date to actually install the updates? And the files it downloads are just the headers, not the actual rpm files. Any answers? Thanks, Jake
Solved: Re: Apache and user cgi-bin's
Thanks for the info. It works now. Jake On Tue, 22 Jan 2002, Thierry ITTY wrote: > at the first glance if you specify : > > > ... > > it means you have a > UserDir public_html > > somewhere > > thus the "virtual" root directories for the users are > /home//public_html and the directory cgi-bin inside (ie > /home//public_html/cgi-bin) has the url http://server/~user/cgi-bin > and not http://server/~user/public_html/cgi-bin > > that's why > ScriptAlias /~jmchenry/public_html/cgi-bin/ > "/home/jmchenry/public_html/cgi-bin/" > is false, try instead > > ScriptAlias /~jmchenry/cgi-bin/ "/home/jmchenry/public_html/cgi-bin/" > > > hth > > > > A 08:24 22/01/02 -0500, vous avez écrit : > >Hello everyone. I had my server set up before to make it so specified > users can have their own cgi-bin. I can't seem to remember how I did it > before. And stupid me, I didn't write it down. Here's what I have so far... > > > > > > Options Indexes FollowSymLinks Includes MultiViews > > AllowOverride None > > Order allow,deny > > Allow from all > > > > > >ScriptAlias /~jmchenry/public_html/cgi-bin/ > "/home/jmchenry/public_html/cgi-bin/" > > > > > > Options ExecCGI > > AllowOverride Options > > Order allow,deny > > Allow from all > > > > > > > >All that I am getting when I try to run the script is the text of the > file, it's not running any scripts. > > > >Let me know what I'm doing wrong... > > > >Thanks, > >Jake > > > >Attachment Converted: "d:\app\net\eudora\attach\Apachean" > > > - * - * - * - * - * - * - > Bien sûr que je suis perfectionniste ! > Mais ne pourrais-je pas l'être mieux ? > Thierry ITTY > eMail : [EMAIL PROTECTED] FRANCE > > > > ___ > Redhat-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/redhat-list > ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Apache and user cgi-bin's
Hello everyone. I had my server set up before to make it so specified users can have their own cgi-bin. I can't seem to remember how I did it before. And stupid me, I didn't write it down. Here's what I have so far... Options Indexes FollowSymLinks Includes MultiViews AllowOverride None Order allow,deny Allow from all ScriptAlias /~jmchenry/public_html/cgi-bin/ "/home/jmchenry/public_html/cgi-bin/" Options ExecCGI AllowOverride Options Order allow,deny Allow from all All that I am getting when I try to run the script is the text of the file, it's not running any scripts. Let me know what I'm doing wrong... Thanks, Jake
Re: Sendmail HELP!!
This isn't going to open any security holes is it? Or anything else I should be aware of? Thanks, Jake - Original Message - From: "Devon" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, January 18, 2002 1:12 AM Subject: Re: Sendmail HELP!! > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Friday 18 January 2002 12:59 am, Jake McHenry wrote: > > Hello everyone. Please get back to me as soon as possible with this > > one. I just installed 7.2 on a new server here at work, and I can send > > mail out, but I am not receiving anything. In the mailq of the sending > > machine, I'm getting "Deferred: Connection refused by hostname". Please > > let me know what I have to do to fix this! > > > > Thanks again, > > Jake > > Default Red Hat sendmail install? If so, > In your sendmail.cf file, change: > DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA') > to > dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA') > To comment it out. Rebuild sencmail.cf with: > cp /etc/sendmail.cf /etc/sendmail.cf.save > m4 /etc/mail/sendmail.mc > /etc/sendmail.cf > service sendmail restart > > The release notes cover this, I believe. By default, sendmail only > listens on 127.0.0.1 > > Hope that helps, > > - -D > > - -- > > pgp key: http://www.tuxfan.homeip.net:8080/pgpkey.txt > > - -- > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.0.6 (GNU/Linux) > Comment: For info see http://www.gnupg.org > > iD8DBQE8R7zPeMAUbzJhSVcRAv4fAKC2ACQBaYZ6/m5SKMZNbI3gdHgINwCfYPK5 > uRKnvO8zwiRmVmhNnBGIFbo= > =g8sI > -END PGP SIGNATURE- > > > > ___ > Redhat-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/redhat-list > ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
SOLVED: Re: Sendmail HELP!!
Thanks! That worked. I did that before with 7.0, I think, I remember doing something like that before, just didn't think about it now. Jake - Original Message - From: gary To: [EMAIL PROTECTED] Sent: Friday, January 18, 2002 1:07 AM Subject: Re: Sendmail HELP!! Hi Jake, By default sendmail in RH7 only listen on the loopback device, you need to disable the following line in sendmail.mc DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA') then regenerate sendmail.cf and restart yrs sendmail, then it shd able to receive all email... hope this will help... rdgs, gary - Original Message - From: Jake McHenry To: [EMAIL PROTECTED] Sent: Friday, January 18, 2002 1:59 PM Subject: Sendmail HELP!! Hello everyone. Please get back to me as soon as possible with this one. I just installed 7.2 on a new server here at work, and I can send mail out, but I am not receiving anything. In the mailq of the sending machine, I'm getting "Deferred: Connection refused by hostname". Please let me know what I have to do to fix this! Thanks again, Jake
Sendmail HELP!!
Hello everyone. Please get back to me as soon as possible with this one. I just installed 7.2 on a new server here at work, and I can send mail out, but I am not receiving anything. In the mailq of the sending machine, I'm getting "Deferred: Connection refused by hostname". Please let me know what I have to do to fix this! Thanks again, Jake
CDROM Not Mounting
Hello everyone, I just got done installing RH7.2, from a CD, and now that the install is complete, I can't mount the cdrom drive. It just says .. mount: /dev/cdrom is not a valid block device there is a sym link in /dev pointing /dev/cdrom to /dev/hdc, which I also tried. Upon bootup, it says my cdrom is hdc. Can anyone help me get this thing mounted? Thanks, Jake
Re: MySQL
Ok, well, it's not my choice. My boss told me on Friday that he wan't to be using a MySQL database because it would be better. I don't ask questions. Right now, the perl scripts that I have wrote, write all the info to a plain text file. I know by using MySQL it would be more secure, but there are no reasons that I know of why it sould be more secure. I have our network locked down pretty tight, and the only people that have access to the actual text file is my boss and I. If it would be easier to just stick with what I know, perl, that would be great. When I compiled apache last time, I didn't include any perl options, so would I have to recompile it to add the DBI functions? answers to questions ... 1) the user enters data (general info, cc #, flight plans, etc.) and it writes it to a plain text file. 2) it's not using MySQL 3) Just so that it uses MySQL, all the data we currently have, and future data, needs to be converted into a MySQL database. Thanks, Jake - Original Message - From: "David Talkington" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, January 13, 2002 1:46 PM Subject: Re: MySQL > -----BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Jake McHenry wrote: > > >Hello everyone. I am kinda disturbed about what my boss wants me to > >do. I have spent the past 6 months creating a web-based database all > >with perl scripts. It works great! But he now want's me to convert > >it to MySQL. I have MySQL installed, up and running. I can connect > >to it from the local machine. > > > >The problem is, what do I do now? I've read articles on using MySQL > >and PHP together for web access, but I don't have PHP installed. How > >else can I access the database? Say maybe using perl? > > Ok, hold the fone, phriend. This is all very vague and makes no > sense to me. > > Please answer these questions, for your own benefit and for ours: > > 1. What goal does your application currently accomplish? > > 2. What goal does it not accomplish that your boss would like to > accomplish? > > 3. What exactly are you being asked to change to in order to satisfy > #2? > > So far in this thread, I haven't even been able to figure out what > you're trying to do, let alone why you think PHP will help you! > Maybe what you meant to say was "convert it to PHP", instead of > "convert it to MySQL"? If so, the answers to #1 and #2 above will > help us a lot, even if the response turns out to be "you don't need to > do that". Perl is perfectly capable of talking to MySQL. > > Peace, and good luck. > > - -d > > - -- > David Talkington > > PGP key: http://www.prairienet.org/~dtalk/0xCA4C11AD.pgp > - -- > http://setiathome.ssl.berkeley.edu/pale_blue_dot.html > > -BEGIN PGP SIGNATURE- > Version: PGP 6.5.8 > Comment: Made with pgp4pine 1.75-6 > > iQA/AwUBPEHV/L9BpdPKTBGtEQLldACfWXT9ER+IdGJprXCMqpMAU1heHjgAoKAi > di0iV2yAOv63MGDoveUEpV0b > =EJbo > -END PGP SIGNATURE- > > > > > ___ > Redhat-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/redhat-list > ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: MySQL
Thanks! Another question, what does MySQL-DBI-perl-bin do? Do I need this package? Thanks everyone, Jake - Original Message - From: "Jonathan Bartlett" <[EMAIL PROTECTED]> To: "RedHat List" <[EMAIL PROTECTED]> Cc: "Jack Bowling" <[EMAIL PROTECTED]> Sent: Sunday, January 13, 2002 12:06 PM Subject: Re: MySQL > > use DBI; > > my $dbh = DBI->connect("CONNECTSTRINGGOESHERE", "whateveryourusernameis", > "whateveryourpasswordis"); > > my ($x, $y, $z); > > my $sth = $dbh->prepare("Select X, Y, Z from whatever where something = > somethingelse") || die("error preparing statement"); > > $sth->execute || die("error executing statement"); > > while(($x, $y, $z) = $sth->fetchrow_array) > { > > } > > $dbh->do("insert into whatever (a, b, c) VALUES ('valuea', 'valueb', > 'valuec'); > > > > You can get more info by doing > > perldoc DBI > > You can find out what your connect string should be by reading MySQL's > driver docs (perldoc DBD::MySQL maybe, I forget). > > Anyway, the preceding code was from my head, and probably has errors. > Also, you can get DBI errror meessages from the variable $DBI::errstr I > believe. > > Jon > > On Sun, 13 Jan 2002, Jake McHenry wrote: > > > Ok, I'll look into using my existing scripts, only adding the MySQL to it. > > What will I need to change/add in the scripts to access the database? Will I > > need to add any other packages? Currently, this is what I have installed... > > > > perl-5.6.0-9 > > groff-perl-1.16-7 > > perl-DBI-1.18-1 > > > > MySQL-3.23.47-1 > > MySQL-devel-3.23.47-1 > > MySQL-client-3.23.47-1 > > MySQL-shared-3.23.47-1 > > > > > > Are there any docs on webpage scripting and MySQL? How do I access the > > database from the webpage? > > > > Thanks again, > > Jake > > > > > > - Original Message - > > From: "Jack Bowling" <[EMAIL PROTECTED]> > > To: "Jake McHenry" <[EMAIL PROTECTED]> > > Sent: Sunday, January 13, 2002 10:29 AM > > Subject: Re: MySQL > > > > > > > ** Reply to message from Jake McHenry <[EMAIL PROTECTED]> on > > Sun, 13 Jan 2002 08:32:43 -0500 > > > > > > Yes, keep the perl-DBI. It may come in handy. If you are asking which > > version of PHP to use, get the latest which is 4.0x, > > > > > > jb > > > > > > > > > > Should I keep the perl-DBI rpm that I installed for this? Will I need it > > for > > > > anything with PHP? Does anyone recommend any specific version? > > > > > > > > Thanks, > > > > Jake > > > > > > > > > > > > - Original Message - > > > > From: "Jack Bowling" <[EMAIL PROTECTED]> > > > > To: "Jake McHenry" <[EMAIL PROTECTED]> > > > > Sent: Saturday, January 12, 2002 9:43 PM > > > > Subject: Re: MySQL > > > > > > > > > > > > > ** Reply to message from Jake McHenry <[EMAIL PROTECTED]> on > > > > Sat, 12 Jan 2002 20:24:07 -0500 > > > > > > > > > > > > > > > > Hello everyone. I am kinda disturbed about what my boss wants me to > > do. > > > > I have spent the past 6 months creating a web-based database all with > > perl > > > > scripts. It works great! But he now want's me to convert it to MySQL. I > > have > > > > MySQL installed, up and running. I can connect to it from the local > > machine. > > > > > > > > > > > > The problem is, what do I do now? I've read articles on using MySQL > > and > > > > PHP together for web access, but I don't have PHP installed. How else > > can I > > > > access the database? Say maybe using perl? > > > > > > > > > > > > Also, something else, maybe this is supposed to happen, when I type > > in > > > > the address, then the port for MySQL, it gives me this .. > > > > > > > > > > > > > > > > > > LÿjHost 'winxp.ministang.com' is not allowed to connect to this > > MySQL > > > > server > > > > > > > > > > > > > > > > > > Is this supposed to happen? I think it is, because it doesn't have a > > web > > > > server built in, right? > > > > > > > > > > > > > > > > > > Any help would be greatly appreciated. > > > > > > > > > > > > Thanks in advance, > > > > > > Jake > > > > > > > > > > Jake - Although not exactly what you wanted, check out Jonathon > > > > Daugherty's Solomon MySQL Web Interface 2.0.5 at > > > > > > > > > > http://www.arches.uga.edu/~cygnusx5 > > > > > > > > > > It is GPL'ed so you should be able to mix and match if needed. Or at > > least > > > > see how Jon has done things. > > > > > > > > > > Jack > > > > > > > > > > > > > > > > > > > > > > > > > > ___ > > Redhat-list mailing list > > [EMAIL PROTECTED] > > https://listman.redhat.com/mailman/listinfo/redhat-list > > > > > > ___ > Redhat-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/redhat-list > > ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: MySQL
Ok, I'll look into using my existing scripts, only adding the MySQL to it. What will I need to change/add in the scripts to access the database? Will I need to add any other packages? Currently, this is what I have installed... perl-5.6.0-9 groff-perl-1.16-7 perl-DBI-1.18-1 MySQL-3.23.47-1 MySQL-devel-3.23.47-1 MySQL-client-3.23.47-1 MySQL-shared-3.23.47-1 Are there any docs on webpage scripting and MySQL? How do I access the database from the webpage? Thanks again, Jake - Original Message - From: "Jack Bowling" <[EMAIL PROTECTED]> To: "Jake McHenry" <[EMAIL PROTECTED]> Sent: Sunday, January 13, 2002 10:29 AM Subject: Re: MySQL > ** Reply to message from Jake McHenry <[EMAIL PROTECTED]> on Sun, 13 Jan 2002 08:32:43 -0500 > > Yes, keep the perl-DBI. It may come in handy. If you are asking which version of PHP to use, get the latest which is 4.0x, > > jb > > > > Should I keep the perl-DBI rpm that I installed for this? Will I need it for > > anything with PHP? Does anyone recommend any specific version? > > > > Thanks, > > Jake > > > > > > - Original Message - > > From: "Jack Bowling" <[EMAIL PROTECTED]> > > To: "Jake McHenry" <[EMAIL PROTECTED]> > > Sent: Saturday, January 12, 2002 9:43 PM > > Subject: Re: MySQL > > > > > > > ** Reply to message from Jake McHenry <[EMAIL PROTECTED]> on > > Sat, 12 Jan 2002 20:24:07 -0500 > > > > > > > > > > Hello everyone. I am kinda disturbed about what my boss wants me to do. > > I have spent the past 6 months creating a web-based database all with perl > > scripts. It works great! But he now want's me to convert it to MySQL. I have > > MySQL installed, up and running. I can connect to it from the local machine. > > > > > > > > The problem is, what do I do now? I've read articles on using MySQL and > > PHP together for web access, but I don't have PHP installed. How else can I > > access the database? Say maybe using perl? > > > > > > > > Also, something else, maybe this is supposed to happen, when I type in > > the address, then the port for MySQL, it gives me this .. > > > > > > > > > > > > LÿjHost 'winxp.ministang.com' is not allowed to connect to this MySQL > > server > > > > > > > > > > > > Is this supposed to happen? I think it is, because it doesn't have a web > > server built in, right? > > > > > > > > > > > > Any help would be greatly appreciated. > > > > > > > > Thanks in advance, > > > > Jake > > > > > > Jake - Although not exactly what you wanted, check out Jonathon > > Daugherty's Solomon MySQL Web Interface 2.0.5 at > > > > > > http://www.arches.uga.edu/~cygnusx5 > > > > > > It is GPL'ed so you should be able to mix and match if needed. Or at least > > see how Jon has done things. > > > > > > Jack > > > > > > > > ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: MySQL
Should I keep the perl-DBI rpm that I installed for this? Will I need it for anything with PHP? Does anyone recommend any specific version? Thanks, Jake - Original Message - From: "Jack Bowling" <[EMAIL PROTECTED]> To: "Jake McHenry" <[EMAIL PROTECTED]> Sent: Saturday, January 12, 2002 9:43 PM Subject: Re: MySQL > ** Reply to message from Jake McHenry <[EMAIL PROTECTED]> on Sat, 12 Jan 2002 20:24:07 -0500 > > > > Hello everyone. I am kinda disturbed about what my boss wants me to do. I have spent the past 6 months creating a web-based database all with perl scripts. It works great! But he now want's me to convert it to MySQL. I have MySQL installed, up and running. I can connect to it from the local machine. > > > > The problem is, what do I do now? I've read articles on using MySQL and PHP together for web access, but I don't have PHP installed. How else can I access the database? Say maybe using perl? > > > > Also, something else, maybe this is supposed to happen, when I type in the address, then the port for MySQL, it gives me this .. > > > > > > LÿjHost 'winxp.ministang.com' is not allowed to connect to this MySQL server > > > > > > Is this supposed to happen? I think it is, because it doesn't have a web server built in, right? > > > > > > Any help would be greatly appreciated. > > > > Thanks in advance, > > Jake > > Jake - Although not exactly what you wanted, check out Jonathon Daugherty's Solomon MySQL Web Interface 2.0.5 at > > http://www.arches.uga.edu/~cygnusx5 > > It is GPL'ed so you should be able to mix and match if needed. Or at least see how Jon has done things. > > Jack > > ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: MySQL
Ok, I have DBI-perl-bin installed, from a rpm, if that helps. And, yes, all connections are denied unless you specify the -u user and -p option. So that is good. If it would be easier to use PHP, what do I have to do to get that up and running? Difficult? I know that's going to take a little time to learn, but no biggie. Are there RPMS that I download for PHP, or do I have to recompile apache, again? :) Thanks for the help, Jake - Original Message - From: "Brian Ashe" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, January 12, 2002 8:54 PM Subject: Re: MySQL > Jake, > > On Saturday 12 January 2002 08:24, you babbled something about: > > Hello everyone. I am kinda disturbed about what my boss wants me to do. I > > have spent the past 6 months creating a web-based database all with perl > > scripts. It works great! But he now want's me to convert it to MySQL. I > > have MySQL installed, up and running. I can connect to it from the local > > machine. > > > > The problem is, what do I do now? I've read articles on using MySQL and PHP > > together for web access, but I don't have PHP installed. How else can I > > access the database? Say maybe using perl? > > Well, I think PHP would be better, but not after you have already done so > much work. ;) > > You should look into the DBI:DBD modules for Perl. They will get you > connected to just about any RDBMS you might need to. Quite easy to learn and > use. > > > Also, something else, maybe this is supposed to happen, when I type in the > > address, then the port for MySQL, it gives me this .. > > > > LÿjHost 'winxp.ministang.com' is not allowed to connect to this MySQL > > server > > > > Is this supposed to happen? I think it is, because it doesn't have a web > > server built in, right? > > Are you saying that you are putting this into your web browser? > Then, yeah, that wont work. > The webserver will pass it off to your CGI's then that will connect to the DB > backend. > MySQL was also rejecting you because it should be configured to reject > everything except localhost by default. This wont cause you problems though. > You don't really want anyone else connecting directly to your MySQL server > (except in certain circumstances, that are not likely what you are dealing > with). > > -- > Brian Ashe CTO > Dee-Web Software Services, LLC. [EMAIL PROTECTED] > > > > ___ > Redhat-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/redhat-list > > ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
MySQL
Hello everyone. I am kinda disturbed about what my boss wants me to do. I have spent the past 6 months creating a web-based database all with perl scripts. It works great! But he now want's me to convert it to MySQL. I have MySQL installed, up and running. I can connect to it from the local machine. The problem is, what do I do now? I've read articles on using MySQL and PHP together for web access, but I don't have PHP installed. How else can I access the database? Say maybe using perl? Also, something else, maybe this is supposed to happen, when I type in the address, then the port for MySQL, it gives me this .. LÿjHost 'winxp.ministang.com' is not allowed to connect to this MySQL server Is this supposed to happen? I think it is, because it doesn't have a web server built in, right? Any help would be greatly appreciated. Thanks in advance, Jake
Re: FTPd problems
No, I don't think it's a DNS problem. DNS is working fine. I can telnet into the machine fine. SSH works fine too. It's not a problem of connecting to the machine, it's a problem with wu-ftpd. I'm sure it's not in DNS. Thanks for the help, though. Jake On Tue, 24 Apr 2001, Mike A. Harris wrote: --On Tue, 24 Apr 2001, Jake McHenry wrote: -- -->I'm running 7.0, and have been having seme problems getting ftpd work work -->right. I'm using wu-ftpd 2.6.1(1). What's happening is when I, or anyone else -->tried to ftp into my machine, it takes about 2 minutes before the -->username/password prompt comes up. This is not just happening for the outside -->world, it is also happening on my internal network. If I sit on the machine and -->ftp localhost, it seem to work ok. Once the people are logged in, it's fast, -->like normal. It's just the initial login process that is taking a lot of time. -->Has anyone seen this before? I'm thinking it might just be a missing argument in -->xinetd for ftp or something, hopefully. Right now in /etc/xinetd.d/wu-ftpd the -->arguments are -l -a, which I believe are the defaults. -- --DNS misconfiguration. -- --Mike A. Harris Shipping/mailing address: --OS Systems Engineer 190 Pittsburgh Ave., Sault Ste. Marie, --Red Hat Inc.Ontario, Canada, P6C 5B3 --http://www.redhat.com Phone: (705)949-2136 -- -- -- -- --___ --Redhat-list mailing list [EMAIL PROTECTED] --https://listman.redhat.com/mailman/listinfo/redhat-list -- Jake McHenry [EMAIL PROTECTED] ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
FTPd problems
I'm running 7.0, and have been having seme problems getting ftpd work work right. I'm using wu-ftpd 2.6.1(1). What's happening is when I, or anyone else tried to ftp into my machine, it takes about 2 minutes before the username/password prompt comes up. This is not just happening for the outside world, it is also happening on my internal network. If I sit on the machine and ftp localhost, it seem to work ok. Once the people are logged in, it's fast, like normal. It's just the initial login process that is taking a lot of time. Has anyone seen this before? I'm thinking it might just be a missing argument in xinetd for ftp or something, hopefully. Right now in /etc/xinetd.d/wu-ftpd the arguments are -l -a, which I believe are the defaults. Thanks in advance, Jake ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: Sendmail Question
Here is the output of that... [root@guinness /etc]# /usr/sbin/sendmail -bp -d0.11 Version 8.11.0 Compiled with: LDAPMAP MAP_REGEX LOG MATCHGECOS MIME7TO8 MIME8TO7 NAMED_BIND NETINET NETUNIX NEWDB NIS QUEUE SASL SCANF SMTP USERDB OS Defines: HASFCHOWN HASFLOCK HASGETDTABLESIZE HASINITGROUPS HASLSTAT HASRANDOM HASSETREUID HASSETRLIMIT HASSETSID HASSETVBUF HASSNPRINTF HASURANDOMDEV HASUNAME HASUNSETENV HASWAITPID IDENTPROTO USE_SIGLONGJMP Def Conf file: /etc/sendmail.cf Def Pid file: /var/run/sendmail.pid canonical name: guinness.ministang.com a.k.a.: guinness UUCP nodename: guinness.ministang.com a.k.a.: [24.104.61.123] SYSTEM IDENTITY (after readcf) (short domain name) $w = guinness (canonical domain name) $j = guinness.ministang.com (subdomain name) $m = ministang.com (node name) $k = guinness.ministang.com /var/spool/mqueue is empty Does anything look wrong? I have my info in the local-host-names file, what should I be checking for in sendmail.cw? Thanks, Jake On Sat, 21 Apr 2001, Tym Rehm wrote: --Check sendmail.cw or local-host-names file for your domain name. Try --running /usr/sbin/sendmail -bp -d0.11 It will tell some good information. --Hope this helps. -- --At 11:35 AM 4/21/01 -0400, you wrote: -- -->I've been trying to set up the virtusertable file, but haven't been having -->much -->success. I put the entries into the file, then run makemap hash -->/etc/mail/virtusertable < /etc/mail/virtusertable --> -->like I'm supposed to, right? Then I restart sendmail, and telnet localhost 25 --> -->helo localhost --> -->expn accounts@localhost --> -->unknown user --> -->Am I doing something wrong that I'm missing? --> -->I'm using the stock build from the 7.0 install, I think it's 8.11 --> -->thanks, --> -->Jake --> --> --> -->___ -->Redhat-list mailing list -->[EMAIL PROTECTED] -->https://listman.redhat.com/mailman/listinfo/redhat-list -- -- -- --___ --Redhat-list mailing list [EMAIL PROTECTED] --https://listman.redhat.com/mailman/listinfo/redhat-list -- Jake McHenry [EMAIL PROTECTED] ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Sendmail Question
I've been trying to set up the virtusertable file, but haven't been having much success. I put the entries into the file, then run makemap hash /etc/mail/virtusertable < /etc/mail/virtusertable like I'm supposed to, right? Then I restart sendmail, and telnet localhost 25 helo localhost expn accounts@localhost unknown user Am I doing something wrong that I'm missing? I'm using the stock build from the 7.0 install, I think it's 8.11 thanks, Jake ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: slocate question
The file in in cron.daily in slocate.cron here is what's in the file... #!/bin/sh /usr/bin/updatedb -f "nfs,smbfs,ncpfs,proc,devpts" -e "/tmp,/var/tmp,/usr/tmp,/afs,/net" I don't use nfs, or samba, should those be in there if I'm not using those? Jake On Sat, 21 Apr 2001, Matthew Melvin wrote: --On Sat, 21 Apr 2001 at 9:36am (-0400), Jake McHenry wrote: -- --> --> what is it? --> --> I got an error last night that locked up my machine, said that it could --> not run /usr/bin/updatedb and gave me a bunch of error info. Does anyone --> know if I can turn this service off so that I don't get this again? --> -- --Perhaps you could tell us more the 'bunch of errors'? If it locked up your --machine I'd be inclined to think that not being able to run updatedb was --another symptom and not the cause. -- --M. -- --WebCentral Pty Ltd Australia's #1 Internet Web Hosting Company --Level 1, 96 Lytton Road. Network Operations - Systems Engineer --PO Box 4169, East Brisbane. phone: +61 7 3249 2557 --Queensland, Australia.pgp key id: 0x900E515F -- -- -- --___ --Redhat-list mailing list [EMAIL PROTECTED] --https://listman.redhat.com/mailman/listinfo/redhat-list -- Jake McHenry [EMAIL PROTECTED] ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: slocate question
I didn't write all of them down, it was a screen full, looked like memory addresses. It just said that it couldn't run /usr/sbin/updatedb. This is the first time that this has ever happened. The box was up for 132 days, then this happened. I've had the box up longer than that before without problems. I haven't changed anything in the past month. On Sat, 21 Apr 2001, Matthew Melvin wrote: --On Sat, 21 Apr 2001 at 9:36am (-0400), Jake McHenry wrote: -- --> --> what is it? --> --> I got an error last night that locked up my machine, said that it could --> not run /usr/bin/updatedb and gave me a bunch of error info. Does anyone --> know if I can turn this service off so that I don't get this again? --> -- --Perhaps you could tell us more the 'bunch of errors'? If it locked up your --machine I'd be inclined to think that not being able to run updatedb was --another symptom and not the cause. -- --M. -- --WebCentral Pty Ltd Australia's #1 Internet Web Hosting Company --Level 1, 96 Lytton Road. Network Operations - Systems Engineer --PO Box 4169, East Brisbane. phone: +61 7 3249 2557 --Queensland, Australia.pgp key id: 0x900E515F -- -- -- --___ --Redhat-list mailing list [EMAIL PROTECTED] --https://listman.redhat.com/mailman/listinfo/redhat-list -- Jake McHenry [EMAIL PROTECTED] ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
slocate question
what is it? I got an error last night that locked up my machine, said that it could not run /usr/bin/updatedb and gave me a bunch of error info. Does anyone know if I can turn this service off so that I don't get this again? Thanks, Jake ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
FTPing over SSH2
Is there anything I have to put into /etc/securetty so I can ftp into my machine as root? I can telnet in fine, but not FTP. TIA, Jake ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
C++ problem ... More
Ok, the command works, but now I'm getting errors out the ying yang. Where can I get more libraries? Are there any on the cd that don't get installed? Here's the ones that I'm in need of... conio.h cstring.h Thanks, Jake ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
C++ problem
Is there a c++ compiler in 6.2, and if there is, how do I get it to run? I have RH7 at home, but I haven't tried to upgrade yet. Is there one in 7? Also, what does the file extension have to be so the compiler knows it's c++. I know with C, it is just file.c, is c++ file.cpp? That is what I have been trying with. Here is what I have tried so far... cpp file.cpp cpp -lang-c++ file.cpp gcc file.cpp cc file.cpp I know that gcc and cc doesn't like c++, but I'd thought I'd try it anyway. When I run the cpp file.cpp or the second one, it displays what is in the file, but doesn't compile anything, or atleast doesn't give me an output file. TIA, Jake ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re:BACKGROUND PROCESS
for the program to keep running even after you log off, you need nohup before the command. If you just use the &, it will put it in the background, but when you log off, it will kill the process. On Mon, 22 Jan 2001, Vineeta wrote: --"sold silva.lt" wrote: -- How can i run a program from telnet and when i logoff it keeps --running?? -- --run it with a trailing "&". --Eg. netscape & -- -- How can i see if the program is still runing? -- --ps -eaf|grep "program name" -- -- How can i see what is the program is doing at any time from telnel or --local? -- --ps again shows whether it's running or not. -- --Cheers, --Vineeta -- -- -- --___ --Redhat-list mailing list [EMAIL PROTECTED] --https://listman.redhat.com/mailman/listinfo/redhat-list -- Jake McHenry [EMAIL PROTECTED] ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
RE: Linuxconf
That works for the drop down menus, but how about scrolling to see the whole description of something? Jake On Sat, 11 Nov 2000, Tomer Okavi wrote: --CTRL+X -- --> -Original Message- --> From: [EMAIL PROTECTED] --> [mailto:[EMAIL PROTECTED]]On Behalf Of Jake McHenry --> Sent: Saturday, November 11, 2000 4:40 PM --> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; --> [EMAIL PROTECTED]; [EMAIL PROTECTED] --> Subject: Linuxconf --> --> --> --> I did this before, but I can't remember how to do it anymore. --> When you see a --> down arrow, how do you see what else is available? And also, in --> the Service --> Control panel, how do you scroll the text to see the full --> description of the --> service? --> --> Thanks, --> Jake --> --> --> --> ___ --> Redhat-list mailing list --> [EMAIL PROTECTED] --> https://listman.redhat.com/mailman/listinfo/redhat-list --> -- -- -- --___ --Redhat-list mailing list [EMAIL PROTECTED] --https://listman.redhat.com/mailman/listinfo/redhat-list -- Jake McHenry [EMAIL PROTECTED] ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Linuxconf
I did this before, but I can't remember how to do it anymore. When you see a down arrow, how do you see what else is available? And also, in the Service Control panel, how do you scroll the text to see the full description of the service? Thanks, Jake ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Problem : was What exactly does this mean?
Could the problem I'm seeing be a harddrive that went bad? The bios counts all the new memory. Now when I go in, it says Kernel Panic. Cannot mount root partition. How can I test this? Thanks, Jake ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
What exactly does this mean???
I just installed some more memory, and now this is happening when I boot, even when I try to boot to single user mode. INIT: PANIC: segmentation violation at 0x2ec54! sleeping for 30 seconds. It is in a loop of this, and won't stop! I let it sit for 2 hours and it was still doing the same thing. I didn't touch anything. I shut it down with shutdown -F -h now no big deal. Put in the new memory, powered back on. Bios finds all the memory, I didn't see if in the boot process it saw it or not, but then this started happening. What do I do? Thanks, Jake McHenry ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: Backdoor Root
You DID set the password for the account, right? It works with my machine. Try setting the password again. Look in /etc/shadow to see if there is an encrypted string behind your new super-user. Jake On Fri, 29 Sep 2000, SoloCDM wrote: --Prior to my server update, when I made a backdoor root access, I would --place a username at the end of the line for root after a comma in --/etc/group, then I made a user in /etc/passwd with 0 uid, 0 gid, and --/root as the account. No matter where I was or what I did, I could --act as root with all the same privileges. Now it won't work with --Mandrake 7.0. -- --The error for a user account is: -- -- su: incorrect password -- --when I use su - [super-user] or su [super-user]. Although, it does --work when I'm logged in as root and I invoke su - [super-user]. It --also shows the [super-user] name in the prompt. -- --Note: When you reply to this message, please include -- the mailing list and my email address. -- --* --Signed, --SoloCDM it's the redhat-list I don't know your email. --Redhat-list mailing list [EMAIL PROTECTED] --https://listman.redhat.com/mailman/listinfo/redhat-list -- Jake McHenry [EMAIL PROTECTED] ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
What does this mean????
I was planning on updating my version of rpm, but this happened. What should I do? Jake [root@mchenry updates]# rpm --install --test rpm-3.0.5-9.6x.i386.rpm file /bin/rpm from install of rpm-3.0.5-9.6x conflicts with file from package rpm-3.0.4-0.48 file /usr/bin/rpm2cpio from install of rpm-3.0.5-9.6x conflicts with file from package rpm-3.0.4-0.48 file /usr/lib/librpm.so.0.0.0 from install of rpm-3.0.5-9.6x conflicts with file from package rpm-3.0.4-0.48 file /usr/lib/librpmbuild.so.0.0.0 from install of rpm-3.0.5-9.6x conflicts with file from package rpm-3.0.4-0.48 file /usr/lib/rpm/brp-compress from install of rpm-3.0.5-9.6x conflicts with file from package rpm-3.0.4-0.48 file /usr/lib/rpm/brp-strip from install of rpm-3.0.5-9.6x conflicts with file from package rpm-3.0.4-0.48 file /usr/lib/rpm/brp-strip-comment-note from install of rpm-3.0.5-9.6x conflicts with file from package rpm-3.0.4-0.48 file /usr/lib/rpm/find-requires from install of rpm-3.0.5-9.6x conflicts with file from package rpm-3.0.4-0.48 file /usr/lib/rpm/macros from install of rpm-3.0.5-9.6x conflicts with file from package rpm-3.0.4-0.48 file /usr/lib/rpm/rpmpopt from install of rpm-3.0.5-9.6x conflicts with file from package rpm-3.0.4-0.48 file /usr/lib/rpm/rpmrc from install of rpm-3.0.5-9.6x conflicts with file from package rpm-3.0.4-0.48 file /usr/lib/rpm/vpkg-provides.sh from install of rpm-3.0.5-9.6x conflicts with file from package rpm-3.0.4-0.48 file /usr/lib/rpm/vpkg-provides2.sh from install of rpm-3.0.5-9.6x conflicts with file from package rpm-3.0.4-0.48 file /usr/man/man1/gendiff.1.gz from install of rpm-3.0.5-9.6x conflicts with file from package rpm-3.0.4-0.48 file /usr/man/man8/rpm.8.gz from install of rpm-3.0.5-9.6x conflicts with file from package rpm-3.0.4-0.48 file /usr/man/man8/rpm2cpio.8.gz from install of rpm-3.0.5-9.6x conflicts with file from package rpm-3.0.4-0.48 file /usr/share/locale/cs/LC_MESSAGES/rpm.mo from install of rpm-3.0.5-9.6x conflicts with file from package rpm-3.0.4-0.48 file /usr/share/locale/de/LC_MESSAGES/rpm.mo from install of rpm-3.0.5-9.6x conflicts with file from package rpm-3.0.4-0.48 file /usr/share/locale/fi/LC_MESSAGES/rpm.mo from install of rpm-3.0.5-9.6x conflicts with file from package rpm-3.0.4-0.48 file /usr/share/locale/fr/LC_MESSAGES/rpm.mo from install of rpm-3.0.5-9.6x conflicts with file from package rpm-3.0.4-0.48 file /usr/share/locale/ja/LC_MESSAGES/rpm.mo from install of rpm-3.0.5-9.6x conflicts with file from package rpm-3.0.4-0.48 file /usr/share/locale/pl/LC_MESSAGES/rpm.mo from install of rpm-3.0.5-9.6x conflicts with file from package rpm-3.0.4-0.48 file /usr/share/locale/pt_BR/LC_MESSAGES/rpm.mo from install of rpm-3.0.5-9.6x conflicts with file from package rpm-3.0.4-0.48 file /usr/share/locale/ru/LC_MESSAGES/rpm.mo from install of rpm-3.0.5-9.6x conflicts with file from package rpm-3.0.4-0.48 file /usr/share/locale/sk/LC_MESSAGES/rpm.mo from install of rpm-3.0.5-9.6x conflicts with file from package rpm-3.0.4-0.48 file /usr/share/locale/sl/LC_MESSAGES/rpm.mo from install of rpm-3.0.5-9.6x conflicts with file from package rpm-3.0.4-0.48 file /usr/share/locale/sr/LC_MESSAGES/rpm.mo from install of rpm-3.0.5-9.6x conflicts with file from package rpm-3.0.4-0.48 file /usr/share/locale/sv/LC_MESSAGES/rpm.mo from install of rpm-3.0.5-9.6x conflicts with file from package rpm-3.0.4-0.48 file /usr/share/locale/tr/LC_MESSAGES/rpm.mo from install of rpm-3.0.5-9.6x conflicts with file from package rpm-3.0.4-0.48 ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Backspace
Does anyone know how to disable those ^H 's from showing when I hit the backspace key? It is very annoying. If I make an error logging in, I have to retype my username, instead of just backspacing to fix it. Also, it doesn't show up on my other machines, just my new one, with 6.2. Those ^H also show up when I make a mistake in mail. I have to ^C to get out and start over. Thanks, Jake ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Apache problem
I have been configuring my new box and have been having some problems. Where are the files that are called when linux boots? I know about the rc.d directory and how that works, but I've looked all over for where the line "/etc/httpd" is in the init files. I am moving all web stuff into /home/web and when I do this, Linux still looks for the files in /etc/httpd. I have to be missing something somewhere, but WHAT? Thanks, Jake ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Token Ring ISA Card
What's the going rate for a genuine IBM Auto-negotiation 16/4 meg Token Ring ISA card? I got it in my new computer and my network is ethernet, not Token Ring. I am thinking of putting it up on ebay. My co-worker said when he worked for the local university, they were paying about $250 for one of these. Anyone know what they are now? Thanks, Jake ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
6.2 FTP Install Directions
Setup a ftp server either on the windows box or on another linux box and point it to the cdrom drive. I've found that it HAS to be an anonymous user with no password, other wise it just says it can't find the files. Then you make a boot disk from bootnet.img from the cd. Then boot the upcoming computer with the bootdisk you just made. Do a text install, I tried a GUI install and it just took me to text install anyway. Follow directions. It should automatically detect your NIC, it did mine anyway. Just type in IP of ftp server and when it asks you for directory, if your ftp'ed into the root directory of the cd, then put . as the directory. If I didn't explain good enough, let me know, I did this 3 times yesterday, I thought it kept locking up, but it is just slow. Took 2 hours to do the install. I have a 100 meg network between the two machines I was doing this with. The problem was that the upcoming computer is kinda slow (16 megs of ram, 2 500 meg harddrives, P75) The files were downloaded in an instant, but it took forever for them to unpack and install. Jake ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Installing 6.2 via ftp [SOLVED]
This was a brainfart on my part. I just tryed what I thought would work and it does. Made the bootdisk. Started my ftp client on win98 box, set up anonymous user because I didn't get a prompt for username or password, and ran install. Worked great. Sorry for the post, I just wasn't thinking. Thanks, Jake ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Installing 6.2 via ftp
I just got my new linux box and am eager to get things rolling. I was following the list the past few days about installing without a cdrom drive. I have the same problem. I've worked with linux for about 3 years now, and this is the first time I'm installing other than with the actual cd. I saw in the list that I can put in the cd and ftp from the installing machine. I have my ftp client up and running and pointing at my cdrom drive, *note the machine with cd is win98*, and can ftp in and see cd. Now my question is, something else I've never done is boot from floppy, do I just boot from floppy and ftp to the win box? If that's it, how do I start the install program? Sorry if this is an easy one. And please get back to me soon, I want to get this thing running!. Thanks, Jake ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: What architecture is an AMD k6?
Um, no it's not. If it was, you couldn't run windows or linux on it. Windows and linux only run on the SIS architecture. You are either running IBM AIX or MAC OS on a RISC processor. Linux is for Intel based chipsets, ie.. SIS, not RISC. - Original Message - From: "Rex" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, September 05, 2000 10:55 AM Subject: Re: What architecture is an AMD k6? | AMD K6 is RISC archetcture. | | | - Original Message - | From: "John Aldrich" <[EMAIL PROTECTED]> | To: <[EMAIL PROTECTED]> | Sent: Tuesday, September 05, 2000 7:28 AM | Subject: What architecture is an AMD k6? | | | > I tried to install an i686 RPM and RPM came back and said it was for | > a different architecture. Can I not use i686 RPMs here??? I *thought* | > I could Guess not... | > John | > | > | > | > ___ | > Redhat-list mailing list | > [EMAIL PROTECTED] | > https://listman.redhat.com/mailman/listinfo/redhat-list | | | | ___ | Redhat-list mailing list | [EMAIL PROTECTED] | https://listman.redhat.com/mailman/listinfo/redhat-list | ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: umm???
I got those messages too, so it's not you!:-) I got two (the same thing from same guy) from 1997, and the rest were from the beginning of August. Someone made an OOPS! On Fri, 1 Sep 2000, Eric Clover wrote: --was it just me or is my puter freaking out?? --i just got some emails from 1997 and some more from 8/11/2000 up to --today --what is the deal??? --eric -- -- -- --___ --Redhat-list mailing list [EMAIL PROTECTED] --https://listman.redhat.com/mailman/listinfo/redhat-list -- Jake McHenry [EMAIL PROTECTED] ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
web-based passwd change - MY SOLUTION!!!!
Ok, here ya go guys. This is what I put together for my users at work. Hope it helps you in what you were trying to do. the perl script goes in your htdocs/cgi-bin directory. The index.html page you can change to your liking, it just uses a form and POSTs it to the perl script. Like I said before, it's quit simple. Hope it helps you in what ever you were trying to accomplish. Jake McHenry [EMAIL PROTECTED] #!/usr/local/bin/perl -- -*-perl-*- $SIG{'INT'} = 'handler'; $SIG{'QUIT'} = 'handler'; $SIG{'KILL'} = 'handler'; $LOCALTIME = localtime; select(LOG); $|=1; select(STDOUT); $|=1; open(STDERR, ">&STDOUT"); $CType = "content-type: text/html\n\n"; print "content-type: text/html\n\n"; # $POPPWDLOG = "/home/admin/poppassd/webpass.log"; $POPPWDLOG = "/home/web/webpass/webpass.log"; open(LOG,">>$POPPWDLOG") || die ("Cannot open logging file.Contact the system administrator."); flock(LOG,8) || die ("Can't establish file lock.Please try again later. If the problem persists, contact the system administrator."); # get the input read(STDIN, $buffer, $ENV{'CONTENT_LENGTH'}); # get the ip address $REMOTEIP = $ENV{'REMOTE_ADDR'}; # Split the name-value pairs @pairs = split(/&/, $buffer); foreach $pair (@pairs) { ($name, $value) = split(/=/, $pair); # Un-Webify plus signs and %-encoding $value =~ tr/+/ /; $value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg; # added next two lines to security (i think) ... no metacharacters? # i borrowed these lines from other perl scripts that do security # server side includes $value =~ s///g; # stop people from using subshells to execute commands $value =~ s/~!/ ~!/g; $FORM{$name} = $value; } # Print a title and initial heading print STDOUT "\n\n"; print STDOUT "Information Systems/Network Services\n\n"; $PWDHOST = $FORM{'pwdhost'}; $PWDUSERID = $FORM{'pwduserid'}; $PWDOLDPWD = $FORM{'pwdoldpwd'}; $PWDNEWPWD = $FORM{'pwdnewpwd'}; $PWDVERIFY = $FORM{'pwdverify'}; # If the comments are blank, then give a "blank form" response if (! $PWDUSERID) { print LOG "$LOCALTIME - error: no username supplied from $REMOTEIP to server $PWDHOST\n"; print "\n"; print "PASSWORD NOT CHANGED\nBlank Username Field\n"; print "You must specify a USERNAME to attempt a password change.\n"; print "Use your browser's BACK button to return to the Password Changing page to try again.\n"; close(LOG); exit(1); } if (! $PWDNEWPWD) { print LOG "$LOCALTIME - error: no new password given for $PWDUSERID from $REMOTEIP to server $PWDHOST\n"; print "\n"; print "PASSWORD NOT CHANGED\nBlank New Password Field\n"; print "You must specify a NEW PASSWORD to attempt a password change.\n"; print "Use your browser's BACK button to return to the Password Changing page to try again.\n"; print "\n"; close(LOG); exit(2); } if( $PWDNEWPWD ne $PWDVERIFY ) { print LOG "$LOCALTIME - error: new password verify failed for $PWDUSERID from $REMOTEIP to server $PWDHOST\n"; print "\n"; print "PASSWORD NOT CHANGED"; print "You did not type the same new password in both\n"; print "NEW PASSWORD fields as is required!"; print "Use your browser's BACK button to return to the Password Changing page to try again.\n"; print "\n"; close(LOG); exit(3); } $AF_INET = 2; $SOCK_STREAM = 1; $ACCTYPE = $FORM{'acctype'}; $PORT = 106; $SOCKADDR = 'S n a4 x8'; chop($HOSTNAME = `hostname`); ($name,$aliases,$proto) = getprotobyname('tcp'); ($name,$aliases,$type,$len,$thisaddr) = gethostbyname($HOSTNAME); ($name,$aliases,$type,$len,$thataddr) = gethostbyname($PWDHOST); $THIS = pack($SOCKADDR, $AF_INET, 0, $thisaddr); $THAT = pack($SOCKADDR, $AF_INET, $PORT, $thataddr); if(!socket(S,$AF_INET,$SOCK_STREAM,$proto)) { print LOG "$LOCALTIME - error: cannot get socket filehandle for $PWDUSERID from $REMOTEIP to server $PWDHOST\n"; die ("Could not get socket filehandle!Please try again later. If the problem persists, contact the system administartor."); exit(4); } if(!bind(S,$THIS)) { print LOG "$LOCALTIME - error: cannot give socket an address for $PWDUSERID from $REMOTEIP to server $PWDHOST\n"; die ("Could not give socket an address!Please try again later. If the problem persists, contact the system a
Message
I just sent a message to the list, but I didn't get a copy of it back, like I normally do. I have been getting mail from the list, but I didn't get the message back I sent. Just wondering if everything is working fine, and if anyone else is experiencing this right now. The message I sent was about the web based password changing, so if you see it floating around, let me know. Thanks, Jake McHenry [EMAIL PROTECTED] ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: web-based passwd change
At work we have a cgi script that does the password change. I'll have to dig it up when I get there and post it here for you guys. It is quite simple, but off the top of my head, I can't remember what was in the script. Jake McHenry [EMAIL PROTECTED] ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: Hotmail Style Software
Yes, cwmail. You can set it up anyway you like. It works great! On Thu, 24 Aug 2000, Scott Skrogstad wrote: --I am running 6.1 with about 3,000 users. Most of my users are local and --retrieve their mail via pop3. But there has been a growing number of --users who travel or who would like access to their mail via their browser. --Anyone using this type of software? -- --Scott Skrogstad --Computer Integration Inc, [EMAIL PROTECTED] --800-522-3475 Phone -- -- -- --___ --Redhat-list mailing list [EMAIL PROTECTED] --https://listman.redhat.com/mailman/listinfo/redhat-list -- Jake McHenry [EMAIL PROTECTED] ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: https server and web mail interface
I have been working on cwmail for about two weeks now, it looks great so far, kind of long setup, but it will look great in the end. Has a hotmail like appearance as default, but you can customize it. jake On Fri, 18 Aug 2000, Charles Galpin wrote: --Another possible solution is stunnel. You can so secure pop/imap --connections through it and keep using yiour existing setup (other than --disabling external access to pop/imap). The client programs have to --support it of course. I know outlook express 5 does. -- --hth --charles -- --On Wed, 16 Aug 2000, Dan Horth wrote: -- --> Hi - I'd like to set up a web mail interface for our mail server for --> remote users to check and send mail. I'm looking into this as a way --> of increasing the security of our server - by stopping off-site users --> from using POP to check their mail. I'm intending on blocking POP --> connections from off-site once webmail is implemented... --> --> a) I can set up https on our apache server with available info at --> http://www.apacheweek.com/ but I don't know where to start in setting --> up a web mail interface - can you suggest one that works well with a --> redhat 6.2 server? --> --> b) so long as I force all web mail transactions to be through the --> secure server then this will provide a better level of security than --> POP with cleartext passwords - specially when our users are using --> systems such as hotmail or yahoo mail to fetch their pop mail - or am --> I being deluded here? --> --> c) is there a better way of approaching this security issue? --> --> any pointers, how-tos, urls or horror stories would be greatly appreciated! -- -- -- --___ --Redhat-list mailing list [EMAIL PROTECTED] --https://listman.redhat.com/mailman/listinfo/redhat-list -- Jake McHenry [EMAIL PROTECTED] ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
/dev/null question
I was just rewriting my login script, and started exploring, and found something that I didn't recognize. I've looked in the man pages of chmod for what I'm looking for, but didn't find it. Anyway, here is it. -rw-r--r-- 1 root system 0 Apr 13 13:55 /dev/nul crw-rw-rw- 1 root system 2, 2 Aug 09 22:04 /dev/null crw-rw-rw- 1 root system13, 27 Dec 11 1999 /dev/nuls crw-rT 1 root system 3, 0 Dec 11 1999 /dev/nvram ^ | | | What is that c for? What does it do? Does it keep anything from being written to these files? Thanks, Jake ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
6.2 install
I'm working on setting up my linux box the right way, and have a question. There are supposed to be different architectures of the install, right? ex. 386,586,686, etc.. Everytime I install RHL it automatically goes to 386, I think. How do I make it 686, or other than default? Thanks, Jake McHenry [EMAIL PROTECTED] ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: SSH
So BSDSSH is SSH2? I've been looking for a new copy of SSH2. jake On Sun, 6 Aug 2000 [EMAIL PROTECTED] wrote: -- --I initially used SSH 1, then found BSDSSH, a V2 version that is free. -- -- -- -- -- --RTS <[EMAIL PROTECTED]>@redhat.com on 08/06/2000 12:15:08 AM -- --Please respond to [EMAIL PROTECTED] -- --Sent by: [EMAIL PROTECTED] -- -- --To: [EMAIL PROTECTED] --cc: [EMAIL PROTECTED] --Subject: SSH -- --I just set up a new RedHat 6.2 system. -- --What is everyone using today for SSH services on a system?? -- --Randy [EMAIL PROTECTED] -- -- -- --___ --Redhat-list mailing list [EMAIL PROTECTED] --https://listman.redhat.com/mailman/listinfo/redhat-list -- -- -- -- -- -- --___ --Redhat-list mailing list [EMAIL PROTECTED] --https://listman.redhat.com/mailman/listinfo/redhat-list -- Jake McHenry [EMAIL PROTECTED] ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Sendmail 8.11
I have been setting up my new linux machine, and have been trying to install the new version of Sendmail, 8.11, but have been having trouble under RH6.2. I had it working under 6.1. Does 6.2 come with md5? If it does, that's great. If not, where can I download it again? I can't remember where I got it before. I did a search on RedHat's site, but I don't think I found what I needed. Thanks, Jake McHenry [EMAIL PROTECTED] ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: Security Risks?
On 6 Aug 2000, Robert Soros wrote: --then change the permissions and chmod /var/log/secure to something like -- -- -- chmod 664 /var/log/secure -- chown root:ADMINS /var/log/secure -- ls /var/log/secure -al -- -- -rw-rw 1 root ADMINS 811 Aug 2 04:13 -- /var/log/secure -- -- --anybody outside of the the ADMINS group (or root) should not be able to --read/write this file -- --chmod can also be used with letters if you wish, instead of numerically --(ie. -- -- chmod o+rw,g+rw,u-rwx /var/log/secure The last line should be "chmod o-rwx,g+rw,u+rw" if you want to get what you said above. Jake ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: Umm - What's up with unsubscribing?
Someone automatically set the password for everyone. If you go to the link at the bottom of every list message, you will find a place to send you your current password, and then a place to change it. On Sat, 5 Aug 2000, Michael J. McGillick wrote: --Afternoon: -- --I sent an email to: -- -- [EMAIL PROTECTED] -- --With unsubscribe in the body of the message. I keep getting back a --message saying that I have to enter a password in order to unsubscribe. I --never set a password on this list. What's up with that? -- --- Mike -- -- -- --___ --Redhat-list mailing list [EMAIL PROTECTED] --https://listman.redhat.com/mailman/listinfo/redhat-list -- Jake McHenry [EMAIL PROTECTED] ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: sendmail error: cannot open /etc/sendmail.cw: Permission denied
Make sure that the file is there. When I upgraded to the new sendmail, it did not create two files, I can't remember exactly what they were. I've included the one off my machine, although depending on what version he is running, I don't know if it will work or not. I am running 8.11 . Good luck. On Fri, 4 Aug 2000, Nitebirdz wrote: -- --Need some help over here. A Red Hat user from Bolivia recently sent a --message to the list in Spanish because perhaps he didn't feel confident --enough to type the message in English. I tried helping him in Spanish, --but my suggestions did not seem to help. I'll try to explain his problem --here and somehow translate back and forth if necessary. -- --Basically, Nelson is running Red Hat 4.1, and in the last few days has --been unable to make his sendmail work. Whenever he starts the daemon he --gets the following error message: -- --Starting sendmail: sendmail 451 /etc/sendmail.cf: line --41: fileclass: cannot open /etc/sendmail.cw: Permission denied -- --When I asked him to paste some information from his /var/log/messages, --this is what he got: -- --Aug 4 13:34:04 urano inetd[5603]: execv /usr/bin/smtpd: No such file or --directory -- --Finally, I should also clarify that it doesn't appear to be a permissions --issue. Any ideas? He needs help as soon as possible. Again, I will --translate into Spanish if necessary... Any help will be appreciated. --Thanks in advance. -- -- --Nitebirdz --http://www.linuxnovice.org --Tips, articles, news, links... -- -- -- -- --___ --Redhat-list mailing list [EMAIL PROTECTED] --https://listman.redhat.com/mailman/listinfo/redhat-list -- Jake McHenry [EMAIL PROTECTED] # @(#)241.63 src/bos/usr/lib/sendmail/sendmail.cf, cmdsend, bos42G, g9702B 1/12/97 17:36:03 # IBM_PROLOG_BEGIN_TAG # This is an automatically generated prolog. # # bos42G src/bos/usr/lib/sendmail/sendmail.cf 1.63 # # Licensed Materials - Property of IBM # # (C) COPYRIGHT International Business Machines Corp. 1985,1997 # All Rights Reserved # # US Government Users Restricted Rights - Use, duplication or # disclosure restricted by GSA ADP Schedule Contract with IBM Corp. # # IBM_PROLOG_END_TAG # # COMPONENT_NAME: CMDSEND sendmail.cf # # FUNCTIONS: # # ORIGINS: 10 26 27 # # (C) COPYRIGHT International Business Machines Corp. 1985, 1996 # All Rights Reserved # Licensed Materials - Property of IBM # # US Government Users Restricted Rights - Use, duplication or # disclosure restricted by GSA ADP Schedule Contract with IBM Corp. # # Copyright (c) 1983, 1995 Eric P. Allman # Copyright (c) 1988, 1993 # The Regents of the University of California. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # 1. Redistributions of source code must retain the above copyright #notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the above copyright #notice, this list of conditions and the following disclaimer in the #documentation and/or other materials provided with the distribution. # 3. All advertising materials mentioning features or use of this software #must display the following acknowledgement: # This product includes software developed by the University of # California, Berkeley and its contributors. # 4. Neither the name of the University nor the names of its contributors #may be used to endorse or promote products derived from this software #without specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE # ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # SUCH DAMAGE. # ## ## # # SENDMAIL CONFIGURATION FILE # ## ## #
Re: list archive
On Sat, 5 Aug 2000, rob smith wrote: --I want to access the list archive but I don't remember my password...normally --you can have it mailed back to you...didn't see this option on the sign in --page...any ideas?? It is there, at the bottom of the page. I've used it already. follow the link at the bottom of every [RHL] list post and you will get to the page, scroll to the bottom and you will find a place, right below the admin boxes, to put in your email address and it will send you an email with your password. Jake ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
what happened to [RHL]
Why did the subject attachment dissappear? I loved that, it let me know where the message was coming from, because I'm on a lot of lists, and it really pops out with [RHL] in the subject. I thought it was a good idea. Jake McHenry [EMAIL PROTECTED] ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: ---- X server
Were there any posts to answer this? If there were, I didn't get them. This happened to me at one point, I reinstalled and it fixed it, but I would like to know, if there is one, another way to fix the problem. Thanks, Jake Original Message Date: Thu, 3 Aug 2000 11:23:26 -0700 (PDT) From: Nianwei Xing <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: [RHL] X server Hi, there: I have a question that Now I can only start x server with root. When I login from the usual account and type startx it give the following erron: Authentication failed--cannot start X server. Perhaps you do not have console console ownership? _X11TranSocketXConnect: Can't connect:errno = 111 give up xinit: Connetction refused (errno=111) unable to connetc to X server xinit: No such process(errno 3): Server error. Does anybody know how to handle this problem? THanks a lot! Nianwei ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: Redirection of URL
Place this in your section of index.html on foo.com http://www.foo.com/"> This will immediatly send the person trying to access the foo.com to www.foo.com or you could set the "content=X;" value to a higher number for a delay, incase you would want to post a redirect message to the people. On Fri, 4 Aug 2000, kapil sharma wrote: --Hi, --I am using apache 1.3.12 with Redhat 6.2. I want to redirect one url to --other url. For example if some request comes for --http://foo.com --then the url should redirect to --http://www.foo.com -- --What should i do for that? -- --Thank you --kapil -- -- -- -- --___ --Redhat-list mailing list [EMAIL PROTECTED] --https://listman.redhat.com/mailman/listinfo/redhat-list -- Jake McHenry [EMAIL PROTECTED] ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
win telnet client for linux boxen & mc
I downloaded and tried putty, like someone said, but it doesn't seem to work. In Secure CRT I connect to my SSH2 server, in putty it only has ssh, is that why it doesn't work? When I run putty.exe, I put in the address to my box, and click open, and a dos window pops up and goes away immediatly, and nothing happens after that. I think I'm still going to stick with Secure CRT, since I've been using it for about 2 years, and I bought it, and it works for me, without problems. Jake McHenry [EMAIL PROTECTED] -- To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject.
Problem with changing displayed names (SOLVED)
Thank you very much. That is exactly what I was looking for that I could not remember. Jake On Tue, 1 Aug 2000, Nitesh Dhanjani wrote: -- --chfn -- -- --On Tue, 1 Aug 2000, Jake McHenry wrote: -- --> On Wed, 2 Aug 2000, Anthony E . Greene wrote: --> --> --/etc/passwd --> --> no, it was an executable file, which when run, prompted for a new name to be --> displayed. I used to know what it was, but I cannot remember it for the life of --> me. --> --> jake --> --> --> -- --> To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" --> as the Subject. --> --> -- -- --To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" --as the Subject. -- -- Jake McHenry [EMAIL PROTECTED] -- To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject.
Re: Problem with changing displayed names
On Wed, 2 Aug 2000, Anthony E . Greene wrote: --/etc/passwd no, it was an executable file, which when run, prompted for a new name to be displayed. I used to know what it was, but I cannot remember it for the life of me. jake -- To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject.
Re: win telnet client for linux boxen & mc
I have always, and always will, use Secure CRT, from Vandyke Software. They also have the regular CRT which is cheaper, but without the SSH support. http://www.vandyke.com my $.02 Jake McHenry [EMAIL PROTECTED] -- To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject.
Problem with changing displayed names
I used to know how to do this, but have forgotten the what the name of the file was that did this. As I've been cleaning my system of users no longer here, I've been noticing accounts that name's do not match the login name. I know that there is a file that allows anyone to do this, and I want to change the owner to root, so only I can do it. Sorry if this is an easy one, but I forgot what is was called. Thanks, Jake McHenry [EMAIL PROTECTED] -- To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject.