Linux-Misc Digest #283, Volume #24               Wed, 26 Apr 00 16:13:05 EDT

Contents:
  Re: Increase max open processes (Gustin Kiffney)
  Re: Interesting problem with Mandrake booting (Christopher Broussard)
  Re: bypass shell in /etc/passwd? (TurkBear)
  Linux / Windows 95 modems (Leslie Hamilton)
  Re: Logical Volume Manager for Linux? (Markus Kossmann)
  Re: Question about setting an X-only login using xdm/gdm in Slackware... (Scott 
Bishop)
  Re: Counting hard disks (Gerald Willmann)
  Re: looking for 'simple' proxy for unix (Robie Basak)
  How to discard some sequence of strings from a file? (Young4ert)
  authorization ([EMAIL PROTECTED])
  Re: authorization (root)
  Re: I think I have been HACKED!!! (William Gibson)
  anonymous ftp problem (Christopher Fonnesbeck)
  Re: Files just stops downloading at random (Tim B�kstr�m Laursen)
  Problems with local TTYs (ssh?) (Peter Moore)
  Re: Repeat Command (Herb Stein)
  Re: How Microsoft inhibits competition & innovation ([EMAIL PROTECTED])
  Re: How to discard some sequence of strings from a file? (Harlan Grove)
  Re: URGENT HELP NEEDED - gzip/gunzip (M. Buchenrieder)

----------------------------------------------------------------------------

From: Gustin Kiffney <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.setup,nl.comp.os.linux.overig
Subject: Re: Increase max open processes
Date: Wed, 26 Apr 2000 18:04:24 GMT

You probably need to upgrade to a newer version of the kernel (above
2.2.12) than the one on redhat 6.0 (was that 2.2.2?)  I think there
were stack size problems on older versions that kept you from having so
many open processes and files - but I'm not positive about that.  It's
worth a try.

Also it's probably better to not post HTML-formatted messages on usenet
because it just looks like garbage to most readers.

  John van der Steen <[EMAIL PROTECTED]> wrote:
>
> --------------EE2BF6FB4BDBCA42FFA57F16
> Content-Type: text/plain; charset=us-ascii
> Content-Transfer-Encoding: 7bit
>
> Hi,
>
> I have the following problem on my redhat 6.0 installation with 192
Megs
> of Ram :
>
> I want to increase my userlimit for a not root user from 256 max open
> processes to 1024 processes.
>
> I have checked with ulimit -u that my current ulimit = 256
>
> On the internet I found that I should compile it into the kernel so I
> did the following :
>
> I increased the value of NR_TASKS in
> /usr/src/linux/include/linux/tasks.h from 512 to 2048 (for root this
> value should be available ,for other users half of this value)
>
> #define NR_TASKS        2048    /* On x86 Max 4092, or 4090 w/APM
> configured. */
>
> I also increased the values of
>
> NR_OPEN and
> OPEN_MAX
> in /usr/src/linux/include/linux/limits.h from 1024 to 4096
>
> #ifndef _LINUX_LIMITS_H
> #define _LINUX_LIMITS_H
>
> #define NR_OPEN         4096
>
> #define NGROUPS_MAX       32    /* supplemental group IDs are
available
> */
> #define ARG_MAX       131072    /* # bytes of args + environ for exec
()
> */
> #define CHILD_MAX        999    /* no limit :-) */
> #define OPEN_MAX        4096    /* # open files a process may have */
> #define LINK_MAX         127    /* # links a file may have */
> #define MAX_CANON        255    /* size of the canonical input queue
*/
> #define MAX_INPUT        255    /* size of the type-ahead buffer */
> #define NAME_MAX         255    /* # chars in a file name */
> #define PATH_MAX        4095    /* # chars in a path name */
> #define PIPE_BUF        4096    /* # bytes in atomic write to a pipe
*/
>
> #define RTSIG_MAX         32
>
> #endif
>
> Do I need to set an option in the kernel to true so that these changes
> will take effect or ..... is there another catch to it.
>
> I can increase the ulinit for root but not for any user ???
> The message I get is operation is not permitted.
>
> I would appreciate any help,
>
> Greetings,
>
> John
>


Sent via Deja.com http://www.deja.com/
Before you buy.

------------------------------

From: Christopher Broussard <[EMAIL PROTECTED]>
Subject: Re: Interesting problem with Mandrake booting
Date: Wed, 26 Apr 2000 14:10:59 -0400

Leonid Moiseichuk wrote:

