1834613 Members
3774 Online
110069 Solutions
New Discussion

Re: New user creation

 
SOLVED
Go to solution
Timothy DiBenedetto_1
Occasional Advisor

New user creation

Is there a easier way to add a single user to MANY HP-UX servers other than adding the same user to each box individually 1 at a time.
(Without migration into Widows Active Directory ) which I believe is LDAP.

Thank you.
7 REPLIES 7
James R. Ferguson
Acclaimed Contributor
Solution

Re: New user creation

Hi Tim:

This seems to be a popular question the last week. LDAP aside, Have a look at this recent query:

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1217047

In particular, take note of Dusan's script that is attached therein.

Regards!

...JRF...
Timothy DiBenedetto_1
Occasional Advisor

Re: New user creation

Very helpful.

What about adding a user to different systems from 1 location. Like a "centralized management location". Add a user to 1 system and have that user added to many systems?
Tim.
YAQUB_1
Respected Contributor

Re: New user creation

Hi Tim,

If your systems is LDAP environment please follow the process.

To create a new profile, run
/opt/ldapux/config/setup. When setup asks you for the distinguished name (DN) of the profile, give a DN that does not exist and setup will prompt you for the parameters to build a new profile. The setup program also configures the local client to use the new profile.

Alternatively, you could use your directory administration tools to make a copy of an existing profile and modify it.

You can also use the interactive tool create_profile_entry to create a new profile as follows:
cd /opt/ldapux/config
./create_profile_entry

[Note:-for that LDAP client should be installed to all other servers except LDAP Servers and that time u have to provide address of LDAP Servers]

Thanks--Yaqub
HP Support!!!
Timothy DiBenedetto_1
Occasional Advisor

Re: New user creation

Yaqub, thank you. At this point we do not have LDAP. Is there another way to acheive this result without using LDAP. I would like to add 1 user to a system, and have that user added to all systems at the same time, (replicated or some sort of replication).

Thank you, Tim.
YAQUB_1
Respected Contributor

Re: New user creation

Hi Tim,

U can try to rlogin or SSH way, U can see the URL site. It will help full U.

http://forums12.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1207024503819+28353475&threadId=1210256

Thanks--Yaqub
HP Support!!!
Steven Schweda
Honored Contributor

Re: New user creation

NIS is one way. "man nis" may point to NIS+,
which is too modern for me, but there should
be oodles of plain-old NIS documentation
floating around. "man ypmake" should lead to
various NIS-related "man" pages. Naturally,
it requires some set-up effort, but it can
take a lot of fooling around out of many such
management tasks.

I haven't found a good reason to avoid using
NIS, and I can't imagine relying on some
ad-hoc script to distribute info like this
among any significant number of systems.

(LDAP (about which I know even less) seems to
support Windows systems, and I don't suffer
from that particular requirement, so I can
afford to remain ignorant of it for now.)
Shibin_2
Honored Contributor

Re: New user creation

Hi,

If you are not using NIS and LDAP, still you want to create user in all Unix boxes, then create a script to push the account.

We are using the same structure (script) to push the new user account for all boxes.

Thanks
Regards
Shibin