Re: upgrade to Sarge stopped nic

2005-07-08 Thread Rick Weinbender
--- Kent West [EMAIL PROTECTED] wrote: Rick Weinbender wrote: I did an apt-get update, then apt-get dist-upgrade. The update finished and I was getting internet connectivity until I rebooted the machine. Now the link light on the hub won't even light up. Or rather, it lights up initially

upgrade to Sarge stopped nic

2005-07-07 Thread Rick Weinbender
Hi, I recently made the mistake of upgrading to Sarge without reading up on the process. Dumb mistake, but it's just a test system. I did an apt-get update, then apt-get dist-upgrade. The update finished and I was getting internet connectivity until I rebooted the machine. Now the link light on

Using Find with Grep

2004-05-07 Thread Rick Weinbender
How can I make the following expression display only occurrences that do NOT contain the searchstring. Is this possible? find /home -name *.txt -exec grep searchstring {} \; I want to search for the absense of a particular commandline in a user config file. TIA, -Rick -- To UNSUBSCRIBE,

Re: Using Find with Grep

2004-05-07 Thread Rick Weinbender
thanks man! :-) It works great, and doesn't stop on the first match. -Rick * [EMAIL PROTECTED] wrote: Hello: Try man grep at any Unix command line. You might find something like... -L, --files-without-match Suppress normal output; instead print the name of

Re: Error trying to install Qmail on Debian

2004-03-22 Thread Rick Weinbender
Qmail is kind of a difficult install. Some of the references I used were: www.qmail.org http://smarden.org/pape/Debian/ http://www.lifewithqmail.org * the smarden.org...site has a backport which makes installation much easier. Once you setup your sources.list, you just apt-get install qmail Of

Re: Error trying to install Qmail on Debian

2004-03-22 Thread Rick Weinbender
Correction: should be apt-get install qmail-run * Rick Weinbender wrote: Qmail is kind of a difficult install. Some of the references I used were: www.qmail.org http://smarden.org/pape/Debian/ http://www.lifewithqmail.org * the smarden.org...site has a backport which

clamav backport install

2004-03-10 Thread Rick Weinbender
Hi, I recently installed clam anti-virus from the backport at www.backports.org. (system is debian stable running qmail) Modified my sources.list file to point to backports.org, then ran 'apt-get install clamav'. The install goes fine, but it doesn't scan mail without some additional configuring.

qmail anti-virus

2004-03-02 Thread Rick Weinbender
Can anyone recommend a good open source (email) anti-virus solution for Qmail running on Debian Stable. Or even a reasonably priced commercial solution if it is good. * I see M$ has bought out RAV-anti-virus. I've been looking at Clam anti-virus. Thanks, -Rick -- To UNSUBSCRIBE, email to

decompress install error

2004-02-11 Thread Rick Weinbender
I'll try to make this a general install question. I'm trying to decompress/install with the following command: tar -xzf tmda-cgi-0.12.tgz (as root) Error Message: tar: tmda-cgi-0.12/htdocs/display/dyn_buttons/subtopic9.png: Cannot change ownership to uid 102725, gid

Re: decompress install error

2004-02-11 Thread Rick Weinbender
Jan Minar wrote: On Wed, Feb 11, 2004 at 09:25:58AM -0600, Rick Weinbender wrote: tar: tmda-cgi-0.12/htdocs/display/dyn_buttons/subtopic9.png: Cannot change ownership to uid 102725, gid 100: Invalid argument Hi, Rick. In Linux 2.4, the GIDs ( UIDs too) are 16 bit, i.e. 0 to 2^16 - 1

Re: using SUDO in bash script

2004-02-05 Thread Rick Weinbender
Micha Feigin wrote: On Thu, Feb 05, 2004 at 01:41:43PM +0100, Michael Rauch wrote: Rick Weinbender wrote: Adam Aube wrote: On Wednesday 04 February 2004 03:23 pm, Rick Weinbender wrote: Can I use SUDO within a bash script? Absolutely, though be aware that if sudo is set

using SUDO in bash script

2004-02-04 Thread Rick Weinbender
Can I use SUDO within a bash script? ie: #!/bin/sh sudo myprogram Thanks, -Rick -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

Re: using SUDO in bash script

2004-02-04 Thread Rick Weinbender
Adam Aube wrote: On Wednesday 04 February 2004 03:23 pm, Rick Weinbender wrote: Can I use SUDO within a bash script? Absolutely, though be aware that if sudo is set to require a password, you won't be able to run it in the background. By putting NOPASSWD before the command in /etc/sudoers