> Hi folks,
>
> I have installed Mandrake 7.0 with kernel 2.2.14p5 and lilo 21 at
> K6-200MHz.
> After installation system booting OK. I built new kernel and add
> it to LILO boot (old and new kernels). After that I make
> lilo -v command and everything is OK.
>
> After reboot both kernel is not loadable, they write
> "Uncompressing Linux ...." and no messages about loading
> Linux. Only random HDD seeks. By my mean, the problem
> in kernel uncompression

    I recently had problems with LILO after making a new kernel.  I went
back and remade the kernel using 'bzImage' and made LILO using 'make
bzlilo'.  This seemed to correct the problem.


------------------------------

From: [EMAIL PROTECTED] (TurkBear)
Subject: Re: bypass shell in /etc/passwd?
Date: Wed, 26 Apr 2000 18:25:11 GMT
Reply-To: See Message body for real address


At the boot: prompt, enter linux single

This will bypass security and allow you to re-edit your passwd file to correct
it


[EMAIL PROTECTED] wrote:

>I changed the root shell '/sbin/sh' to '/sbin/ksh'.  But,
>ksh shell was not under '/sbin'.  It tell me 'no shell' if I am trying
>to login as root.  Now I am stack.  I still remember the password.
>
>Do anyone know how to bypass the shell specified in /etc/passwd? Or Get
>around with this problem?  Thank you alot.
>
>
>Sent via Deja.com http://www.deja.com/
>Before you buy.



====== Posted via Newsfeeds.Com, Uncensored Usenet News ======
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
=======  Over 80,000 Newsgroups = 16 Different Servers! ======

------------------------------

From: Leslie Hamilton <[EMAIL PROTECTED]>
Subject: Linux / Windows 95 modems
Date: Wed, 26 Apr 2000 18:30:04 GMT

I have a dual boot Linux / Windows 95 system.  Everything runs fine, but I 
have an internal 'Winmodem' fitted therefore cannot download to my Linux 
partition from the Internet.
Any suggestions for an external Linux / Windows 95 modem that will work?

--
Posted via CNET Help.com
http://www.help.com/

------------------------------

From: Markus Kossmann <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps
Subject: Re: Logical Volume Manager for Linux?
Date: Wed, 26 Apr 2000 20:08:12 +0200

George wrote:
[...]
> 
> Bottom line is... Is there such a program that exists for Linux that
> can do volume management?
> 
Have a look at http://linux.msede.com/lvm/

--
Markus Kossmann                                    
[EMAIL PROTECTED]

------------------------------

From: Scott Bishop <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help
Subject: Re: Question about setting an X-only login using xdm/gdm in Slackware...
Date: Wed, 26 Apr 2000 13:35:03 -0500

Hey Lew,

Lew Pitcher wrote:
> 
> 
> In text file /etc/inittab, change the :initdefault: line to (IIRC)
> runstate 4, i.e.
>   id:4:initdefault:
> 
> In Slack7, there iare comments at the start of /etc/inittab that
> indicate the proper values for each runstate

Damn.  I should have realized this. :)  It worked, and I've gotten it up
and running... thanks a whole bunch! :)

-- 
--Scott Bishop
WALKER BOLT Manufacturing Co.

(Notice: The opinions stated in this message are not necessarily those
of my employer, nor of any other sane individual for that matter.)

------------------------------

From: Gerald Willmann <[EMAIL PROTECTED]>
Subject: Re: Counting hard disks
Date: Wed, 26 Apr 2000 11:34:37 -0700

On Wed, 26 Apr 2000, Chris West wrote:

> How can I just count the number of hard disks?

open the case and start counting :)
                                       Gerald 

-- 


------------------------------

From: [EMAIL PROTECTED] (Robie Basak)
Crossposted-To: comp.infosystems.www.misc
Subject: Re: looking for 'simple' proxy for unix
Reply-To: [EMAIL PROTECTED]
Date: 26 Apr 2000 18:40:33 GMT

On Wed, 26 Apr 2000 13:14:32 GMT, Michel Bardiaux said:
>Philip Brown wrote:
>> 
>> I'm looking for a 'simple' proxy for unix.
>> It should
>>    * NOT cache
>>    * Be highly reliable software
>>        (no need for dumb hacks like an auto-restarting loop)
>>    * Have minimal security like "only allow connections from 1.2.x.x"
>>    * Handle http, and SSL-tunneling proxies
>>    * Have an active, or at least interested, developer
>>    * Be free, and run under UNIX.
>> 
>> IDEALLY, it should also handle browser-ftp proxying.
>> 
>> The above criteria rule out squid, and the TIS "firewall toolkit".
>> 
>I don't know about SQUID, but why is TIS FWTK ruled out?

