Linux-Misc Digest #454, Volume #25               Tue, 15 Aug 00 16:13:04 EDT

Contents:
  open SSH 2.1.1 cannot connect with PAM authentication (redhat) 
([EMAIL PROTECTED])
  Linux Directory Handling
  Linux OS server and Solaris 8 diskless client (Joe Cooley)
  Re: kernel compiling for sparc64 under sparc32 (Pete Zaitcev)
  Re: lilo or grub? (Leonard Evens)
  FWD: More on SuSE and 64bits (blowfish)
  Re: Linux Directory Handling (Tony Lawrence)
  Re: Mandrake-7.1 + Dual Celeron BP6 ? ("Peter T. Breuer")
  Re: Problem With /bin/login Behavior ("Bill \"Houdini\" Weiss")
  Adding a path to /etc/man.config ("D. D. Brierton")
  +@ in /etc/passwd? (Dan Stromberg)
  recompiling kernel (Eugene Y Lee)
  virtual directories in linux??? (Jason)
  Re: virtual directories in linux??? (Cannon Fodder)
  newbie: adding users/ changing passwords... (Geir)

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

From: [EMAIL PROTECTED]
Crossposted-To: comp.security.ssh,linux.redhat.misc
Subject: open SSH 2.1.1 cannot connect with PAM authentication (redhat)
Date: 15 Aug 2000 21:18:55 +0300
Reply-To: [EMAIL PROTECTED]



        Does anyone know why this is happening? According to
        linuxconf, there is no password time expiry limit, and
        I can still log normally with telnet command.

        Please, keep the CC, thank you.

        Jari

The clinet, who connects:

  newton:~ >/usr/local/bin/ssh -v -l jaalto terra.cs.tpu.fi
  F-SECURE SSH Version 1.3.6 [sparc-sun-solaris2.6], protocol version 1.5.
  Standard version.  Does not use RSAREF.
  newton: Reading configuration data /etc/ssh_config
  newton: ssh_connect: getuid 588 geteuid 0 anon 1
  newton: Connecting to terra.cs.tpu.fi [195.148.56.6] port 22.
  newton: Connection established.
  newton: Remote protocol version 1.99, remote software version OpenSSH_2.1.1
  newton: Waiting for server public key.
  newton: Received server public key (768 bits) and host key (1024 bits).
  newton: Host 'terra.cs.tpu.fi' is known and matches the host key.
  newton: Initializing random; seed file /home/staff-f/jaalto/.ssh/random_seed
  newton: IDEA not supported, using 3des instead.
  newton: Encryption type: 3des
  newton: Sent encrypted session key.
  newton: Installing crc compensation attack detector.
  newton: Received encrypted confirmation.
  newton: No agent.
  newton: Trying RSA authentication with key 'jaalto@newton'
  newton: Received RSA challenge from server.
  Enter passphrase for RSA key 'jaalto@newton': 
  newton: Sending response to host key RSA challenge.
  newton: Remote: RSA authentication accepted.
  newton: RSA authentication refused.
  newton: Doing password authentication.
  [EMAIL PROTECTED]'s password: 
  Permission denied.
  newton:~ >
        
The server, who receives the connection:


  [root@terra /root]# sshd -d
  debug: sshd version OpenSSH_2.1.1
  debug: Seeding random number generator
  debug: read DSA private key done
  debug: Seeding random number generator
  socket: Invalid argument
  debug: Bind to port 22 on 0.0.0.0.
  Server listening on 0.0.0.0 port 22.
  Generating 768 bit RSA key.
  debug: Seeding random number generator
  debug: Seeding random number generator
  RSA key generation complete.
  debug: Server will not fork when running in debugging mode.
  Connection from 193.167.70.2 port 57487
  debug: Client protocol version 1.5; client software version 1.3.6 F-SECURE SSH
  debug: Local version string SSH-1.99-OpenSSH_2.1.1
  debug: Sent 768 bit public key and 1024 bit host key.
  debug: Encryption type: 3des
  debug: Received session key; encryption turned on.
  debug: Installing crc compensation attack detector.
  debug: Starting up PAM with username "jaalto"
  debug: Attempting authentication for jaalto.
  Accepted rsa for jaalto from 193.167.70.2 port 57487
  debug: PAM setting rhost to "newton.tpu.fi"
