Linux-Misc Digest #244, Volume #27               Tue, 27 Feb 01 08:13:02 EST

Contents:
  Re: MS to Enforce Registration - or Else ("Edward Rosten")
  syslogd does not log ip-packet-logs any more (peter pilsl)
  Re: ncurses with gdb?? (Thomas Dickey)
  Re: Newbie and .gz files. (Gerald Willmann)
  Re: perl and mod_perl (Stefano Ghirlanda)
  Re: small linux distro (Stefano Ghirlanda)
  Re: Scanners under Linux (Michael Heiming)
  Re: I can't restart my adsl-connection of rp-pppoe (peter pilsl)
  Re: Linux partitioning question (Jean-David Beyer)
  Re: MS to Enforce Registration - or Else (Aaron Kulkis)
  Re: [Q] How do I boot without a keyboard connected? (mike)
  Re: identd processes  -- what for? (Jean-David Beyer)
  Re: Samba 2.0.7/RH7.0 and W2K
  Re: more help needed with changing root password (Jean-David Beyer)
  Re: Setting global environment variables (Jean-David Beyer)
  Re: more help needed with changing root password (Lew Pitcher)

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

From: "Edward Rosten" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.advocacy
Subject: Re: MS to Enforce Registration - or Else
Date: Tue, 27 Feb 2001 10:11:38 +0000

>> You wonder how they seem able to justify it to them selves to tell bare
>> faced lies, and how they want to mindlessly presue party dogma despite
>> mounting evidence that is is crazy. If it goes through, then the fisrt
>> big air crash will probably see them out at the end of ofice.
>> 
>> -Ed
> 
> So, you're saying that government ownership prevents crashes?
> 
> Spot the idiocy.

Your post?


The fact is that after the government privatised the railways, safety
went down the tube and they're having to bail out the company that owns
th railways with more public money. 

The fact is that it costs money to keep it safe and when you have a
private company, that money is not going to the shareholders. Skimping on
safety is a good way to save money, and increase profits. Since the
government is under no obligation to make a profit, they can put safety
first.


It is plain madnedd to put such a safety critical task (like air traffic
control) in the hands of people that consider profit to be the most
important thing.

-ed


-- 
                                                     | u98ejr
                                                     | @ 
             Share, and enjoy.                       | eng.ox
                                                     | .ac.uk

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

From: peter pilsl <[EMAIL PROTECTED]>
Subject: syslogd does not log ip-packet-logs any more
Date: Tue, 27 Feb 2001 11:13:54 +0100


I wonder, what I did to my system, but it stopped logging a lot of things 
about a month ago. Most recognizeable is that there is no logging of 
ipchains-logs any more (kind of 'ipchains -A frombad -j DENY -l')

funny thing is, I can still view these logs with dmesg, so this is not a 
ipchains-problem.

for testing, I set up a quite simple syslog.conf:

*.*                                                     /var/log/messages     

So this should just log all the stuff !! And I didnt change the kernel 
since last summer, so this also cannot be the reason ....

peter


-- 
pilsl@
goldfisch.at

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

From: Thomas Dickey <[EMAIL PROTECTED]>
Subject: Re: ncurses with gdb??
Date: 27 Feb 2001 10:14:27 GMT

Davis Eric <[EMAIL PROTECTED]> wrote:
> Hi, there, 

> I have a question on how to debug a ncurses program
> using gdb. 

> I used "tty /dev/output_term_name" in gdb and then go
> to "output_term" to let it "sleep 1000". Then I
> returned to gdb to "run". But I always got 
> "Program received signal SIGTTIN, Stopped (tty input).
> 0xff318d4c in _libc_read ()" whenever I want to input
> something in the terminal which will display the
> windows.

> What is the reason for this? What is the correct way
> to debug ncurses programs with gdb?

you can tell gdb to ignore specific signals (perhaps, also, you are running
gdb in the same terminal window and it/ncurses are quarreling over the
terminal I/O - you can attach from another window and solve that problem)

-- 
Thomas E. Dickey <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
http://dickey.his.com
ftp://dickey.his.com

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

From: Gerald Willmann <[EMAIL PROTECTED]>
Subject: Re: Newbie and .gz files.
Date: Tue, 27 Feb 2001 11:30:35 +0100

On Tue, 27 Feb 2001, Barbadega wrote:

