[389-users] db2ldif as non root user

Rich Megginson rmeggins at redhat.com
Mon Oct 12 15:51:29 UTC 2009


Mitja Mihelič wrote:
> Greetings all fellow Fedora Directory Server users!
>
>
> Is it possible to dump the database to an LDIF file as a non-root user ?
>
> I have no problem doing this as root.
>
> I would like to run
> /usr/lib/dirsrv/slapd-example/db2ldif -a /tmp/dbdump.ldif -n userRoot
> from a remote machine via ssh and I would really like to avoid 
> connecting to the machine as root.
>
> Has anyone had any experience in doing this if it is at all possible ?
You can also use the task interface to invoke this task via LDAP 
remotely.  See /usr/lib/dirsrv/slapd-example/db2ldif.pl for more 
information.
>
> Thank you.
>
> -- 
> 389 users mailing list
> 389-users at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-directory-users


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3258 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-directory-users/attachments/20091012/1c1feb4d/attachment.bin>


More information about the Fedora-directory-users mailing list