I don't know about TIS FWTK, but why is squid ruled out?

I've had it do all of the above.

Robie.
-- 

------------------------------

From: Young4ert <[EMAIL PROTECTED]>
Subject: How to discard some sequence of strings from a file?
Date: Wed, 26 Apr 2000 11:49:16 -0400

Hi,

I have a huge text file that contains the following lines in some places
(of couse without the tabs and the +++++ lines):

+++++
        #
        # Reinitialization
        #
        P=3
+++++

If I use `grep -v "pattern" textfile > textfile.tmp; mv textfile.tmp
textfile`, how can I do that?  How about using "sed"?

Does anyone will like to help?  TIA.

-- 
[EMAIL PROTECTED]

PS> Remove the "4" from e-mail address to respond.

------------------------------

From: [EMAIL PROTECTED]
Subject: authorization
Date: Wed, 26 Apr 2000 19:04:58 GMT

 I have big problem in authorization via pop3.
 For a reason it doesn't like any of linux users and password. When i
connect to the port 110 and authorize i can always see that password is
incorrect. the user name and password is correct. It also doesn't
depend on pop server, i changed qmail-pop3d for qpopper and can see
nearly the same (different syntax of course). When i run the pop server
from command line it works well but only when i act as a superuser. I
can't make correct authorization via telnet and also not using outlook
as a mail client.
 So, where does the pop server look for user name and password ?
/etc/passw ?
 And why does it refuse correct name and password ?


Sent via Deja.com http://www.deja.com/
Before you buy.

------------------------------

From: root <[EMAIL PROTECTED]>
Subject: Re: authorization
Date: Wed, 26 Apr 2000 14:21:20 -0500

[EMAIL PROTECTED] wrote:

>  I have big problem in authorization via pop3.
>  For a reason it doesn't like any of linux users and password. When i
> connect to the port 110 and authorize i can always see that password is
> incorrect. the user name and password is correct. It also doesn't
> depend on pop server, i changed qmail-pop3d for qpopper and can see
> nearly the same (different syntax of course). When i run the pop server
> from command line it works well but only when i act as a superuser. I
> can't make correct authorization via telnet and also not using outlook
> as a mail client.
>  So, where does the pop server look for user name and password ?
> /etc/passw ?
>  And why does it refuse correct name and password ?
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.

If you are using shadow passwords, then you need to recompile qpopper.
Follow this link and read the question about shadow passwords, etc.

http://www.eudora.com/freeware/qpop_faq.html

After that everything is just peachy.

Will


------------------------------

From: William Gibson <[EMAIL PROTECTED]>
Crossposted-To: uk.comp.os.linux,comp.os.linux.setup
Subject: Re: I think I have been HACKED!!!
Date: Wed, 26 Apr 2000 15:29:07 -0400

In article <[EMAIL PROTECTED]>, 
Kerr Gibson <[EMAIL PROTECTED]> wrote:

> After reading this series of articles, it got me thinking about my own 
> system. This system is unknown to anyone save my own little LAN, so I 
> did not expect any kind of outside attempts to login. But, when I did a 
> little check of /var/log/secure* files, I found the following entries:

Aha, wait. Futher inspection of the message files in /var/log show that 
all of the access attempts were via FTP and were only alive for a few 
seconds at most. One of the attempts was made with the login name 'mp3'.

I assume then, that some napster clients have been trying to pick off 
mp3 files from my /home/ftp directory. The funny thing is, I 
experimented with Gnapster a few months ago, but since discarded it. 
Since my IP address has changed due to the dhcp assignments I doubt if 
my address has been the same as a few months ago (I know it has changed 
serveral times).

Is it that somebody else on the the cable ISP has been using Napster and 
now I have their address from random assignment? Does this occur in 
Napster? I don't seem to have any background process giving away my IP 
address to a Napster server.

Anyway, I definately plugged up the holes by putting All:All into 
hosts.deny. Is there anything else I should do. Anyone got a good online 
tutorial on setting up security for Linux. Thanks.
-- 
William Gibson
1stDesk Systems
[EMAIL PROTECTED]

------------------------------

From: Christopher Fonnesbeck <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help
Subject: anonymous ftp problem
Date: Wed, 26 Apr 2000 15:33:23 -0700

