Operating System - HP-UX
1834160 Members
2304 Online
110064 Solutions
New Discussion

migrate users/password from Sun Solaris to HPUX

 
SOLVED
Go to solution
Yuri Mendoza
Occasional Contributor

migrate users/password from Sun Solaris to HPUX

Hi,


I need to know if it is possible to migrate the usernames and passwords from a RADIUS on a SUN Solaris to a HP-UX AAA Server?

Lo mas importante es saber cuando pedir ayuda
3 REPLIES 3
Steven E. Protter
Exalted Contributor
Solution

Re: migrate users/password from Sun Solaris to HPUX

I think at least part of this operation will be manual.

You can move the users over , but the password encrption methodology is probably not compatible, between the OS. There are a few independent consultants who can do the transition, but I'm not one of those.

I would have to do this:

copy the /etc/passwd file or equivalent from Sun to HP not to the /etc directory.

Delete the admin users. Check the UID on the users so they don't conflict with existiing OS users.

Make sure the number of fields in the file match HP-UX : delimited.

cat sunpasswd >> /etc/passwd

pwck

To look for errors.

Then use a script to reset the users passwords and force a change on first login.

Under this "plan" the users will will have to use telnet or ssh to complete setup on their accounts and set a password.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Gary L. Paveza, Jr.
Trusted Contributor

Re: migrate users/password from Sun Solaris to HPUX

You'll also need to do some home directory setup. I've attached a script to do this (you'll probably have to edit it a bit).

Naveej.K.A
Honored Contributor

Re: migrate users/password from Sun Solaris to HPUX

hi,

as far as i know sun uses the /etc/shadow for storing passwords in encrypted form, so just copying /etc/passwd won't help!!!!!

regds
Naveej
practice makes a man perfect!!!