Red Hat Topics - Need help with NIS yppasswd and others...

This is Interesting: Free IT Magazines  
Home > Archive > Red Hat Topics > September 2006 > Need help with NIS yppasswd and others...





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Need help with NIS yppasswd and others...
Sako

2006-09-21, 7:14 am

Hi gents this is a newbie trying to catch up with a running system
config!

Hope you can help me, this is my issue:

I have 6 machines that can copy files by scp and run shh
comands without writting password in other machine.
The person that configured all of this doesn't longer work
with us so there's no way to know how , or why ?

I think one machine has yppasswd or shares some kind of NIS
passwd with the others , because local password where changed and the
procedures keep working.

I tried to find passwd.nis , find nis files , tried to run
yppasswd but it says there's no domain configured , or something like
that .

So ... Is there any place where I can try to find this
Network passwords so I can include a new machine in this group ??

Can any one tellme mor or less wich things I should take
in consideration to see how I works?

Excuse my English , thanks in advance, and ask as much as
you like because I can't find any answer in other groups.

Scott Lurndal

2006-09-21, 1:13 pm

"Sako" <lluis.clemente@gmail.com> writes:
> Hi gents this is a newbie trying to catch up with a running system
>config!
>
> Hope you can help me, this is my issue:
>
> I have 6 machines that can copy files by scp and run shh
>comands without writting password in other machine.
> The person that configured all of this doesn't longer work
>with us so there's no way to know how , or why ?
>
> I think one machine has yppasswd or shares some kind of NIS
>passwd with the others , because local password where changed and the
>procedures keep working.


Has nothing to do with NIS or yypasswd. The person created a public/private
key pair with the private key unprotected (no passphrase).


> So ... Is there any place where I can try to find this
>Network passwords so I can include a new machine in this group ??


First, on the new machine as the user, generate a keypair. ssh-keygen (or ssh-keygen2)
and specify a null passphrase.

On the new machine, for the user which is the target of the ssh or
scp, add the public key from each of the other machines (~user/.ssh/id_rsa.pub)
to the ~usr/.ssh/authorized_keys file on the new machine. Additionally,
add the public key from the new machine to the authorized_keys files on
each of the other systems.

That said, this is pretty insecure. One should always have passphrases on private
keys. One can use ssh-agent to cache the private key during a session.

For further information:

man ssh
man sshd
man ssh-keygen
man ssh-agent
man ssh-add

scott

Sako

2006-09-21, 1:13 pm

WOOOOOOWWWW
really really thank you hope I can get this to work.
That was what I was looking for.
Scott Lurndal ha escrito:

> "Sako" <lluis.clemente@gmail.com> writes:
>
> Has nothing to do with NIS or yypasswd. The person created a public/private
> key pair with the private key unprotected (no passphrase).
>
>
>
> First, on the new machine as the user, generate a keypair. ssh-keygen (or ssh-keygen2)
> and specify a null passphrase.
>
> On the new machine, for the user which is the target of the ssh or
> scp, add the public key from each of the other machines (~user/.ssh/id_rsa.pub)
> to the ~usr/.ssh/authorized_keys file on the new machine. Additionally,
> add the public key from the new machine to the authorized_keys files on
> each of the other systems.
>
> That said, this is pretty insecure. One should always have passphrases on private
> keys. One can use ssh-agent to cache the private key during a session.
>
> For further information:
>
> man ssh
> man sshd
> man ssh-keygen
> man ssh-agent
> man ssh-add
>
> scott


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com