Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
Operating System - Tru64 Unix
cancel
Showing results for 
Search instead for 
Did you mean: 

I need to migrate users to HP-UX

I need to migrate users to HP-UX

Hi..

I need to migrate tru64's user accounts to
Hp-ux. has anyone done this.


5 REPLIES
Ivan Ferreira
Honored Contributor

Re: I need to migrate users to HP-UX

With a simple scripting you could do this, the password field probably should be changed, and forced to change at next logon, but, now that you are migraging users, have you considered the use of a directory database like LDAP?
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?

Re: I need to migrate users to HP-UX

Thank you, for replying...

we are going to - but we can't - the application - is lawson lsf 9.0 - we are
stuck for now - which requires laua security
this upgrade requires the user accounts to
be in place before the install.
what i'm worried about is the passwd file..
its c2 security.
what about uid...
Ivan Ferreira
Honored Contributor

Re: I need to migrate users to HP-UX

The script could be created with commands like this:


awk -F ":" '{ print "groupadd -g",$3,$1 }' /etc/group > /tmp/groupadd.sh


awk -F ":" '$3 > 15 { print "useradd -u",$3,"-g",$4,"-c '",$5,"' -d",$6,$1 }' /etc/passwd > /tmp/useradd.sh

Check the sh files created before runing it. You can modify these sample commands to fit your needs.

Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?

Re: I need to migrate users to HP-UX

Thank You, it worked.
Ivan Ferreira
Honored Contributor

Re: I need to migrate users to HP-UX

Glad to hear that, please review this link:

http://forums1.itrc.hp.com/service/forums/helptips.do?#28

And take some time to assign points to the answers you got.

http://forums1.itrc.hp.com/service/forums/pageList.do?userId=CA1050918&listType=unassigned&forumId=1

Have a nice day.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?