>>>  PAM rejected by account configuration: User account has expired
  Faking authloop for illegal user jaalto from 193.167.70.2 port 57487
  Connection closed by 193.167.70.2
  debug: Calling cleanup 0x804e5a0(0x0)
  Cannot close PAM session: System error
  Cannot delete credentials: Authentication service cannot retrieve user credentials
  debug: Calling cleanup 0x805fcc0(0x0)
  [root@terra /root]# 

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

From: <[EMAIL PROTECTED]>
Subject: Linux Directory Handling
Date: Tue, 15 Aug 2000 18:29:41 GMT

If I am to handle very lengthy and complex directories while doing a high
level application processing...

Is there any utility to go back and forth easily in the directories?

For example

If I am in the 10th sub-dir and want to go to the 4th sub-dir back and from
there another route...

Pl. let me know.

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

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

From: Joe Cooley <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux
Subject: Linux OS server and Solaris 8 diskless client
Date: Tue, 15 Aug 2000 10:33:32 -0400

Hello.

Has anyone attempted to make a diskless Solaris 7 or 8 client run off of
a Linux OS server?  I am running Redhat 6.1 and have run into some
problems.  I can get the Solaris machine to boot over the net with RARP
and bootparams running on the Linux box, but it is having problems.  The
diskless Solaris client does not seem to be properly connecting to its
root directory via NFS.  I listed the root directory in /etc/fstab,
/etc/bootparams/, and /etc/exports to allow NFS connection.  My tcpdump
is the follows:

(baws is the diskless client and roan is the linux server)

17:11:06.885291 eth0 > roan.1081 > baws3.16621: udp 100
17:11:06.890711 eth0 < baws3.16621 > roan.1081: udp 4
17:11:09.243049 eth0 > rarp reply baws3 at baws3
17:11:09.253307 eth0 > roan.sunrpc > baws3.849: udp 76
17:11:09.408179 eth0 B arp who-has roan (Broadcast) tell baws3
17:11:09.408224 eth0 > arp reply roan (0:c0:4f:79:33:c0) is-at
0:c0:4f:79:33:c0 (baws3)
17:11:09.415626 eth0 < baws3.945 > roan.938: udp 60
17:11:09.416352 eth0 > roan.938 > baws3.945: udp 84
17:11:09.575864 eth0 < baws3.785 > roan.sunrpc: udp 56
17:11:09.576196 eth0 > roan.sunrpc > baws3.785: udp 28
17:11:09.582660 eth0 < baws3.775 > roan.883: udp 104
17:11:09.583445 eth0 > roan.883 > baws3.775: udp 60
17:11:09.589498 eth0 < baws3.24 > roan.nfs: 116 lookup fh Unknown/1
"platform"
17:11:09.589647 eth0 > roan.nfs > baws3.24: reply ok 128 lookup fh
Unknown/1
17:11:09.596285 eth0 < baws3.25 > roan.nfs: 124 lookup fh Unknown/1
[|nfs]
17:11:09.596409 eth0 > roan.nfs > baws3.25: reply ok 128 lookup fh
Unknown/1
17:11:09.603029 eth0 < baws3.26 > roan.nfs: 116 lookup fh Unknown/1
"kernel"
17:11:09.603144 eth0 > roan.nfs > baws3.26: reply ok 128 lookup fh
Unknown/1
17:11:09.609716 eth0 < baws3.27 > roan.nfs: 116 lookup fh Unknown/1
"sparcv9"
17:11:09.609815 eth0 > roan.nfs > baws3.27: reply ok 28 lookup ERROR: No
such file or directory
17:11:09.616490 eth0 < baws3.28 > roan.nfs: 116 lookup fh Unknown/1
"sun4u"
17:11:09.616601 eth0 > roan.nfs > baws3.28: reply ok 128 lookup fh
Unknown/1
17:11:09.623239 eth0 < baws3.29 > roan.nfs: 116 lookup fh Unknown/1
"kernel"
17:11:09.623351 eth0 > roan.nfs > baws3.29: reply ok 128 lookup fh
Unknown/1
17:11:09.629929 eth0 < baws3.30 > roan.nfs: 116 lookup fh Unknown/1
"sparcv9"
17:11:09.630040 eth0 > roan.nfs > baws3.30: reply ok 128 lookup fh
Unknown/1
17:11:09.636637 eth0 < baws3.31 > roan.nfs: 112 lookup fh Unknown/1
[|nfs]
17:11:09.636741 eth0 > roan.nfs > baws3.31: reply ok 128 lookup fh
Unknown/1
17:11:09.650853 eth0 < baws3.32 > roan.nfs: 104 getattr fh Unknown/1
17:11:09.650927 eth0 > roan.nfs > baws3.32: reply ok 96 getattr DIR
40755 ids 0/3 sz 4096
17:11:09.657790 eth0 < baws3.33 > roan.nfs: 116 lookup fh Unknown/1
"sparcv9"
17:11:09.657871 eth0 > roan.nfs > baws3.33: reply ok 28 lookup ERROR: No
such file or directory
17:11:09.664595 eth0 < baws3.34 > roan.nfs: 116 read fh Unknown/1 64
bytes @ 0
17:11:09.664678 eth0 > roan.nfs > baws3.34: reply ok 164 read
17:11:09.672017 eth0 < baws3.35 > roan.nfs: 116 read fh Unknown/1 392
bytes @ 64
17:11:09.672096 eth0 > roan.nfs > baws3.35: reply ok 492 read
17:11:09.678736 eth0 < baws3.36 > roan.nfs: 116 read fh Unknown/1 32
bytes @ 603484
17:11:09.678809 eth0 > roan.nfs > baws3.36: reply ok 132 read
17:11:09.685494 eth0 < baws3.37 > roan.nfs: 116 read fh Unknown/1 19
bytes @ 500972
17:11:09.685564 eth0 > roan.nfs > baws3.37: reply ok 120 read
17:11:09.693978 eth0 < baws3.38 > roan.nfs: 116 read fh Unknown/1 8192
bytes @ 0
17:11:09.694119 eth0 > roan > baws3: (frag 9448:900@7400)
17:11:09.694145 eth0 > roan > baws3: (frag 9448:1480@5920+)
17:11:09.694176 eth0 > roan > baws3: (frag 9448:1480@4440+)
17:11:09.694243 eth0 > roan > baws3: (frag 9448:1480@2960+)
17:11:09.694262 eth0 > roan > baws3: (frag 9448:1480@1480+)
17:11:09.694282 eth0 > roan.nfs > baws3.38: reply ok 1472 read (frag
9448:1480@0+)
17:11:10.695367 eth0 < baws3.38 > roan.nfs: 116 read fh Unknown/1 8192
bytes @ 0
.......