> Hi, I am reading the Apache HOWTO on RedHat's site.
>
> It says to install the Apache RPM.
> I have downloaded : apache_1_3_17.tar.gz
> I think this is compressed... How do I de-compress it? Will the RPM be
> inside?

that would be the source. Better - for a newbie - to grab the binary rpm.
Go to rufus.w3.org and you should find what you need (and lots more).

  Gerald


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

From: Stefano Ghirlanda <[EMAIL PROTECTED]>
Subject: Re: perl and mod_perl
Date: 27 Feb 2001 11:48:05 +0100

"Wong Ching Kuen Frederick" <[EMAIL PROTECTED]> writes:

> do i need to install perl in order to ues mod_perl in apache?!

Yes.

-- 
Stefano - Hodie tertio Kalendas Martias MMI est

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

From: Stefano Ghirlanda <[EMAIL PROTECTED]>
Subject: Re: small linux distro
Date: 27 Feb 2001 11:54:00 +0100

"Major Dondo" <[EMAIL PROTECTED]> writes:

> I need to put a small linux distro on an old laptop.

After finding a distro that you like, read also the Saving-Sapce
mini-HOWTO. 

-- 
Stefano - Hodie tertio Kalendas Martias MMI est

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

From: Michael Heiming <[EMAIL PROTECTED]>
Subject: Re: Scanners under Linux
Date: Tue, 27 Feb 2001 12:00:02 +0100

[EMAIL PROTECTED] wrote:

> On Mon, 26 Feb 2001 10:02:52 +0100, Michael Heiming <[EMAIL PROTECTED]>
> wrote:
>
> > I have a really very cheap Mustek SCSI scanner:
>
> > Host: scsi0 Channel: 00 Id: 06 Lun: 00
> >   Vendor: SCANNER  Model:                  Rev: 2.02
> >   Type:   Scanner                          ANSI SCSI revision: 01 CCS
>
> Uh... that was informative!
>
> frank

Yeahh....but this is all this cheap crap Mustek Scanner says!

On the other hand, your post, I bet, it's very informative/helpful to the
OP and for everyone else in this ng!

I'm sure it took you some deep thoughts to figure it out....:-)

Michael Heiming
Sysadmin



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

From: peter pilsl <[EMAIL PROTECTED]>
Subject: Re: I can't restart my adsl-connection of rp-pppoe
Date: Tue, 27 Feb 2001 12:05:46 +0100

In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] 
says...
> I am using rp-pppoe to connect to internet from my adsl-modem at home.
> I encounter a problem that when I telnet to my home computer from
> outside for a long time, the connection will freeze. Besides, sometimes
> if my home online for a long time, the connection will also freeze. 
> I don't think it is the problem of rp-pppoe but I think that it is the
> problem of my adsl modem, as similar thing will happen when I use
> windows. So I would like to write a script to restart my connection if
> it detect the connection is die. Then I encounter a problem, I find that
> after I use "adsl-stop" to kill my connection, I can't use "adsl-start"
> to bring up the connection, I must restart my computer in order to bring
> up the connection. I think that I can restart the connection if I can
> reset eth0, but how can I do?
> 

you can bring down your eth0 with ifconfig, just like
ifconfig eth0 down

But there should be no need for doing so. I drive my adsl with pptp and I 
also have to reconnect frequently, but I just kill the tunnel-processes 
(ppp, pptp) which also shuts down the ppp-interface and then I reconnect.

peter



-- 
pilsl@
goldfisch.at

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

From: Jean-David Beyer <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: Linux partitioning question
Date: Tue, 27 Feb 2001 07:22:05 -0500

"Greg H." wrote (in part):
> 
> In comp.os.linux.hardware Peter T. Breuer <[EMAIL PROTECTED]> wrote:
> 
> > (ignorance is NOT a good reason for doing something ..=)
> 
> > If you don't know, then plainly you should go and find out. Check the
> > HOWTO.
> 
> Unless you actually take the time to perform backups and carry out true
> administrative measures regarding your box and several partitions, then it's
> all for naught.  I am willing to bet that less than half of those who actually
> feel compelled to use any of the partitioning schemes described in the HOWTO
> never back up anything except their personal user files.  If you're going to
> apply the concepts of the Partitioning HOWTO, then make damn sure you take
> heed of the Backup HOWTO and the SAG so you truly understand why you're
> doing what you're doing and if you really, truly need it.
> 
This reminds me of a saying I used to repeat at my former employer's
(it did not ingratiate me with the management): We haven't time to
stop for gas, we are late already!

