Shell Script...more

2002-07-25 Thread Jesse Angell
Hey, I need to ask more questions, who would of thought.. Is there any way with a shell script to see what user it's being run as and include that as a variable So let's say.. the user: john runs it.. to have it in the script check and see what user is running it, and then assigning that user

Re: Shell Script

2002-07-25 Thread Jesse Angell
That tmpwatch that Robert suggested worked great.. I'll stick with that. - Original Message - From: "Randy Weidman" <[EMAIL PROTECTED]> To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> Sent: Thursday, July 25, 2002 8:19 PM Subject: Re: Shell Script > I think this will do what you need > > > f

global search and replace

2002-07-25 Thread Greg Conway
Hi all,   Just wondered, does anybody know of a way to perform a global search and replace on a file on a Linux system?   For example, we have about 50 users all using "global.pab" - our global address list - from differing locations on their U: drive!   So one solution is to go through an

Re: Kernel Upgrade on Redhat 7.2

2002-07-25 Thread Edward Dekkers
> I am having a few problems on my Redhat 7.2 machine running on an old AMD K6/400. For various reasons I believe I have a few problems that might be fixed by upgrading to the latest kernel, however, it is a production machine and I am a little nervous (and also have little time to spend on admi

Re: ifport and ifconfig

2002-07-25 Thread Edward Dekkers
Help. How do you get/set the speed and duplex using ifport and/or ifconfig. Is the value you set using these commands temporary (till next reboot) or permanent. How do you interprete the value 8 that you get from the command ifport without parameters ? --- 1> Please do not post HTML to the li

Re: Shell Script

2002-07-25 Thread Robert P. J. Day
On Thu, 25 Jul 2002, Jesse Angell wrote: > I need to make a shell script to look in > /home/$user/palaceserver/palace/psdata/backup > and in that folder delete all the files that are 7 day's old.. > Could someone help me out with this? $ man tmpwatch rday

Shell Script

2002-07-25 Thread Jesse Angell
I need to make a shell script to look in /home/$user/palaceserver/palace/psdata/backup and in that folder delete all the files that are 7 day's old.. Could someone help me out with this? -- Jesse Angell PalaceUnlimited.com #1 Palace Host ___

Even more OT: looking for csh programming material

2002-07-25 Thread Gordon Messmer
On Tue, 2002-07-23 at 05:57, Dave Ihnat wrote: > > *Sigh*. I've been trying to drive a stake through the heart of > that particular vampire for almost 20 years. And now you're > going to train a whole new bunch of csh-ers. Thanks a lot. > (SmileyifIdidsmileyswhichIdon't). Why not? One of the

nfs too much for a little celeron?

2002-07-25 Thread daniel
i've got a celeron500 here running nfs, samba, apfs, apache, bind, sendmail and proftpd. all services are required as this little box is the central machine in the office hosting all of the development for all the sites we're working on. but lately it's been blowing up and people on their macs (

RE: compiling bash scripts

2002-07-25 Thread Muhammad Faisal Rauf Danka
I have made a tool for compiling shell scripts. basically, my tool randomly generates a key and encrypts whole shell script, then inserts them both in a template of .c code where the key and encrypted text are both written and on it's execution, text in decryped using the very key found in itsel

RE: compiling bash scripts

2002-07-25 Thread Rev. David P. Giffen
Looks like what you need to do is chown and chgrp the script to root. Then chgmod the sript to 700. Now only root can play with the settings. This will keep the users from monkying with it. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Leonardo Ro

Re: How-to make sendmail attach message

2002-07-25 Thread Anthony E. Greene
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 25-Jul-2002/10:59 -0400, "Chapman, Matt" <[EMAIL PROTECTED]> wrote: > >All Exchange Mail is sent to a server that simply attaches a message to >the end of it (you might notice it as an attachment to this mail). I >would rather setup a simple Red H

RE: Sendmail not working

2002-07-25 Thread twhitney - CVI
Tony, Thank you very much for your input. Your reply gave me the direction I needed to fix the problem. It was so confusing when ther were so many places to configure. Anyway it is working now -- I had a BIKND setting that was confusing the SMTP host. Thanks again, Thomas > On 25-Ju

Re: Defining Home Folders

2002-07-25 Thread Mark C
On Thu, 2002-07-25 at 19:37, Joe Giles wrote: > template homedir = /home/%U Theres youre problem. Try this one: template homedir = /home/%D/%U Mark -- --- To steal ideas from one person is plagiarism; to steal from many is research. ___

Re: Defining Home Folders

2002-07-25 Thread Joe Giles
Also, Yes, I have the .so file in the sshd and telet pam conf files Thanks Joe > On Thu, 2002-07-25 at 18:06, Joe Giles wrote: > > List, > > > > I am using the pam_mkhomedir.so to automatically creat home folders for users that >log into SSH and Telnet. I am also using the WINBIND serv

Re: Defining Home Folders

2002-07-25 Thread Joe Giles
You bet... Here is my smb.conf file: [global] smb passwd file = /etc/samba/smbpasswd wins server = passwd program = /usr/bin/passwd %u pam password change = yes printing = lprng dns proxy = no encrypt passwords = yes socket options

Re: Defining Home Folders

2002-07-25 Thread Mark C
On Thu, 2002-07-25 at 18:06, Joe Giles wrote: > List, > > I am using the pam_mkhomedir.so to automatically creat home folders for users that >log into SSH and Telnet. I am also using the WINBIND service to auth users on a Win >NT domain. Now, this works great; the home folders are getting crea

Re: large file downloads over html

2002-07-25 Thread Todd A. Jacobs
On Thu, 25 Jul 2002, Christensen Tom wrote: > if so tell me the command. it gives me a 403 forbidden error. Most RH iso's are available on the ftp server, so unless this is a special image, you don't need to use RHN servers. For RPMs, just use up2date instead, if you're using RHN. If you just

Re: UMAX Astra 2000 P Scanner Configuration

2002-07-25 Thread Ed Wilts
On Thu, Jul 25, 2002 at 05:41:29PM +0100, Shyam Kumar Mankayil wrote: > > How do I configure a UMAX Astra 2000 P Scanner for Red Hat Linux 7.0 ? http://www.buzzard.org.uk/jonathan/scanners.html which points to: http://umax1220p.sourceforge.net/ -- Ed Wilts, Mounds View, MN, USA mailto:[EMAI

Re: symlinks and ftp

2002-07-25 Thread Ed Wilts
On Thu, Jul 25, 2002 at 12:47:50PM -0400, [EMAIL PROTECTED] wrote: > Oops. Forgot to mention that I am now running redhat 7.3, with WuFTPd no > modifications. If you haven't done any mods, then you're chrooted by default. Update /etc/ftpaccess to fit your needs. .../Ed > -- > > I'm t

Defining Home Folders

2002-07-25 Thread Joe Giles
List, I am using the pam_mkhomedir.so to automatically creat home folders for users that log into SSH and Telnet. I am also using the WINBIND service to auth users on a Win NT domain. Now, this works great; the home folders are getting created like the should in the /home directory for DOMAIN

RE: symlinks and ftp

2002-07-25 Thread Engstrom_Carl
Oops. Forgot to mention that I am now running redhat 7.3, with WuFTPd no modifications. -- I'm trying to get symbolic links to work over ftp and I can't figure it out. It used to work in older versions of RH, but no longer. Basically, I just want to be able to link some directories for several

UMAX Astra 2000 P Scanner Configuration

2002-07-25 Thread Shyam Kumar Mankayil
How do I configure a UMAX Astra 2000 P  Scanner for Red Hat Linux 7.0 ? Thanks, ShyamGet a bigger mailbox -- choose a size that fits your needs.http://uk.docs.yahoo.com/mail_storage.html

Re: symlinks and ftp

2002-07-25 Thread Jeff Bearer
I've noticed that some FTP clients don't use symlinks. primarly I've seen it using cuteFTP pro via SFTP. I don't recall with regular FTP. It may be a SFTP thing? I'm not sure. On Thu, 2002-07-25 at 12:16, [EMAIL PROTECTED] wrote: > I'm trying to get symbolic links to work over ftp and I can'

Re: please remove me from list

2002-07-25 Thread Mark C
On Thu, 2002-07-25 at 13:52, KnowHow Tech Support wrote: > I don't see where he was directing that to you at all. Looks to me like > he just sent that response back to the list. My words 2 a tee.. Getting into a discussion regarding this is really pointless and a waste of peoples bandwidth.

symlinks and ftp

2002-07-25 Thread Engstrom_Carl
I'm trying to get symbolic links to work over ftp and I can't figure it out. It used to work in older versions of RH, but no longer. Basically, I just want to be able to link some directories for several mounted drives into my home directory so that I can access them when I log in. By the way, s

Re: please remove me from list

2002-07-25 Thread Rick Forrister
KnowHow Tech Support wrote: > I don't see where he was directing that to you at all. Looks to me like > he just sent that response back to the list. It had that flavor to me. If I'm wrong, then apologies as appropriate. Does _EVERY_ "Unsubscribe Me" message have to turn into a chain of 50 mes

Re: Weird High System Ussage: Command "w" shows a high usage buttop doesn't show anything.

2002-07-25 Thread Jim Cunning
On Wed, 24 Jul 2002, Todd A. Jacobs wrote: > On Wed, 24 Jul 2002, Jose Vicente Nunez Zuleta wrote: > > > root 30439 1 0 Jul19 ?00:00:01 /usr/bin/updatedb -f NFS,SMBFS,N > > root 951 1 0 Jul20 ?00:00:01 /usr/bin/updatedb -f NFS,SMBFS,N > > root 3886 1

Re: please remove me from list

2002-07-25 Thread KnowHow Tech Support
> > On Thu, 2002-07-25 at 15:45, Rick Forrister wrote: > > > kita-rs wrote: > > > > > > > > hi , i inadvertently signed up for receipt on one of these lists. my email > > > > is [EMAIL PROTECTED] my mailbag is getting bombarded with mail. > > > > Just curious, but how can you inadvertently subscr

RE: [fastdep] error 135

2002-07-25 Thread Ismael Touama
Hi, You maybe have to look, check your command line. You maybe enter a bad syntax or something like that. Secondly, pay caution to your kernel, look at erratas. bbsc ism -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]De la part de Lisa Envoyé : jeudi 25 juillet 20

c++ and pthread_mutexattr_settype

2002-07-25 Thread Aparna Pappu
Hi, I keep getting a compiler error when I use thefunction pthread_mutexattr_settype(...) saying pthread_mutexattr_settype(...) undeclared first use in function etc etc. However the same code compiles and works fine when used in a C file. Any help would be appreciated. Thanks Aparna _

Re: Weird High System Ussage: Command "w" shows a high usage buttop doesn't show anything.

2002-07-25 Thread Gordon Messmer
On Wed, 2002-07-24 at 22:45, Todd A. Jacobs wrote: > On Wed, 24 Jul 2002, Jose Vicente Nunez Zuleta wrote: > > > root 30439 1 0 Jul19 ?00:00:01 /usr/bin/updatedb -f NFS,SMBFS,N > > root 951 1 0 Jul20 ?00:00:01 /usr/bin/updatedb -f NFS,SMBFS,N > > root 3886

Re: please remove me from list

2002-07-25 Thread Rick Forrister
Mark C wrote: > > On Thu, 2002-07-25 at 15:45, Rick Forrister wrote: > > kita-rs wrote: > > > > > > hi , i inadvertently signed up for receipt on one of these lists. my email > > > is [EMAIL PROTECTED] my mailbag is getting bombarded with mail. > > Just curious, but how can you inadvertently sub

How-to make sendmail attach message

2002-07-25 Thread Chapman, Matt
Hi, I am looking to move from a Windows 2k product over to Sendmail if I can accomplish this task. All Exchange Mail is sent to a server that simply attaches a message to the end of it (you might notice it as an attachment to this mail). I would rather setup a simple Red Hat box that excepts th

Re: please remove me from list

2002-07-25 Thread Mark C
On Thu, 2002-07-25 at 15:45, Rick Forrister wrote: > kita-rs wrote: > > > > hi , i inadvertently signed up for receipt on one of these lists. my email > > is [EMAIL PROTECTED] my mailbag is getting bombarded with mail. Just curious, but how can you inadvertently subscribe to a RedHat mailing lis

Re: please remove me from list

2002-07-25 Thread Rick Forrister
kita-rs wrote: > > hi , i inadvertently signed up for receipt on one of these lists. my email > is [EMAIL PROTECTED] my mailbag is getting bombarded with mail. > > thx > > ___ > Redhat-list mailing list > [EMAIL PROTECTED] > https:

Re: Sendmail not working

2002-07-25 Thread Anthony E. Greene
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 25-Jul-2002/07:42 -0600, twhitney - CVI <[EMAIL PROTECTED]> wrote: >I am having a problem sending mail out of the localdomain. > >I am connected to the internet with a shared T1. >Lynx is working so the DNS servers in resolv.conf are ok. >Sendmail

Re: please remove me from list

2002-07-25 Thread Mark C
On Thu, 2002-07-25 at 15:05, kita-rs wrote: > hi , i inadvertently signed up for receipt on one of these lists. my email > is [EMAIL PROTECTED] my mailbag is getting bombarded with mail. Then please read the instructions on the bottom of every email you receive from the list.. ---cut--- Redhat-l

Linux and ddns in a W2K-Domain

2002-07-25 Thread Weimer_Markus
I have a Linux box within a W2K domain and want to register my hostname to the dynamic-dns host. Has someone ever done this before ? I `ve no idea where to look to do it. I use DHCP at the moment and it works fine. But I`m not able to connect to the Linux Box via the hostname. RH 7.3 THX for you

please remove me from list

2002-07-25 Thread kita-rs
hi , i inadvertently signed up for receipt on one of these lists. my email is [EMAIL PROTECTED] my mailbag is getting bombarded with mail. thx ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listi

P4 eth0 erros

2002-07-25 Thread Rhaoni - Sistêmica Computadores
I'd like to know if someone got problems with the eth+ in th P4 plataform. All P4 I've installed gives RX packets errors :   eth0  Link encap:Ethernet  HWaddr 00:E0:4C:7F:82:E4   inet addr:192.168.200.101  Bcast:192.168.200.255  Mask:255.255.255.0    UP BROADCAST RUNNI

Sendmail not working

2002-07-25 Thread twhitney - CVI
Hi, I am having a problem sending mail out of the localdomain. I am connected to the internet with a shared T1. Lynx is working so the DNS servers in resolv.conf are ok. Sendmail is working locally, but when I send an email to an outsied domain I get the following error message

Re: One more question...

2002-07-25 Thread Bret Hughes
On Mon, 2002-07-22 at 11:15, Rick Forrister wrote: > Nigel Peck wrote: > > > > When I enter a command at a shell prompt, how do I return to a prompt > > immediately rather than waiting for the command to complete. > > > Nigel, just type an ampersand at the end of the command line, i.e.: > > foo

RE: Can Multiple drives appear as one network drive?

2002-07-25 Thread Alexander Shaw
Sorry Just resurrecting this thread for a moment. Which (if any) of these methods would ostensibly make the drives behave and appear as though it was one single drive, rather than (I assume) a network drive with a number of folders which are the other drives? Alex > -Original Message-

[fastdep] error 135

2002-07-25 Thread Lisa
Hi, does anyone know what causes the following error. I get it when I run make dep. Running RedHat linux version 7.2   Kernel is version 2.4     make[4]: Entering directory`/usr/src/linux-2.4.7-10/drivers/ide'/usr/src/linux-2.4.7-10/scripts/mkdep -D__KERNEL__ -I/usr/src/linux-2.4.7-10/includ

Compile Kernel Module

2002-07-25 Thread Chapman, Matt
Hello, I am looking at compiling the ip_wccp.c module for 2.4.18-5smp kernel. I can download the source from the squid-cache.org site but need instructions on what I need to do in order to compile this correctly! Any ideas would be greatly appreciated. -- Matthew Chapman .~.

Re: large file downloads over html

2002-07-25 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thursday 25 July 2002 03:09 am, Christensen Tom wrote: > just so you know this is the command I issued: > #wget --http-user=** --http-passwd=*** > https://rhn.redhat.com/network/channel/download_isos.pxt/limbo-i386-dis >c1.iso Does the sit

Re: University-like Network Setup

2002-07-25 Thread Wesley Murphy
> Supposedly there is a way to get pam_smb to authenticate a user without > them having a local account. See the 'nolocal' option in the config > section of this page: > > http://samba.org/ftp/unpacked/pam_smb/INSTALL This nolocal option doesn't work without extra messing around. Following th

RedHat kernel build fails ??

2002-07-25 Thread Nick Lindsell
Hi all I'm trying to build an nfs-root kernel for my diskless workstation. I have all the latest updates for RH7.3 but the build fails:- [root@slaptop linux-2.4]# make dep clean && make bzImage make[1]: Entering directory `/usr/src/linux-2.4.18-5' kallsyms pass 1 ld -m elf_i386

Kernel Upgrade on Redhat 7.2

2002-07-25 Thread Edward Wildgoose
Apologies is this appears twice, I sent it, but never saw it appear >> Hi folks, I am having a few problems on my Redhat 7.2 machine running on an old AMD K6/400. For various reasons I believe I have a few problems that might be fixed by upgradi

Radeon Mobility with an external CRT resolution problems

2002-07-25 Thread Jim Bowen
Hi, it appears that 'X knows best!' I've got a Dell laptop with a radeon mobility LY chipset with a 1400x1050 panel, and a big external monitor. In windows, the monitor runs happily at 1600x1200 at 75Hz refresh. In a default X config, the panel works fine at 1400x1050, but, if I attach the mon

scsi and ide

2002-07-25 Thread Grace Aromin
Hi! I have a problem with ide and scsi. I have ide installed and scsi. I can boot with IDE but the problem is, the scsi cannot be mounted. Actually, I just re-installed RH 7.2 in IDE coz w/ the SCSI (raid5), there's a Kernel panic; also it says, inittab not found... I just booted with a di

Re: Redhat 6.2 on P4 is NOT supported

2002-07-25 Thread Emmanuel Seyman
On Wed, Jul 24, 2002 at 06:44:56PM -0400, Paul Borghese wrote: > > Out of curiosity, why did you decide to use 6.2 instead of the already > compatible 7.3? I can understand this. I find 6.2 much more stable than the 7.x series (although 7.3 looks pretty good so far) and it hasn't got the bloat

Re: DVD-playback

2002-07-25 Thread Scott and Tess Brady
G'day all, I am looking at purchasing a combination DVD/CD-RW drive for my Redhat 7.3 Box. Can anybody make any suggestions on what the best brand and model is. Thanks in Advance Scotty B in Oz. On Thu, 25 Jul 2002 4:18 pm, Oeystein Olsen wrote: > On Thursday 25 July 2002 07:51, Todd A. Jacob

ifport and ifconfig

2002-07-25 Thread Efraim Gat
Help.   How do you get/set the speed and duplex using ifport and/or ifconfig.   Is the value you set using these commands temporary (till next reboot) or permanent.   How do you interprete the value 8 that you get from the command ifport without parameters ?    

ifport & ifconfig

2002-07-25 Thread Efraim Gat
Help.   How do I get/set the speed and duplex usinf ifport and/or ifconfig ?   Is the setting using these commands permanent or temporary (until the next boot).   How do you interprete the value 8 that you get using the command ifport without parameters ?