Summary:Changing root password problem

From: Mark Fogelson (fogelson@sentientnet.com)
Date: Tue Oct 15 1996 - 12:33:16 CDT


attached mail follows:


Many thanks to the following for getting me straightened out.

James.E.Coby.Jr@cdc.com
Kevin Woods <kev@cnet.com>
Jigang Liu <jigang@gswrs6k1.gsw.peachnet.edu>
Fedor Gnuchev <qwe@ht.eimb.rssi.ru>

A little history. I acquired my system after the initial installation.
Being a old SunOS admin I am still learning about these Solaris issues.

My original problem was:

        I have been trying with difficulty this morning to
change the root password on my server. I am running Sol 2.4
with NIS+ . I followed the instructions in Sun's infodoc
#11988.

It states:

3.10: How to Change a NIS+ root passwd
 
To change a root passwd, you MUST use the following procedure.
 
First, issue the passwd command, and supply new passwd:
 
  # passwd
 
This will change the passwd in the local /etc/passwd file. Then, run
chkey -p and enter the new network passwd:
 
  # chkey -p
 
Finally, do keylogin -r to update /etc/.rootkey file with the new
private key for the server:
 
  # keylogin -r
 
This changes the private key for the server, while the public key
remains the same. This is necessary because clients use server's
public key for authentication.
 
If you use any other method for updating your root passwd, you can
totally mess up your NIS+ domain.

######################
Now the problem.

I changed the passwd with 'passwd'.
I then try to run the command 'chkey -p'.

Updating nisplus publickey database.
Reencrypting key for 'unix.xxx@mydomain.com'
Please enter Secure-RPC password for root:

When I try to enter my old password into this program, it won't take it.

What do I need to do to resolve this? Any and all help appreciated.

###################################################

The solution was provided by both James Coby and Jigang Liu. The
password I need to enter was "nisplus".

Many thanks again to all who responded.

-- 
+++ Mark Fogelson                       email: fogelson@sentientnet.com
+++ Systems/Network Administrator       phone: 941-371-5454 x39
+++ Sentient Networks Inc.                fax: 941-371-5532
+++ 2201 Cantu Court, Suite 205
+++ Sarasota, FL. 34232



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:13 CDT