If you do not have time to perform backups, you will have to make much
more time to recover lost files without the backups. While hardware
and (some) software is more reliable than in the past, my experience
in the computing business since about 1954 has made me very conscious
of the problems of data (including program) loss, and I do backups
every day. If you do not care how your storage is partitioned, and
cannot find the time to do backups (how much time could it take if
cron does it while you are asleep), why do you care about anything?
Why have a computer at all?

-- 
 .~.  Jean-David Beyer           Registered Linux User 85642.
 /V\                             Registered Machine    73926.
/( )\ Shrewsbury, New Jersey     http://counter.li.org 
^^-^^ 7:15am up 15:14, 3 users, load average: 1.13, 1.08, 1.13

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

From: Aaron Kulkis <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.advocacy
Subject: Re: MS to Enforce Registration - or Else
Date: Tue, 27 Feb 2001 07:33:50 -0500



Edward Rosten wrote:
> 
> >> You wonder how they seem able to justify it to them selves to tell bare
> >> faced lies, and how they want to mindlessly presue party dogma despite
> >> mounting evidence that is is crazy. If it goes through, then the fisrt
> >> big air crash will probably see them out at the end of ofice.
> >>
> >> -Ed
> >
> > So, you're saying that government ownership prevents crashes?
> >
> > Spot the idiocy.
> 
> Your post?
> 
> The fact is that after the government privatised the railways, safety
> went down the tube and they're having to bail out the company that owns
> th railways with more public money.

Lousy management is its own reward.

Of course, since you guys have become sooooooo fucking socialist,
all of your best managers left LONG ago for the United States.


> 
> The fact is that it costs money to keep it safe and when you have a
> private company, that money is not going to the shareholders. Skimping on
> safety is a good way to save money, and increase profits. Since the
> government is under no obligation to make a profit, they can put safety
> first.
> 
> It is plain madnedd to put such a safety critical task (like air traffic
> control) in the hands of people that consider profit to be the most
> important thing.
> 
> -ed
> 
> --
>                                                      | u98ejr
>                                                      | @
>              Share, and enjoy.                       | eng.ox
>                                                      | .ac.uk

-- 
Aaron R. Kulkis
Unix Systems Engineer
DNRC Minister of all I survey
ICQ # 3056642

L: "meow" is yet another anonymous coward who does nothing
   but write stupid nonsense about his intellectual superiors.


K: Truth in advertising:
        Left Wing Extremists Charles Schumer and Donna Shelala,
        Black Seperatist Anti-Semite Louis Farrakan,
        Special Interest Sierra Club,
        Anarchist Members of the ACLU
        Left Wing Corporate Extremist Ted Turner
        The Drunken Woman Killer Ted Kennedy
        Grass Roots Pro-Gun movement,


J: Other knee_jerk reactionaries: billh, david casey, redc1c4,
   The retarded sisters: Raunchy (rauni) and Anencephielle (Enielle),
   also known as old hags who've hit the wall....

I: Loren Petrich's 2-week stubborn refusal to respond to the
   challenge to describe even one philosophical difference
   between himself and the communists demonstrates that, in fact,
   Loren Petrich is a COMMUNIST ***hole

H: "Having found not one single carbon monoxide leak on the entire
    premises, it is my belief, and Willard concurs, that the reason
    you folks feel listless and disoriented is simply because
    you are lazy, stupid people"

G:  Knackos...you're a retard.


F: Unit_4's "Kook hunt" reminds me of "Jimmy Baker's" harangues against
   adultery while concurrently committing adultery with Tammy Hahn.

E: Jet is not worthy of the time to compose a response until
   her behavior improves.

D: Jet Silverman now follows me from newgroup to newsgroup
   ...despite (C) above.
 
C: Jet Silverman claims to have killfiled me.

B: Jet Silverman plays the fool and spews out nonsense as a
   method of sidetracking discussions which are headed in a
   direction that she doesn't like.

A:  The wise man is mocked by fools.

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

From: mike <[EMAIL PROTECTED]>
Subject: Re: [Q] How do I boot without a keyboard connected?
Date: Tue, 27 Feb 2001 07:24:09 -0500

Hi All,
            I once read an article about how to do it. I haven't been able