It appears to me that no mounting is taking place for some reason.  I
don't know if it is the Linux side or the Solaris side.  My bootparams
file on the Linux box contains the OS server and directory mount point,
so I am stumped.  Does anyone have any suggestions for the Linux part,
or anything?

I have been busily searching Linux and Solaris documentation,
newsgroups, etc., so here I am.  Any help would be greatly appreciated.

Thanks,
Joe Cooley
[EMAIL PROTECTED]


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

From: [EMAIL PROTECTED] (Pete Zaitcev)
Crossposted-To: comp.os.linux.setup
Subject: Re: kernel compiling for sparc64 under sparc32
Date: Tue, 15 Aug 2000 18:35:38 GMT

On Tue, 15 Aug 2000 15:16:01 +0200, Daniel Goergen <[EMAIL PROTECTED]> wrote:
> Hello!
> How can I compile a Kernel for a sparc64 on a sparc32 machine?

It is doable. First, you must have a gcc that generates a good
code for sparc64. DaveM and JJ suggested me to use egcs-1.1.2
that RH ships. Best of all is to download SRPM from a Redhat
mirror and compile it.

Then, go into the top level Makefile and set prefixes to your
compiler. Then look at the clever macro that determines what
flags to use and ardwire the sparc64 case. Also hardwire ${ARCH}.

Your binutils must support v9 assembler mnemonics.

When all is set, just do "make oldconfig && make dep && make" as always.

Good luck,
--Pete

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

From: Leonard Evens <[EMAIL PROTECTED]>
Subject: Re: lilo or grub?
Date: Tue, 15 Aug 2000 13:22:51 -0500

Jeff Davis wrote:
> 
> What are the differences between lilo and grub and which is considered
> more stable? All I have used so far is lilo, and I am trying to firgure
> out whether I should switch or upgrade to the latest lilo.
> 
> Thanks,
> Jeff Davis

I don't know much about grup, but if the version of lilo you are
using works, there should be no reason to switch.  The lilo boot
loader is really fairly simple, and it should either work or not
work.   There should be no issues of stability.