admin type user

2004-02-02 Thread Rick Weinbender
I need to create an admin type user for the purpose of maintaining user accounts. The user needs access to /home directory and everything below it, but not anything higher in the tree. (I've heard something about chroot doing this, but haven't tried it. What's recommended?) * What tools are

kill process by name

2004-01-22 Thread Rick Weinbender
Is there a way to use the kill command to kill a process by name? * For example: kill inetd I have to look up the pid number every time using 'ps aux' then I can kill it with 'kill pid#' Thanks, -Rick -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble?

Re: kill process by name

2004-01-22 Thread Rick Weinbender
Ryan Mackay wrote: Sometime near Thu, Jan 22, 2004 at 01:47:38PM -0600, Rick Weinbender wrote: Is there a way to use the kill command to kill a process by name? * For example: kill inetd I have to look up the pid number every time using 'ps aux' then I can kill it with 'kill pid

batch modify user config files

2004-01-21 Thread Rick Weinbender
In my setup each user has a configuration file in their home directory. * Is there a way to write a bash script to append a line of text to each user's config file in their home directory? Thanks, -Rick -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble?

Re: disable ping

2004-01-16 Thread Rick Weinbender
Matthias Hentges wrote: Am Don, 2004-01-15 um 23.26 schrieb Jan Minar: On Thu, Jan 15, 2004 at 03:48:44PM -0600, Rick Weinbender wrote: Is there a way to disable the ping response on a server. (silent mode) Although I heard it's not considered polite... Well i guess blocking ICMP

debian and Interactivebastille

2004-01-16 Thread Rick Weinbender
Hi, I've just installed bastille on Debian using the 'apt-get install bastille' command. It looks like there is an 'InteractiveBastille' command that can be entered from the commandline. When I type it, I get: RAW ERROR: Can't

Re: debian and Interactivebastille

2004-01-16 Thread Rick Weinbender
Colin Watson wrote: On Fri, Jan 16, 2004 at 01:06:58PM -0600, Rick Weinbender wrote: I've just installed bastille on Debian using the 'apt-get install bastille' command. It looks like there is an 'InteractiveBastille' command that can be entered from the commandline. When I type it, I

startup scripting

2004-01-14 Thread Rick Weinbender
Can anyone verify that I am doing this right. I need to add a short bash script of my own, so that the script loads every time the machine boots. * put myscript in /etc/init.d/ chmod 755 myscript update-rc.d myscript defaults 19 * This in fact does work. * My question is: Is this proper way to add

Re: how to install testing/unstable packages

2004-01-14 Thread Rick Weinbender
Ritesh Raj Sarraf wrote: Dear All, i'm new to debian. Recently I strongly made up my mind to leave Redhat/Fedora and be a user of Debian. I'm pretty happy with it's structure and utilities. I'm also glad to see the release structure (stable, testing, unstable) which suits to the taste of

Re: exit usage

2004-01-08 Thread Rick Weinbender
Florian Ernst wrote: Hello Jan! - su -c and sudo for executing a script as a different user On Thu, Jan 08, 2004 at 03:17:37AM +0100, Jan Minar wrote: ... definitively; but if you really wanted to know how to do it the Wrong Way: Generally, as a Unix process exec's another one (a child),

Flush file contents

2004-01-07 Thread Rick Weinbender
Is there a command to flush or empty the contents of a file? I would like the empty file to retain it's attributes and rights. Thanks, -Rick -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

Re: Flush file contents

2004-01-07 Thread Rick Weinbender
Rick Pasotto wrote: On Wed, Jan 07, 2004 at 12:42:33PM -0600, Rick Weinbender wrote: Is there a command to flush or empty the contents of a file? I would like the empty file to retain it's attributes and rights. cat /dev/null file -- The choices a man makes are determined

run command as root within script

2004-01-07 Thread Rick Weinbender
Is there a way within a bash script to temporarily su to the root user, then run some commands, then go back to the original user? * Or can you temporarily (within a script), assign the current user to have more rights, then take away those rights? bash scripting is fairly new to me. Thanks,

exit usage

2004-01-07 Thread Rick Weinbender
I have a situation where I login as the root user, then 'su username' to a user with limited rights, and run a short script as this user. * My question is: In the last line of my script, can I invoke some form of the exit command to leave me back at the #prompt or root user prompt? TIA, -Rick

display directories only

2004-01-05 Thread Rick Weinbender
I have a basic question. Is there a method using ls from the command line to have it display only directories. I've looked thru the help (ls --help), but cant' guess the right switches. Thanks, -Rick -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact

Re: display directories only

2004-01-05 Thread Rick Weinbender
Alf Werder wrote: On Mon, 2004-01-05 at 15:47, Rick Weinbender wrote: I have a basic question. Is there a method using ls from the command line to have it display only directories. I've looked thru the help (ls --help), but cant' guess the right switches. A bare ls cannot do

Find command to display attributes

2004-01-05 Thread Rick Weinbender
Hi, The Find command has been very useful to me in finding files or directories that I could'nt remember the exact name. for example: find / -iname *web* finds occurrences of files and directories containing the text web in the filename/dirname. Is there a way to format the screen output of the

Re: Find command to display attributes

2004-01-05 Thread Rick Weinbender
VEGH Karoly wrote: On Mon, Jan 05, 2004 at 10:42:28AM -0600, Rick Weinbender wrote: The Find command has been very useful to me in finding files or directories that I could'nt remember the exact name. for example: find / -iname *web* finds occurrences of files and directories

TMDA Backport

2004-01-05 Thread Rick Weinbender
Is anyone aware of any backport for TMDA (anti-spam) version 0.86 or newer to be installed on Debian Stable. Thanks, -Rick -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

Re: Find command to display attributes

2004-01-05 Thread Rick Weinbender
Colin Watson wrote: On Mon, Jan 05, 2004 at 05:50:08PM +0100, VEGH Karoly wrote: On Mon, Jan 05, 2004 at 10:42:28AM -0600, Rick Weinbender wrote: Is there a way to format the screen output of the above command so that I see all the file information (as in ls -al), which yields file

Re: disabling inetd

2003-12-15 Thread Rick Weinbender
Vineet Kumar wrote: * Initech ([EMAIL PROTECTED]) [031212 13:42]: On Fri, Dec 12, 2003 at 01:20:42PM -0600, Rick Weinbender wrote: I've heard that the inetd process is not very secure. That's not necessarily true. What is not very secure is running any service you don't need. If you

disabling inetd

2003-12-12 Thread Rick Weinbender
I've heard that the inetd process is not very secure. Also, my email server runs fine even if I kill the inetd process. * Is there a way to remove it or disable it permanently. Would this be a good thing to do? Or will it just cause me problems down the road. Thanks, -Rick -- To UNSUBSCRIBE,

Re: Securing Debian

2003-11-13 Thread Rick Weinbender
Thanks for the help! -Rick ** Rick Weinbender wrote: I have an email server (qmail running on debian), that I need to make as secure as possible. Can anyone point me to some good links that relate to security? Has anyone used bastille? What do you think of it? Thanks, -Rick

apt-get unstable question

2003-11-13 Thread Rick Weinbender
I'm running the current stable version and I need to install a package from an unstable source (tmda ver.0.86). (the unstable package does work with woody). * Is there a way to install an unstable package on stable distro from the command line. * Someone suggested 'apt-get -t unstable install

Re: apt-get unstable question

2003-11-13 Thread Rick Weinbender
the /etc/apt/apt.conf file manually? Thanks, -Rick ** Gary Hennigan wrote: Rick Weinbender [EMAIL PROTECTED] writes: I'm running the current stable version and I need to install a package from an unstable source (tmda ver.0.86). (the unstable package does work

Re: apt-get unstable question

2003-11-13 Thread Rick Weinbender
I found a good beginners link to pinning. http://jaqque.sbih.org/kplug/apt-pinning.html Thanks, -Rick *** Greg Madden wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thursday 13 November 2003 10:00 am, Rick Weinbender wrote: I'm running the current stable

Securing Debian

2003-11-12 Thread Rick Weinbender
I have an email server (qmail running on debian), that I need to make as secure as possible. Can anyone point me to some good links that relate to security? Has anyone used bastille? What do you think of it? Thanks, -Rick -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of

apt-get sources

2002-05-08 Thread Rick Weinbender
Hi, I fairly new to Debian Linux and was wondering if any of you have some alternative apt-get sources for running 'apt-get upgrade'. I'm running stable version 2.2 r3. In my /etc/apt/sources.list is the default: deb http://www.us.debian.org/debian stable main contrib non-free Thanks in advance

Re: apt-get sources

2002-05-08 Thread Rick Weinbender
Thanks, That answers my question. -Rick Sean 'Shaleh' Perry wrote: On 08-May-2002 Rick Weinbender wrote: Hi, I fairly new to Debian Linux and was wondering if any of you have some alternative apt-get sources for running 'apt-get upgrade'. I'm running stable version 2.2 r3. In my