Highlighted
Absent Member.
Absent Member.
1654 views

Create new users through rconsole command line

Hi there,

Is there any way of creating users via command line? we would like to be able to create a script to recreate all our users and if possible all there rights for DR purposes.

Thanks

Robbie
Labels (1)
0 Likes
5 Replies
Highlighted
Absent Member.
Absent Member.

Re: Create new users through rconsole command line

On 9/20/2011 7:26 AM, robbiecookie101 wrote:
>
> Hi there,
>
> Is there any way of creating users via command line? we would like to
> be able to create a script to recreate all our users and if possible all
> there rights for DR purposes.
>
> Thanks
>
> Robbie
>
>

you might want to check into ICE (Import Convert Export) Wizard in
iManager under directory maintenance. I think it might be able to
accomplish this task.
0 Likes
Highlighted
Absent Member.
Absent Member.

Re: Create new users through rconsole command line

Surely a proper backup regime is a better way of preparing for a disaster? Data, eDir and file system trusteeships can all be backed up and kept off-site.

Andrew C Taubman (Sorry, support is not provided via e-mail) Opinions expressed above are not necessarily those of Micro Focus.
0 Likes
Highlighted
Absent Member.
Absent Member.

Re: Create new users through rconsole command line

You can do that using LDIF (text file) via LDAP (ie via ldapmodify,
ldapadd, or ICE [from Novell]) or uimport if you had NetWare 5 or know
someone that does/did.


--


Peter
eDirectory Rules!
http://www.DreamLAN.com
0 Likes
Highlighted
Absent Member.
Absent Member.

Re: Create new users through rconsole command line

You use only one server? If there are more, eDirectory is replicated to at least three machines. This will not protect from deleting the wrong objects (cause this is replicated to all), but from
loosing eDirectory because one server crashes unrecoverable.

--

This is neither recommended nor comparable to backup solutions, but an option for DR purposes. Use it very careful and try the restore only in case of emergency. Be shure you understand
this procedure. The restore procedure is intended to be done by Novell, but with the undocumented -$DU switch you may do it by yourself.

Read and understand this Restoring eDirectory with Dsrepair -rc and Dsrepair -$du | Novell User Communities before following my hint.

--

Use 'dsrepair -rc' for dumping the whole dib. Restoring the dib is possible with 'dsrepair -$DU'.

--
This will 'clone' the whole dib, not just the users. Objects like e.g. servers, the KAP, LDAPgroups and so on are included.
In some of our branch offices, when backup fails because of dead hardware, I use this as a temporary solution, scheduled by cron.nlm. The different dib sets then are rsynched to an central repository where TSM backs them up.

Tom
0 Likes
Highlighted
Knowledge Partner
Knowledge Partner

Re: Create new users through rconsole command line

On Thu, 29 Sep 2011 09:16:02 +0000, bwisupport wrote:

> Read and understand this 'Restoring eDirectory with Dsrepair -rc and
> Dsrepair -$du | Novell User Communities'
> (http://www.novell.com/communities/node/3262/restoring-edirectory-with-

dsrepair-rc-and-dsrepair-du)
> before following my hint.



Frankly, this is a really bad idea to recommend as a first line of
defense. You would be far better off using the documented backup and
restore capabilities. See:

http://www.novell.com/communities/node/11648/edirectory-disaster-recovery


--
---------------------------------------------------------------------------
David Gersic dgersic_@_niu.edu
Novell Knowledge Partner http://forums.novell.com

Please post questions in the newsgroups. No support provided via email.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.