I am trying to set up an anonymous ftp server on my Linux machine, using
wu-ftp.  However, when users try and log in anonymously, they are asked
for a password, rather than their e-mail address.  Neither the wu-ftp
man pages nor the website has any insight into this problem.

Any help much appreciated,
-- 
~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*

Christopher J. Fonnesbeck
Doctoral Candidate

Georgia Co-operative Wildlife Unit
University of Georgia
Athens, GA  30602-2152

email: [EMAIL PROTECTED]
icq: 61788164
fax: (253) 399-3637

~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*

------------------------------

From: Tim B�kstr�m Laursen <[EMAIL PROTECTED]>
Subject: Re: Files just stops downloading at random
Crossposted-To: alt.os.linux.dial-up
Date: Wed, 26 Apr 2000 21:40:28 +0200

On Tue, 25 Apr 2000, The Neuromancer wrote:
>I had the same problem.  I'm not sure if this will work for you, but try it.  You 
>never know.
>
>Make sure setserial is setting the port to the highest setting your modem supports.  
>(mine is 230400, but most 56k modems are 115200)
>
>In the file /etc/sysconfig/network-scripts/ifcfg-ppp0, set LINESPEED=115200 if 
>setserial is set to 230400 and LINESPEED=57600 if setserial is set to 115200.
>
>I have no idea why this works, but it has been working for me for a long time.  It 
>seems that ppp's linespeed must be lower than the speed of the serial port.
>
>Hope this helps,

Thanks a lot. Apparently it does. I am writing this with krn, which was
previously impossible because I couldn't get through the news group list
download.


- Tim -

------------------------------

From: [EMAIL PROTECTED] (Peter Moore)
Subject: Problems with local TTYs (ssh?)
Date: 26 Apr 2000 19:32:57 GMT

  Hi.  I can't login on the local terminal for _any_ user. I'd been using
telnet then su'ing to root for administation, so I'm not sure exactly when
this happened. I'm guessing it might have something to do with installing
secure shell and some interaction between that and Red Hat 6.0's PAM
setup?
  I checked /etc/securetty, and see the following:
tty1
tty2
tty3
tty4
tty5
tty6
tty7
tty8

----
ls -l /etc/securetty:
-rw-------   1 root     root           40 Sep  4  1995 /etc/securetty


Any help on this would be appreciated. We had to reboot yesterday when the
other admin accidently killed sshd.  Not a good situation to be in...

Thanks,
Peter Moore

------------------------------

From: [EMAIL PROTECTED] (Herb Stein)
Subject: Re: Repeat Command
Date: Wed, 26 Apr 2000 19:46:56 GMT

Sorry. ESC-k. Then k as often as needed to get to the right command line.

In article <y_DN4.35663$[EMAIL PROTECTED]>, "Ira 
Weiner" <[EMAIL PROTECTED]> wrote:
>Of these suggestions, only the !! worked.  The ESC-Up Arrow doesn't work on
>my machine.  The !! is ok, but I was hoping to scroll through a history of
>commands, rather than just call up the last one.
>
>
>Dowe Keller <[EMAIL PROTECTED]> wrote in message
>news:[EMAIL PROTECTED]...
>> On Wed, 26 Apr 2000 04:38:33 GMT, Herb Stein <[EMAIL PROTECTED]> wrote:
>> >Up arrow.
>>
>> in vi-mode do esc + up-arrow
>>
>> >In article <Kw_M4.21016$[EMAIL PROTECTED]>,
>"Ira
>> >Weiner" <[EMAIL PROTECTED]> wrote:
>> >>Can someone tell me how to repeat a command using bash?  I have put
>"set -o
>> >>vi" in the .bash_profile and /etc/profile, but it doesn't recognize it.
>>
>> --
>> dowe [EMAIL PROTECTED]
>> ---
>> prototype, n.:
>> First stage in the life cycle of a computer product, followed by
>> pre-alpha, alpha, beta, release version, corrected release version,
>> upgrade, corrected upgrade, etc.  Unlike its successors, the
>> prototype is not expected to work.
>
>

--
Herb Stein
The Herb Stein Group
www.herbstein.com
[EMAIL PROTECTED]
314 215-3584

------------------------------

From: [EMAIL PROTECTED]
Subject: Re: How Microsoft inhibits competition & innovation
Crossposted-To: 
comp.os.ms-windows.nt.advocacy,comp.os.ms-windows.advocacy,comp.lang.java.advocacy
Date: 26 Apr 2000 19:52:51 GMT