-- 

Leonard Evens      [EMAIL PROTECTED]      847-491-5537
Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208

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

From: blowfish <[EMAIL PROTECTED]>
Reply-To: ..
Crossposted-To: alt.os.linux.suse
Subject: FWD: More on SuSE and 64bits
Date: Tue, 15 Aug 2000 11:55:44 -0700

AMD's Sledgehammer gets first OS pledge
By: Andrew Orlowski in San Francisco
Posted: 15/08/2000 at 04:48 GMT

AMD's Sledgehammer chip looks like it has hit the ground running. Only five days
after publishing the instruction set for the new 64-bit processor, SuSE has
announced that it has the GNU gcc compiler and some basic parts of the toolchain
ready for x86-64, and similar announcements are expected from the other Linux
distros at LinuxWorld this week. 

Full article: http://www.theregister.co.uk/content/1/12584.html

Official SuSE, AMD x86-64 bit developer site.

http://www.x86-64.org/
===============================================

-- 
- Alex / blowfish.- Just an average, whimpy, non-geek American computer user.
  (Have Fun with geek's culture:-Version
2.4-pre-release99999-test-1234567.pre-beta5000.)
- If Vi is God's editor. Then, God must have too much free time on his hands,
  lives a very dull and unproductive life; so he needs Vi to waste his time.
  But Vi was still too fast. So God created EMACS on the 8th day - which takes
  Eight Months to load, And Counting Still...
- The UN-GEEK CODE:(?What is a geek?)-#!?+++??++++|$????+++++?????+++!!!!???+++---
  geek + vi | ~/emacs ==>ZZZZZZZZZZZZZZZZZZzzzzzzzzzzzzzzz!!!!!!!!!!.......:P~
  newbies + Windoz | C:\LOOKOUT
EXPRESS==>_the_horrors_the_horrrrrrrroOOOOORRRRRRRRRSSSSzzzzz!!! :-|
- My SAS (Sing-A-Song) Fingerprint -v.i007.bond: Doe1(-a deer, a female deer.)
RaY2(- a drop of golden sun.)
  Me3(- A name, I call myself.) FAr4(- A long, long way to run.) Sew5(-A needle
pulling thread.)
  lA6(-A note to follow sew.) TeA7(-A drink with jam and bread.) That will bring
us back to DOe-oh-oh-oh.
  (c) Copy Righted by Alex / blowfish -2000. All Rights Reserved.

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

From: Tony Lawrence <[EMAIL PROTECTED]>
Subject: Re: Linux Directory Handling
Date: Tue, 15 Aug 2000 14:56:37 -0400

[EMAIL PROTECTED] wrote:
> 
> If I am to handle very lengthy and complex directories while doing a high
> level application processing...
> 
> Is there any utility to go back and forth easily in the directories?
> 
> For example
> 
> If I am in the 10th sub-dir and want to go to the 4th sub-dir back and from
> there another route...


You mean like cd ../../../.. ?


-- 
Tony Lawrence ([EMAIL PROTECTED])
SCO/Linux articles, help, book reviews, tests, 
job listings and more : http://www.pcunix.com

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

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: Mandrake-7.1 + Dual Celeron BP6 ?
Date: 15 Aug 2000 19:07:28 GMT

Ish Rattan <[EMAIL PROTECTED]> wrote:
: I just installed Madrake-7.1 on a Abit-BP6 motherboard with dual 500Mhz
: Celerons.
: The system reports only 64Mb RAM  (out of 128Mb installed -- detected
: correctly at
: power up by the BIOS). Is there a way to make it see the rest of the
: RAM?

No - it's completely impossible. All the people in the universe with
more than 64M and linux are only using 64M of it. All those smp
machines running apache servers in cluster configurations of 100s are
only using 64M. What do YOU think?

Go back to your install screen/install manual/deja.com/linuxnewbie.org
ad look for 64M. You should see it on page 1 of any of them, repeated
umpteen times.

Peter

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

From: "Bill \"Houdini\" Weiss" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.security
Subject: Re: Problem With /bin/login Behavior
Date: Tue, 15 Aug 2000 12:38:49 -0700

On Tue, 15 Aug 2000 21:28:28 +1200, Mara allowed Grant Petersen
<[EMAIL PROTECTED]> to write:

