xwinnmr2.5 patch installation - summary

Leek, Don (Don.Leek@nrc.ca)
Mon, 6 Dec 1999 09:08:34 -0500

Thanks to all who responded to my Friday afternoon request for help with a
patch installation problem. There seems to be some interest in this issue
so I thought I would distribute my conclusions.

Here is the Bruker report bug info:

This problem could be because you have shadow passwording.
Here is the fix:
Bug Number: 1557
Bug Type: SOFT
Bug Status: closed
Operating System: IRIX
Program: XWIN-NMR
Application: automation
Occured in Version:
Occured in Patchlevel:
Instrument: AV.+A*X
Solved in Version:
Solved in Patchlevel:
Hardware Unit:
Hardware Group:
Part Number:

Short Description: nmrsuperuser password is not accepted by expinstall
etc.

Full Description:

expinstall and probably other commands which prompt for the
NMR Superuser password do not accept this password although
it was typed in correctly. This happens when the NMR
Superuser is in /etc/shadow, not in /etc/passwd.

Workaround:

1) Move the nmrsuperuser entry from /etc/shadow to
/etc/passwd.
OR :
2) Change the nmrsuperuser to root
- open a UNIX shell
- become superuser: type su - root
- cd /<var>/prog/bin
- ./installnmr <var> root
where <var> is the path where XWIN-NMR is installed.

I ran into some problems when I tried to run 'installnmr'(a Perl script)
because my current Perl libraries are not compatible with the 'installnmr'
script. That may be another side-effect of the patch download although I
haven't investigated that issue yet.

Here is Jane Strouse's clever workaround which is what I ended up doing:

Dear Don,

If you are using a shadow file for passwords (generally recommended)
you will have this problem. I have gotten around it before by editing the
password file to put in a password for the NMR superuser. Just type out
/etc/shadow, select it's encrypted password with the mouse, then insert it
into /etc/passwd in the usual field for the password of the NMR superuser.

Jane

***********************************
Donald M. Leek
Chemical Biology NMR Laboratory
Steacie Institute for Molecular Sciences
National Research Council Canada
Ottawa, Canada K1A 0R6
phone: (613) 993-6356
fax: (613) 952-0068
email: don.leek@nrc.ca
http://chembio.sims.nrc.ca/~nmr/info
***********************************