Sure, you can. The ssh-key settings are just an optional configuration that 
OSCAR makes for users' convenience even though the root password-less access 
cross all the nodes is inevitable during the oscar installation.

Please do whatever you need but I would rather backup the /root/.ssh/ directory 
somewhere just in case.

Regards,

- DongInn


Joseph Norris wrote:
> Hi,
> 
> Can I just rebuild the keys for head node and then make sure 
> authorized_keys files are set correctly on compute nodes?
> 
> 
> 
> DongInn Kim wrote:
>> Hi Joseph,
>>
>> Have you checked to see if your oscarimage(e.g., 
>> /var/lib/systemimager/images/oscarimage) has the same "root/.ssh" as the one 
>> of your head node?
>> And please make sure authorized_keys{,2} are properly setup too.
>>
>> If it is not setup properly, the password access of root can not completed.
>>
>> I don't know what happens to your installation but I have never seen this 
>> problem on my default installation.
>> If you can provide some detail of your installation, I would like to 
>> reproduce your problems and then look into them further.
>>
>> Regards,
>>
>> - DongInn
>>
>>
>> Joseph Norris wrote:
>>   
>>> Here is what I did to try to fix this problem.  I deleted all the nodes 
>>> - re-added the nodes - re-imaged the nodes - re-start on all  nodes - 
>>> then did a "complete cluster setup"  I still get a password request for 
>>> root on node1. 
>>>
>>> What am I doing wrong on this?
>>>
>>> thanks.
>>>
>>> Joseph Norris wrote:
>>>     
>>>> Hmm....
>>>>
>>>> It is in the "complete cluster setup" that I get the request for the 
>>>> root passwords.
>>>>
>>>> Michael Edwards wrote:
>>>>   
>>>>       
>>>>> If you got a password from your user, that means it didn't get its
>>>>> .ssh files set up right either.
>>>>>
>>>>> Did you successfully run the "complete cluster setup" step?
>>>>>
>>>>> You could try running the "complete cluster setup" step again,
>>>>> sometimes that fixes things...
>>>>>
>>>>> On Fri, Aug 1, 2008 at 8:08 PM, Joseph Norris <[EMAIL PROTECTED]> wrote:
>>>>>   
>>>>>     
>>>>>         
>>>>>> Yes I did.
>>>>>>
>>>>>> Michael Edwards wrote:
>>>>>>     
>>>>>>       
>>>>>>           
>>>>>>> It should be set to yes so that is something.
>>>>>>>
>>>>>>> If the passwords are out of sync for root, that is difficult to fix
>>>>>>> without making a new image.
>>>>>>>
>>>>>>> When you ssh from the node as your user, did you get asked for a 
>>>>>>> password?
>>>>>>>
>>>>>>> On Fri, Aug 1, 2008 at 2:23 PM, Joseph Norris <[EMAIL PROTECTED]> wrote:
>>>>>>>
>>>>>>>       
>>>>>>>         
>>>>>>>             
>>>>>>>> PermitRootLogin is set to yes in sshd_config.  should that be changed 
>>>>>>>> or
>>>>>>>> is there something else I need
>>>>>>>>
>>>>>>>> thanks
>>>>>>>>
>>>>>>>> Michael Edwards wrote:
>>>>>>>>
>>>>>>>>         
>>>>>>>>           
>>>>>>>>               
>>>>>>>>> Well, it appears you don't have ssh root login enabled on the compute 
>>>>>>>>> nodes.
>>>>>>>>>
>>>>>>>>> That will cause the "complete" step to fail.  check the sshd.conf file
>>>>>>>>> on the image
>>>>>>>>>
>>>>>>>>> /var/lib/systemimager/images/oscarimage/etc/sshd.conf
>>>>>>>>>
>>>>>>>>> and make sure the enable root login flag is set.
>>>>>>>>>
>>>>>>>>> On Fri, Aug 1, 2008 at 2:03 PM, Joseph Norris <[EMAIL PROTECTED]> 
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>           
>>>>>>>>>             
>>>>>>>>>                 
>>>>>>>>>> Ok here is what I do.
>>>>>>>>>>
>>>>>>>>>> I logged into the head node and from the head node I ssh to one of 
>>>>>>>>>> the
>>>>>>>>>> compute nodes as the user that I used on the head node. Compute node
>>>>>>>>>> lets me just fine.  Then I su - and I put in the root password for 
>>>>>>>>>> the
>>>>>>>>>> head node and now I am root on the compute node.  home reflects
>>>>>>>>>> everything that is not the head node and the fstab file is as 
>>>>>>>>>> follows:
>>>>>>>>>>
>>>>>>>>>> /dev/hda6       /       ext3    defaults        1       2
>>>>>>>>>> /dev/hda5       swap    swap    defaults        0       0
>>>>>>>>>> /dev/hda1       /boot   ext3    defaults        1       2
>>>>>>>>>> /dev/shm        /dev/shm        tmpfs   defaults        1       2
>>>>>>>>>> /dev/fd0        /mnt/floppy     auto    noauto,owner    0       0
>>>>>>>>>> none    /dev/pts        devpts  defaults        0       0
>>>>>>>>>> none    /proc   proc    defaults        0       0
>>>>>>>>>> nfs_oscar:/home /home   nfs     rw      0       0
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> so it looks like home is getting mounted of the head node.
>>>>>>>>>>
>>>>>>>>>> The question still remains why I can not complete the installation 
>>>>>>>>>> from
>>>>>>>>>> the head node.
>>>>>>>>>>
>>>>>>>>>> thanks.
>>>>>>>>>>
>>>>>>>>>> Joseph Norris wrote:
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>             
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>>>> Hmmm.. I try to ssh in to one of the nodes but it will not accept 
>>>>>>>>>>> the
>>>>>>>>>>> root password that I set up when I installed linux.
>>>>>>>>>>>
>>>>>>>>>>> Michael Edwards wrote:
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>               
>>>>>>>>>>>                 
>>>>>>>>>>>                     
>>>>>>>>>>>> That generally means that NFS isn't working correctly and the home
>>>>>>>>>>>> directories are not mounted on the nodes.  Try sshing into one of 
>>>>>>>>>>>> the
>>>>>>>>>>>> problem nodes and mounting the home directory by hand and see if 
>>>>>>>>>>>> that
>>>>>>>>>>>> works.
>>>>>>>>>>>>
>>>>>>>>>>>> On Fri, Aug 1, 2008 at 11:44 AM, Joseph Norris <[EMAIL PROTECTED]
>>>>>>>>>>>> <mailto:[EMAIL PROTECTED]>> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>     Hello to all,
>>>>>>>>>>>>
>>>>>>>>>>>>     First of thanks to all that have responded to my very newbie
>>>>>>>>>>>>     inquiries.
>>>>>>>>>>>>     You have helped a great deal. I got everything installed on 
>>>>>>>>>>>> all the
>>>>>>>>>>>>     nodes and it went like a dream. Now on the "fat fingers" front 
>>>>>>>>>>>> I
>>>>>>>>>>>>     inadvertently hit the complete cluster installation without 
>>>>>>>>>>>> rebooting
>>>>>>>>>>>>     all of the nodes ( I know it says it says it very plainly).
>>>>>>>>>>>>
>>>>>>>>>>>>     Well I stopped the script and went and rebooted all the nodes -
>>>>>>>>>>>>     all went
>>>>>>>>>>>>     well.  However when I came back to do the complete cluster
>>>>>>>>>>>>     installation
>>>>>>>>>>>>     - it keeps coming up with a user root and password prompt.  I 
>>>>>>>>>>>> just hit
>>>>>>>>>>>>     enter thinking it will set up keys but it continues to ask for
>>>>>>>>>>>>     passwords.
>>>>>>>>>>>>
>>>>>>>>>>>>     What do I do?
>>>>>>>>>>>>
>>>>>>>>>>>>     --
>>>>>>>>>>>>     Joseph Norris
>>>>>>>>>>>>     Application Developer & Server Adminstrator
>>>>>>>>>>>>     209-228-4576
>>>>>>>>>>>>     [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>     
>>>>>>>>>>>> -------------------------------------------------------------------------
>>>>>>>>>>>>     This SF.Net email is sponsored by the Moblin Your Move 
>>>>>>>>>>>> Developer's
>>>>>>>>>>>>     challenge
>>>>>>>>>>>>     Build the coolest Linux based applications with Moblin SDK & 
>>>>>>>>>>>> win
>>>>>>>>>>>>     great prizes
>>>>>>>>>>>>     Grand prize is a trip for two to an Open Source event anywhere 
>>>>>>>>>>>> in
>>>>>>>>>>>>     the world
>>>>>>>>>>>>     http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>>>>>>>>     <http://moblin-contest.org/redirect.php?banner_id=100&url=/>
>>>>>>>>>>>>     _______________________________________________
>>>>>>>>>>>>     Oscar-users mailing list
>>>>>>>>>>>>     Oscar-users@lists.sourceforge.net
>>>>>>>>>>>>     <mailto:Oscar-users@lists.sourceforge.net>
>>>>>>>>>>>>     https://lists.sourceforge.net/lists/listinfo/oscar-users
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>>>>>
>>>>>>>>>>>> -------------------------------------------------------------------------
>>>>>>>>>>>> This SF.Net email is sponsored by the Moblin Your Move Developer's 
>>>>>>>>>>>> challenge
>>>>>>>>>>>> Build the coolest Linux based applications with Moblin SDK & win 
>>>>>>>>>>>> great prizes
>>>>>>>>>>>> Grand prize is a trip for two to an Open Source event anywhere in 
>>>>>>>>>>>> the world
>>>>>>>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>>>>>
>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>> Oscar-users mailing list
>>>>>>>>>>>> Oscar-users@lists.sourceforge.net
>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/oscar-users
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>                 
>>>>>>>>>>>>                   
>>>>>>>>>>>>                       
>>>>>>>>>> --
>>>>>>>>>> Joseph Norris
>>>>>>>>>> Application Developer & Server Adminstrator
>>>>>>>>>> 209-228-4576
>>>>>>>>>> [EMAIL PROTECTED]
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> -------------------------------------------------------------------------
>>>>>>>>>> This SF.Net email is sponsored by the Moblin Your Move Developer's 
>>>>>>>>>> challenge
>>>>>>>>>> Build the coolest Linux based applications with Moblin SDK & win 
>>>>>>>>>> great prizes
>>>>>>>>>> Grand prize is a trip for two to an Open Source event anywhere in 
>>>>>>>>>> the world
>>>>>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Oscar-users mailing list
>>>>>>>>>> Oscar-users@lists.sourceforge.net
>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/oscar-users
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>             
>>>>>>>>>>               
>>>>>>>>>>                   
>>>>>>>>> -------------------------------------------------------------------------
>>>>>>>>> This SF.Net email is sponsored by the Moblin Your Move Developer's 
>>>>>>>>> challenge
>>>>>>>>> Build the coolest Linux based applications with Moblin SDK & win 
>>>>>>>>> great prizes
>>>>>>>>> Grand prize is a trip for two to an Open Source event anywhere in the 
>>>>>>>>> world
>>>>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>>>>> _______________________________________________
>>>>>>>>> Oscar-users mailing list
>>>>>>>>> Oscar-users@lists.sourceforge.net
>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/oscar-users
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>           
>>>>>>>>>             
>>>>>>>>>                 
>>>>>>>> --
>>>>>>>> Joseph Norris
>>>>>>>> Application Developer & Server Adminstrator
>>>>>>>> 209-228-4576
>>>>>>>> [EMAIL PROTECTED]
>>>>>>>>
>>>>>>>>
>>>>>>>> -------------------------------------------------------------------------
>>>>>>>> This SF.Net email is sponsored by the Moblin Your Move Developer's 
>>>>>>>> challenge
>>>>>>>> Build the coolest Linux based applications with Moblin SDK & win great 
>>>>>>>> prizes
>>>>>>>> Grand prize is a trip for two to an Open Source event anywhere in the 
>>>>>>>> world
>>>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>>>> _______________________________________________
>>>>>>>> Oscar-users mailing list
>>>>>>>> Oscar-users@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/oscar-users
>>>>>>>>
>>>>>>>>
>>>>>>>>         
>>>>>>>>           
>>>>>>>>               
>>>>>>> -------------------------------------------------------------------------
>>>>>>> This SF.Net email is sponsored by the Moblin Your Move Developer's 
>>>>>>> challenge
>>>>>>> Build the coolest Linux based applications with Moblin SDK & win great 
>>>>>>> prizes
>>>>>>> Grand prize is a trip for two to an Open Source event anywhere in the 
>>>>>>> world
>>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>>> _______________________________________________
>>>>>>> Oscar-users mailing list
>>>>>>> Oscar-users@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/oscar-users
>>>>>>>
>>>>>>>       
>>>>>>>         
>>>>>>>             
>>>>>> --
>>>>>>
>>>>>>
>>>>>> Joseph Norris
>>>>>> Programmer III/System Administrator
>>>>>> UC Merced School of Natural Sciences
>>>>>>
>>>>>> Phone: 209-228-4576
>>>>>> Cell:  209-201-3410
>>>>>>
>>>>>>
>>>>>>
>>>>>> -------------------------------------------------------------------------
>>>>>> This SF.Net email is sponsored by the Moblin Your Move Developer's 
>>>>>> challenge
>>>>>> Build the coolest Linux based applications with Moblin SDK & win great 
>>>>>> prizes
>>>>>> Grand prize is a trip for two to an Open Source event anywhere in the 
>>>>>> world
>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>> _______________________________________________
>>>>>> Oscar-users mailing list
>>>>>> Oscar-users@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/oscar-users
>>>>>>
>>>>>>     
>>>>>>       
>>>>>>           
>>>>> -------------------------------------------------------------------------
>>>>> This SF.Net email is sponsored by the Moblin Your Move Developer's 
>>>>> challenge
>>>>> Build the coolest Linux based applications with Moblin SDK & win great 
>>>>> prizes
>>>>> Grand prize is a trip for two to an Open Source event anywhere in the 
>>>>> world
>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>> _______________________________________________
>>>>> Oscar-users mailing list
>>>>> Oscar-users@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/oscar-users
>>>>>   
>>>>>     
>>>>>         
>>>>   
>>>>       
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>> Build the coolest Linux based applications with Moblin SDK & win great prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> Oscar-users mailing list
>> Oscar-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/oscar-users
>>   
> 

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Oscar-users mailing list
Oscar-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-users

Reply via email to