>I think they need just to be re-prompted for login if  just a CR is sent
>rather then getting a bad login prompt.
>I didn't get that they want a null login from the mail I read.
>
>Maybe it's for some kind of automated remote task via telnet. Isn't expect a
>tool for this kind of thing ?
>
>I don't have in.telnetd on my system :  maybe
>    man telnetd
>or
>    man in.telnetd
>would be the place to start.

Oh, right.  I read that wrong.  Chalk it up to the time of evening.

The the original poster (sorry for that), why do you need it to do that?

-- 
Bill "Houdini" Weiss
minus the _spam, of course

They come at 3:30 in the morning.  Most people aren't up then, but I am.
I can't sleep... ever!
        Tweek, South Park (217)

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

From: "D. D. Brierton" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux.mandrake
Subject: Adding a path to /etc/man.config
Date: Tue, 15 Aug 2000 20:15:23 +0100

I'm running Mandrake 7.1. Several rpm packages I've installed lately put
their man pages in /usr/share/man, however /etc/man.config contains no
MANPATH statement for that path and consequently man cannot find the new
manpages.

My /etc/man.config contains the following comment at the beginning,
however:

#
# Generated automatically from man.conf.in by the
# configure script.
#

My question, then, is should I edit /etc/man.config by hand to contain
the following two lines:

MANPATH         /usr/share/man
MANPATH_MAP     /usr/bin        /usr/share/man

or should these changes be made elsewhere and then some configure script
be run? The advantage of the latter would be that should /etc/man.config
be automatically regenerated it will contain these changes. I could not
locate a file man.conf.in to which the above comment appears to refer
anywhere on my system.

Thanks in advance,

Best,

Darren

-- 
======================================================================
D. D. Brierton       Department of Philosophy, University of Edinburgh
[EMAIL PROTECTED]                    http://www.cogsci.ed.ac.uk/~ddb
======================================================================

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

From: [EMAIL PROTECTED] (Dan Stromberg)
Subject: +@ in /etc/passwd?
Date: 15 Aug 2000 19:15:12 GMT

Has anyone found a way to use netgroups of users to restrict who can
log into a machine, analogous to the netgroup restriction available
for Sun, SGI, DEC?

I mean the cookie thingy you put in /etc/passwd like this:

+@math-users::0:0:::

Maybe there's a PAM module or something?

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

From: Eugene Y Lee <[EMAIL PROTECTED]>
Subject: recompiling kernel
Date: Tue, 15 Aug 2000 15:37:21 -0400

I've been trying to recompile the kernel to get USB support and whenever
I try to boot to the new kernel it gives me erros such as 

Aug 15 13:08:45 eyl depmod: depmod: *** Unresolved symbols in
/lib/modules/2.2.1
4-5.0/misc/uircc.o 

I get this error for many different modules.  Does anyone know what
could cause this?

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

From: Jason <[EMAIL PROTECTED]>
Subject: virtual directories in linux???
Date: Tue, 15 Aug 2000 15:34:14 -0400

Hi,

Would anyone know how to create a virtual directory in linux?  I'm
assuming that's what I need to do anyway.  I need a directory that
automatically redirects you to another directory.  (the little ~ in a
directory listing).
At least give me the address of a good FAQ anyway?  Thanks loads!
Jason



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

From: Cannon Fodder <[EMAIL PROTECTED]>
Subject: Re: virtual directories in linux???
Date: Tue, 15 Aug 2000 19:46:12 GMT


Are you talking about symbolic links?

ln -s /source-dir /dest-dir

On Tue, 15 Aug 2000, Jason wrote:

> Hi,
> 
> Would anyone know how to create a virtual directory in linux?  I'm
> assuming that's what I need to do anyway.  I need a directory that
> automatically redirects you to another directory.  (the little ~ in a
> directory listing).
> At least give me the address of a good FAQ anyway?  Thanks loads!
> Jason
> 
> 
> 
> 


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

From: Geir <[EMAIL PROTECTED]>
Subject: newbie: adding users/ changing passwords...
Date: Tue, 15 Aug 2000 21:55:53 +0200

Is it possible to add a new user and give the new user a password in one
single command?

I know that I can do:

"adduser newuser"

and then

"passwd newuser"

to change the password manually (when logged in as root).
However, the "passwd"-command asks you to type the password, and I would
like to be able to specify the password on the commandline; something
like this:

"passwd newuser newpasswd",

this would the set "newuser" password to "newpassword". How can this be
done?


Geir.


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


** 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