[CentOS] scp with tty

2009-10-12 Thread tony . chamberlain
Hello I need to know a way to have scp allocate a tty on a remote machine so I can have it run sudo and activate a vpn which it will need to activate. scp with "-S" does not work. I can't chmod +s the cisco vpn client because when I try to run it it says it can not have setuser. I could have the

Re: [CentOS] CentOS Digest, Vol 57, Issue 14

2009-10-15 Thread tony . chamberlain
Thanks for the responses. I think this is what I want to do. I commented out #Defaultsrequiretty in /etc/sudo. But what I really wanted to do was just place it in VPNUSERS: %vpnusers ALL=NOPASSWD: /sbin/service myciscovpn start, \ /sbin/service myciscov

[CentOS] Fwd: ntp help

2010-11-11 Thread tony . chamberlain
Hello I am trying to sync via NTP locally (since I have no Internet access). None of the NTP stuff I read on the net seems to work right. I mean it works fine setting up a client going to something like 0.pool.ntp.org but when I want to make my LInux box a server, and I do an ntpdate to it fr

[CentOS] Optimal VPN

2010-11-24 Thread tony . chamberlain
I am looking for the optimal VPN. Well it doens't have to be that elaborate. Just the best VPN. We currently have some customers using PPTP, some using openvpn, some using Cisco Any Connect and there are a few others. So my question is, if you have control of both ends (client and server) what i

[CentOS] sound

2008-08-08 Thread tony . chamberlain
I am using Cent OS 4.6 and a USB speaker (no sound card but USB speaker works fine). Problem is, if I use something like xine or realplay and then later want to visit youtube through firefox, the youtube sound won't work, because even though I exited xine or realplay somehow it still has control o

[CentOS] ks

2008-08-13 Thread tony . chamberlain
I made a file partition-ks.cfg and put it in our machine 192.168.5.17 under /var/www/html. When I install a new machine I just do a linux ks=http://192.168.5.17/partition-ks.cfg I have a couple questions though: 1) I have the following in it: clearpart --all part /boot --fstype

[CentOS] /etc/rc5.d

2008-09-11 Thread tony . chamberlain
I have a shell script, /usr/bin/joevpn, which does a quick VPN connect. Basically (HOST and DOFIL are defined above and are correct. I just did not list them here) case "$1" in start) date > $DOFIL while [ -f $DOFIL ] do echo y | /usr/local/bin/

[CentOS] find

2008-10-03 Thread tony . chamberlain
I am looking for something similar to the windows SEARCH FILES comman with the option "files containing ..." (that is where I can specify a string and it will find all files containing that string -- not just having the string as part of the name but actually containing it in the text). Is there

[CentOS] find - text

2008-10-06 Thread tony . chamberlain
A while ago I sent mail about wanting to find all files that had a certain text string in it and changing it to something else. People mentioned that there is a system tool to do it (gnome has it too). I ran this, for example to find all files WITH "prog" in the name, and then I did a ps and I s

[CentOS] find cont'd 3

2008-10-08 Thread tony . chamberlain
Another question about find. I looked at the gnome tool and tried to simulate what it is doing. I can't use it directly because it won't do sed. Basically I want to find all files with a string (except binary) and change it. let STR be the string I am looking for. NEW is new string. I am doi

[CentOS] Yum/WGET/HTTP sourceforge etc.

2010-04-11 Thread tony . chamberlain
I am having a problem with 5.4 that I did not have with 4.5. The problem happens only sometimes but in specific instances. Basically a summary of the problem is that certain network transactions timeout. The specfic instances are with wget, rpm, http. The problem usually, but not always, occurs

[CentOS] timeout problem

2010-04-14 Thread tony . chamberlain
I found the response below today online to a question I had. For some reason I never got the mail. I am not quite clear on what "DHCP + DFG + 2DNS entries" means when calculating the IP to set for the router: Thanks Re: [CentOS] Yum/WGET/HTTP sourceforge etc. new April 12, 2010 08:10AM On Sun

Re: [CentOS] timeout problem

2010-04-15 Thread tony . chamberlain
Oh, static IP on the computer. Yeah, already did that to no avail. -Original Message- Message: 7 Date: Wed, 14 Apr 2010 13:08:16 -0400 From: JohnS Subject: Re: [CentOS] timeout problem To: CentOS mailing list Message-ID: <1271264896.3366.23.ca...@ethies> Content-Type: text/plain On We

[CentOS] Upgrade

2010-06-18 Thread tony . chamberlain
I am currently running CentOS 4.5 (which, through many Yum updates) now appears to be CentOD 4.8. 4.8 is still rather old, but I havbe lots of stuff (files and stuff installed). I would like to install Fedora but I am worried about losing all the stuff I have. I would have to back everything u

[CentOS] DHCPD

2010-07-30 Thread tony . chamberlain
Not sure if there is a DHCPD/PXE forum so I will ask here. I have been trying to get netboot to work (i.e. a machine with nothing on it but a NIC card, no linux, no operating system, whatever) boots up and receives a file from a dhcp server. This dhcp server gives it all the Linux stuff it needs