to find it, but I remember that you had to make a "dongle" .
You get a DIN connector and solder a resistor between some pins.
That tells the bios that there is a keyboard connected. If I find the
article I will post it.

                                                    Mike


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

From: Jean-David Beyer <[EMAIL PROTECTED]>
Subject: Re: identd processes  -- what for?
Date: Tue, 27 Feb 2001 07:34:45 -0500

"Nils O. Selåsdal" wrote:
> 
> "Jean-David Beyer" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> > Stearns28 wrote:
> > >
> > > Hi all,
> > >
> > > There are six or seven "identd -e -o" processes showed up on the output
> of "ps
> > > -ax".  What are those processes for? "man identd" says identd is for
> > > identifications purpose.  Is it an essential service?  Is it a security
> risk?
> > >
> > Bizarre.
> >
> > It is useful for sendmail, though not usually vital. It is probably
> > not a security risk, but mine is setup so that only a few systems
> > (in /etc/hosts.allow) can use it, just in case (my other machine on
> > my LAN, and my ISP).
> >
> > Mine is not started as a daemon (I see no use to do that). It is run
> > only as needed, and since my machine is really mostly a desktop,
> > that is only a few times per day (when I am sending e-mail through
> > my ISP to someone on the Internet).

> Many other servers can be set up to use it, e.g. Apache.
> It is used (among other things) to get information about the user(owner) of
> a process that did a tcp connection.

OK by me. On my machine, though, it tells the users of identd less
than they may expect, since that always says [EMAIL PROTECTED] 
because my dialer-upper runs as root to get control of the modem in a
controlled way; i.e., I do not have it come up and stay up when I boot
my system. The users seem to be satisfied by that. But if I had lots
of users on this machine and a few were spammers or other abusers, it
would not help me identify them. (Were that the case, though, I would
look for other methods.)

-- 
 .~.  Jean-David Beyer           Registered Linux User 85642.
 /V\                             Registered Machine    73926.
/( )\ Shrewsbury, New Jersey     http://counter.li.org 
^^-^^ 7:25am up 15:24, 3 users, load average: 1.16, 1.09, 1.09

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

From: <[EMAIL PROTECTED]>
Crossposted-To: 
alt.os.linux,alt.uu.comp.os.linux.questions,comp.os.linux,comp.os.linux.admin,comp.os.linux.networking,comp.os.linux.setup,comp.protocols.smb
Subject: Re: Samba 2.0.7/RH7.0 and W2K
Date: Tue, 27 Feb 2001 12:37:34 GMT

Im running Win2k and I have samba on my solaris machine. Couple quesitons:

1. Did you enable Plain text passwords in windows 2k? (similar to the way
you would do it in windows 98). In windows 2k you have to open the regeistry
editor
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanworkstation\param
eters

Then add or edit a value named enableplantextpassword of type REG_DWORD.
Double click on this new value and set it to 1 with Radix type Hex

2. Is it necessary to have different host names and IP's on your single
dual boot machine? each time you turn the computer on it has to register
with the network. Usually this operates smoothly but there are times when it
goes awry. This is why i would suggest using the same hostname and ip
addresses on each OS in the dual boot.

3. Hard kill (pkill smbd and pkill nmbd) and restart samba (or reboot your
samba machine :)



"Meron Lavie" <[EMAIL PROTECTED]> wrote in message
news:967soa$h0l$[EMAIL PROTECTED]...
> I have Samba 2.0.7 running on RH7.0.
>
> I have a dual-boot (W2K/WinMe) PC on the same LAN. I gave each OS its own
> computer name and IP. Both OS's and the Linux have both IPs and host names
> appearing in their HOSTS file.
>
> Both W2K and WinMe can see and access shared directories on the Linux via
> Samba wioth no problem (I enabled un-encrypted passwords on both).
>
> However, only the WinMe can succesfully logon to the domain.
>
> I get the following error messages: "Failed due to process number out of
> range" or "credentials already exist".
>
> What am I doing wrong?
>
> --
> Meron Lavie
> www.redmatch.com - World's Largest Hi-Tech Salary Site
> [EMAIL PROTECTED]
> NOTE: THERE ARE NO NUMBERS IN MY REAL EMAIL ADDRESS HOST NAME: ANTI-SPAM!
>
>
>
>
>
>



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

