Operating System - Tru64 Unix
1752569 Members
5004 Online
108788 Solutions
New Discussion юеВ

Re: 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 5
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?