Ermine Todd <[EMAIL PROTECTED]> wrote:
: Not to harp on too fine a point, but I suggest that you research the
: MSInstaller service before you condemn it as "just another installer".  It
: is an integral element of the OS that does much more than just copy files.

        Can it give me a complete file/registry/etc manifest both before and
        after install?  A dependency manifest both forwards and back through
        the hierarchy (what components depend on it and which it depends
        upon)?  Automatic dependency satisfaction (such as automatically
        installing DirectX, a VB runtime, or JRE, iff it's not installed
        already (as known by the package database))?  For bonus points, it
        should be able to automatically download those required components
        via HTTP, FTP, or off a local CDROM...without the user being
        required to open a browser or know a URL.  For even more bonus
        points, an admin should be able to easily build their own "meta"
        package that simply lists dependencies for the software they want so
        the entire list can be installed in one go.

        To call MSInstaller simply a copy program would be kind...at least
        when I use copy I know what is going where... At least with del I
        know what is being removed... :-(

        AFAIK, there is no way to pick a random file in the system and say,
        "To which application does this belong?".  Sometimes information in
        the file may tell you, most times it won't.

        What of the message MS's deinstaller gives, "Some components could
        not be removed.  You should remove them manually." ...then
        completely fails to offer any method to find the list of components
        that need to be removed...  Or the never ending list of, "The shared
        component Foobar.DLL is no longer in use by any application, would
        you like to delete it?"...then finding when you do it breaks god
        knows what...After a few dozen times one simply learns to never,
        ever delete any DLL from anywere in Windows for any reason if you
        want a chance in hell of keeping the system stable.  To really have
        a chance however, you simply can't uninstall anything, full stop.

        IMHO, the #1 problem Windows really has is a total lack of any real
        package management system.  It looks pretty to be sure and Win2k is
        even prettier, but it is functionally inept.

: The SFC utility is terribly hard to find:  you might try Find/Search but
: if that's too much for you, you can always just try Start-Run-SFC.

        Looks interesting, however it would have been completely useless for
        the problem I described.  Safe mode didn't come up; there simply was
        no running GUI, which in turn makes SFC useless, AFAICT.

-- 
-Zenin ([EMAIL PROTECTED])           From The Blue Camel we learn:
BSD:  A psychoactive drug, popular in the 80s, probably developed at UC
Berkeley or thereabouts.  Similar in many ways to the prescription-only
medication called "System V", but infinitely more useful. (Or, at least,
more fun.)  The full chemical name is "Berkeley Standard Distribution".

------------------------------

From: Harlan Grove <[EMAIL PROTECTED]>
Subject: Re: How to discard some sequence of strings from a file?
Date: Wed, 26 Apr 2000 12:44:56 -0700

So you want to delete lines from a file in-place in an
automated (scriptable) fashion? You could use ex with a
command line script.


* Sent from AltaVista http://www.altavista.com Where you can also find related Web 
Pages, Images, Audios, Videos, News, and Shopping.  Smart is Beautiful

------------------------------

From: [EMAIL PROTECTED] (M. Buchenrieder)
Subject: Re: URGENT HELP NEEDED - gzip/gunzip
Date: Wed, 26 Apr 2000 16:10:13 GMT

[EMAIL PROTECTED] writes:

[...]

>I'm in urgent need of help.  We have several d/l's coming from our
>mainframe system.  These files are gzipped on the mainframe.  The size
>of the files gzipped are between 200meg and 1gig.  This translates to
>multi-gig files (possibly upto around 80gigs/file) after unzipping.

[...]

On what kind of machine and filesystem are you trying to unzip that ?
If you're using an ext2fs filesystem, then you're probably running
against the built-in limitation for filesizes <= 2GB .

Michael
-- 
Michael Buchenrieder * [EMAIL PROTECTED] * http://www.muc.de/~mibu
          Lumber Cartel Unit #456 (TINLC) & Official Netscum
    Note: If you want me to send you email, don't munge your address.

------------------------------


** FOR YOUR REFERENCE **

The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:

    Internet: [EMAIL PROTECTED]

You can send mail to the entire list (and comp.os.linux.misc) via:

    Internet: [EMAIL PROTECTED]

Linux may be obtained via one of these FTP sites:
    ftp.funet.fi                                pub/Linux
    tsx-11.mit.edu                              pub/linux
    sunsite.unc.edu                             pub/Linux

End of Linux-Misc Digest
******************************

Reply via email to