From: Jean-David Beyer <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.misc
Subject: Re: more help needed with changing root password
Date: Tue, 27 Feb 2001 07:38:50 -0500

"Peter T. Breuer" wrote:
> 
> In comp.os.linux.misc richard noel fell <[EMAIL PROTECTED]> wrote:
> > Possibly. How do I edit /etc/shadow? The file is not readable by emacs, for 
>instance.
> 
> It's readable by anything. Do you mean that its permissions bits are
> set to 000? You are root. Or just don't use shadow. What is the point
> of using shadow for you?  Do you have multiple users on your system?
> If not, run pwunconv, and be happy editing passwd.
> 
Is that a good idea? Once you run pwunconv, everything is as in the
bad old days. Someone could copy his /etc/passwd out the Internet,
crack the password file at his leasure, and then make a mess of
things. What if this user were using only the 8-byte encryption of the
passwords in the /etc/passwd as well?

Or did you mean that he should pwunconv, edit /etc/passwd, and then
pwconv to put things back?

-- 
 .~.  Jean-David Beyer           Registered Linux User 85642.
 /V\                             Registered Machine    73926.
/( )\ Shrewsbury, New Jersey     http://counter.li.org 
^^-^^ 7:35am up 15:34, 3 users, load average: 1.42, 1.20, 1.12

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

From: Jean-David Beyer <[EMAIL PROTECTED]>
Subject: Re: Setting global environment variables
Date: Tue, 27 Feb 2001 07:49:25 -0500

"Nils O. Selåsdal" wrote:
> 
> "Mladen Gavrilovic" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> > >
> > > not at runtime AFAIK, but if you add that command to /etc/profile then
> it
> > > will work for every new shell.
> > >
> > yeah, I added it to profile already... I was just wondering if there was
> > a way to test it without rebooting... oh well, here I go again <click>
> you dont reboot, switch back and forth in some runlevels will do, type:
> init 3 ; init 5
> 
> you reboot a linux box when:
> 1. You add or remove hardware
> 2. You upgrade the kernel
> 3. power failure.

  4.) When a process gets stuck in STAT D and you cannot get it off,
and unless you do get it off, a file (typically a device) is still
open with a lock on it.

-- 
 .~.  Jean-David Beyer           Registered Linux User 85642.
 /V\                             Registered Machine    73926.
/( )\ Shrewsbury, New Jersey     http://counter.li.org 
^^-^^ 7:45am up 15:44, 3 users, load average: 1.02, 1.05, 1.07

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

From: [EMAIL PROTECTED] (Lew Pitcher)
Crossposted-To: linux.redhat.misc
Subject: Re: more help needed with changing root password
Reply-To: [EMAIL PROTECTED]
Date: Tue, 27 Feb 2001 12:59:56 GMT

On Mon, 26 Feb 2001 21:25:12 -0500, richard noel fell <[EMAIL PROTECTED]>
wrote:
>Possibly. How do I edit /etc/shadow? The file is not readable by emacs, for instance.
>Thanks again for any help,
>Dick Fell
>Jean-David Beyer wrote:
>
>> richard noel fell wrote:
>> >
>> > Sorry to be such a bother, but this is not going as smoothly as I had hoped.
>> >
>> > I edited, via the rescue disk, the /etc/passwd file for my root entry to
>> >
>> > root::0:root:/root:/bin/bash. Now, when I reboot, when I try to log in as root, I 
>am prompted for a password. Of course
>> >
>> > this is what I was trying to avoid in the first place. Is not my entry for root 
>in etc/passwd correct to allow me
>> >
>> > to log on without a password?
>> >
>> Could your problem be that you are using shadow passwords and you
>> should be editing /etc/shadow instead of /etc/passwd?

I just tried a quick test on my 'shadow-enabled' Linux box, and
deleting the password mark from /etc/passwd works as I described
(logon doesn't require a password). My guess is that you have some
other password management package enabled (i.e. PAM perhaps?), and it
is interfering here.

Since I don't use PAM, I can't tell you how to disable it. IIRC,
there's a /etc/pam.conf file (or something of that nature) that
contains the PAM config. Perhaps, if you use PAM, you can look for the
config file, and see what can be done to disable it.



Lew Pitcher
Information Technology Consultant
Toronto Dominion Bank Financial Group

([EMAIL PROTECTED])


(Opinions expressed are my own, not my employer's.)

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


** 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 by posting to comp.os.linux.misc.

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